palette_complete[255] = 0; // completely transparent black
// FIXME: fullbright_start should be read from colormap.lmp
- colormap = FS_LoadFile("gfx/colormap.lmp", true);
+ colormap = FS_LoadFile("gfx/colormap.lmp", tempmempool, true);
if (colormap && fs_filesize >= 16385)
fullbright_start = 256 - colormap[16384];
else
float gamma, scale, base;
qbyte *pal;
qbyte temp[256];
- pal = (qbyte *)FS_LoadFile ("gfx/palette.lmp", false);
+ pal = (qbyte *)FS_LoadFile ("gfx/palette.lmp", tempmempool, false);
if (pal && fs_filesize >= 768)
{
memcpy(host_basepal, pal, 765);
}
else
{
- Con_DPrintf("Couldn't load gfx/palette.lmp, falling back on internal palette\n");
+ Con_DPrint("Couldn't load gfx/palette.lmp, falling back on internal palette\n");
memcpy(host_basepal, host_quakepal, 765);
}
host_basepal[765] = host_basepal[766] = host_basepal[767] = 0; // LordHavoc: force the transparent color to black