- Added support for defining the full color range of a special colormap.
SVN r1865 (trunk)
This commit is contained in:
parent
79298285f7
commit
84a018f05a
23 changed files with 113 additions and 108 deletions
|
|
@ -1823,10 +1823,6 @@ void R_DrawRemainingPlayerSprites()
|
|||
{
|
||||
// Yuck! There needs to be a better way to store colormaps in the vissprite... :(
|
||||
ptrdiff_t specialmap = (vis->colormap - SpecialColormaps[0].Colormap) / sizeof(FSpecialColormap);
|
||||
if (SpecialColormaps[specialmap].Inverted)
|
||||
{
|
||||
vis->RenderStyle.Flags ^= STYLEF_InvertSource;
|
||||
}
|
||||
special = &SpecialColormaps[specialmap];
|
||||
}
|
||||
else if (colormap->Color == PalEntry(255,255,255) &&
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue