- added handlers to load Strife’s startup screen images as textures

This commit is contained in:
Christoph Oelckers 2022-05-03 00:04:28 +02:00
commit c86d9f60d0
2 changed files with 110 additions and 3 deletions

View file

@ -351,12 +351,12 @@ FImageSource * FImageSource::GetImage(int lumpnum, bool isflat)
{ StbImage_TryCreate, false },
{ TGAImage_TryCreate, false },
{ AnmImage_TryCreate, false },
{ StartupPageImage_TryCreate, false },
{ RawPageImage_TryCreate, false },
{ FlatImage_TryCreate, true }, // flat detection is not reliable, so only consider this for real flats.
{ PatchImage_TryCreate, false },
{ EmptyImage_TryCreate, false },
{ AutomapImage_TryCreate, false },
{ StartupPageImage_TryCreate, false },
};
if (lumpnum == -1) return nullptr;