- Added Skulltag's REDMAP and GREENMAP.
- Fixed: The PlayerSpeedTrail must copy the player's scaling information (from Skulltag) - Added r_maxparticles CVAR from Skulltag. - Changed PCX loader so that it always loads the last 768 bytes of 8 bit graphics as a palette SVN r447 (trunk)
This commit is contained in:
parent
82ba0fb189
commit
1cd8370327
10 changed files with 115 additions and 9 deletions
|
|
@ -360,8 +360,9 @@ void FPCXTexture::MakeTexture()
|
|||
BYTE c;
|
||||
lump.Seek(-769, SEEK_END);
|
||||
lump >> c;
|
||||
if (c !=0x0c) memcpy(PaletteMap, GrayMap, 256); // Fallback for files without palette
|
||||
else for(int i=0;i<256;i++)
|
||||
//if (c !=0x0c) memcpy(PaletteMap, GrayMap, 256); // Fallback for files without palette
|
||||
//else
|
||||
for(int i=0;i<256;i++)
|
||||
{
|
||||
BYTE r,g,b;
|
||||
lump >> r >> g >> b;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue