- Added a "BlueMap" for powerup colors.
- Add the missing CF_WEAPONREADYALT and CF_WEAPONSWITCHOK flags. SVN r1723 (trunk)
This commit is contained in:
parent
aaf19b9127
commit
720747baef
10 changed files with 42 additions and 9 deletions
|
|
@ -66,6 +66,7 @@ BYTE GoldColormap[256];
|
|||
// [BC] New Skulltag colormaps.
|
||||
BYTE RedColormap[256];
|
||||
BYTE GreenColormap[256];
|
||||
BYTE BlueColormap[256];
|
||||
BYTE DesaturateColormap[31][256];
|
||||
|
||||
static void FreeSpecialLights();;
|
||||
|
|
@ -435,6 +436,17 @@ void InitPalette ()
|
|||
intensity>>8 );
|
||||
}
|
||||
|
||||
// Build a blue colormap.
|
||||
shade = BlueColormap;
|
||||
for (c = 0; c < 256; c++)
|
||||
{
|
||||
intensity = ((GPalette.BaseColors[c].r * 77 +
|
||||
GPalette.BaseColors[c].g * 143 +
|
||||
GPalette.BaseColors[c].b * 37));
|
||||
shade[c] = ColorMatcher.Pick (
|
||||
MIN( 255, ( intensity + ( intensity / 2 )) >> 8 ), 0, 0 );
|
||||
}
|
||||
|
||||
// desaturated colormaps
|
||||
for(int m = 0; m < 31; m++)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue