- switched the entire status bar code to use FGameTexture.

- scale the automap parchment to clean 320x200 dimensions.
This commit is contained in:
Christoph Oelckers 2020-04-14 00:55:16 +02:00
commit c7db5b932e
16 changed files with 129 additions and 105 deletions

View file

@ -72,11 +72,11 @@ void FImageCollection::Uninit ()
ImageMap.Clear();
}
FTexture *FImageCollection::operator[] (int index) const
FGameTexture *FImageCollection::operator[] (int index) const
{
if ((unsigned int)index >= ImageMap.Size())
{
return NULL;
}
return ImageMap[index].Exists()? TexMan.GetPalettedTexture(ImageMap[index], true) : NULL;
return ImageMap[index].Exists()? TexMan.GetGameTexture(ImageMap[index], true) : NULL;
}