- switched the entire status bar code to use FGameTexture.
- scale the automap parchment to clean 320x200 dimensions.
This commit is contained in:
parent
5d8adb90c4
commit
c7db5b932e
16 changed files with 129 additions and 105 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue