- moved the backdrop for the player box into the texture manager so that the menu doesn't have to bother with managing the texture itself.

This commit is contained in:
Christoph Oelckers 2017-02-10 14:07:21 +01:00
commit 65174af544
4 changed files with 362 additions and 302 deletions

View file

@ -976,6 +976,7 @@ void FTextureManager::SortTexturesByType(int start, int end)
// FTextureManager :: Init
//
//==========================================================================
FTexture *GetBackdropTexture();
void FTextureManager::Init()
{
@ -987,6 +988,7 @@ void FTextureManager::Init()
// Texture 0 is a dummy texture used to indicate "no texture"
AddTexture (new FDummyTexture);
AddTexture(GetBackdropTexture());
int wadcnt = Wads.GetNumWads();
for(int i = 0; i< wadcnt; i++)