- implemented the regular Doom status bar.

The DOOM status bar and HUD are complete, except the inventory bar.
This commit is contained in:
Christoph Oelckers 2017-03-26 22:04:58 +02:00
commit e791c957d9
12 changed files with 131 additions and 100 deletions

View file

@ -2568,14 +2568,8 @@ void D_DoomMain (void)
P_SetupWeapons_ntohton();
//SBarInfo support.
// This needs special checking because there are two distinct methods of defining status bars.
// SBARINFO should only be picked if it is the most recently defined one, so that both
// methods can override each other if loaded in sequence.
if (gameinfo.statusbarfile > gameinfo.statusbarclassfile)
{
SBarInfo::Load();
}
//SBarInfo support. Note that the first SBARINFO lump contains the mugshot definition so it even needs to be read when a regular status bar is being used.
SBarInfo::Load();
HUD_InitHud();
if (!batchrun)