- moved some data needed by the texture system into palettecontainer.cpp.

This commit is contained in:
Christoph Oelckers 2020-04-11 18:57:34 +02:00
commit 1ed170d955
16 changed files with 77 additions and 93 deletions

View file

@ -64,23 +64,6 @@ CUSTOM_CVAR(Int, r_spriteadjust, 2, CVAR_ARCHIVE | CVAR_GLOBALCONFIG)
TexMan.SpriteAdjustChanged();
}
//==========================================================================
//
//
//
//==========================================================================
uint8_t ImageHelpers::GrayMap[256];
void FTexture::InitGrayMap()
{
for (int i = 0; i < 256; ++i)
{
ImageHelpers::GrayMap[i] = ColorMatcher.Pick(i, i, i);
}
}
//==========================================================================
//
//