- moved special color maps to utilities.
The default tables are needed by the texture compositor which should be universal, so this needs to be, too.
This commit is contained in:
parent
db62aeb671
commit
7243495b16
10 changed files with 197 additions and 155 deletions
|
|
@ -1276,7 +1276,7 @@ DEFINE_CLASS_PROPERTY_PREFIX(powerup, colormap, FFFfff, Inventory)
|
|||
PROP_FLOAT_PARM(r, 0);
|
||||
PROP_FLOAT_PARM(g, 1);
|
||||
PROP_FLOAT_PARM(b, 2);
|
||||
BlendColor = MakeSpecialColormap(AddSpecialColormap(0, 0, 0, r, g, b));
|
||||
BlendColor = MakeSpecialColormap(AddSpecialColormap(GPalette.BaseColors, 0, 0, 0, r, g, b));
|
||||
}
|
||||
else if (PROP_PARM_COUNT == 6)
|
||||
{
|
||||
|
|
@ -1286,7 +1286,7 @@ DEFINE_CLASS_PROPERTY_PREFIX(powerup, colormap, FFFfff, Inventory)
|
|||
PROP_FLOAT_PARM(r2, 3);
|
||||
PROP_FLOAT_PARM(g2, 4);
|
||||
PROP_FLOAT_PARM(b2, 5);
|
||||
BlendColor = MakeSpecialColormap(AddSpecialColormap(r1, g1, b1, r2, g2, b2));
|
||||
BlendColor = MakeSpecialColormap(AddSpecialColormap(GPalette.BaseColors, r1, g1, b1, r2, g2, b2));
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue