mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-10 23:01:59 +00:00
- rename 'AlwaysCenterStatusBar' to 'FixUnityStatusBar', original name became a misnomer especially with updates that made it more specific in its use
This commit is contained in:
parent
c46dcd03a3
commit
b11298afd5
4 changed files with 10 additions and 10 deletions
|
@ -184,12 +184,12 @@ void FIWadManager::ParseIWadInfo(const char *fn, const char *data, int datasize,
|
|||
if (sc.Number) iwad->flags |= GI_IGNORETITLEPATCHES;
|
||||
else iwad->flags &= ~GI_IGNORETITLEPATCHES;
|
||||
}
|
||||
else if (sc.Compare("AlwaysCenterStatusBar"))
|
||||
else if (sc.Compare("FixUnityStatusBar"))
|
||||
{
|
||||
sc.MustGetStringName("=");
|
||||
sc.MustGetNumber();
|
||||
if (sc.Number) iwad->flags |= GI_ALWAYSCENTERSBAR;
|
||||
else iwad->flags &= ~GI_ALWAYSCENTERSBAR;
|
||||
if (sc.Number) iwad->flags |= GI_FIXUNITYSBAR;
|
||||
else iwad->flags &= ~GI_FIXUNITYSBAR;
|
||||
}
|
||||
else if (sc.Compare("Load"))
|
||||
{
|
||||
|
|
|
@ -2964,7 +2964,7 @@ static void CheckForHacks(BuildInfo& buildinfo)
|
|||
|
||||
static void FixUnityStatusBar()
|
||||
{
|
||||
if (gameinfo.flags & GI_ALWAYSCENTERSBAR)
|
||||
if (gameinfo.flags & GI_FIXUNITYSBAR)
|
||||
{
|
||||
FGameTexture* sbartex = TexMan.FindGameTexture("stbar", ETextureType::MiscPatch);
|
||||
|
||||
|
|
|
@ -50,7 +50,7 @@ enum
|
|||
GI_COMPATPOLY1 = 0x00000040, // Hexen's MAP36 needs old polyobject drawing
|
||||
GI_COMPATPOLY2 = 0x00000080, // so does HEXDD's MAP47
|
||||
GI_IGNORETITLEPATCHES = 0x00000200, // Ignore the map name graphics when not runnning in English language
|
||||
GI_ALWAYSCENTERSBAR = 0x00000400, // Always center the status bar
|
||||
GI_FIXUNITYSBAR = 0x00000400, // Center the status bar if it's too wide for a 320 screen
|
||||
};
|
||||
|
||||
#include "gametype.h"
|
||||
|
|
|
@ -351,7 +351,7 @@ IWad
|
|||
Load = "extras.wad", "soundtrack"
|
||||
BannerColors = "00 7c 00", "a8 a8 a8"
|
||||
IgnoreTitlePatches = 1
|
||||
AlwaysCenterStatusbar = 1
|
||||
FixUnityStatusBar = 1
|
||||
}
|
||||
|
||||
IWad
|
||||
|
@ -365,7 +365,7 @@ IWad
|
|||
MustContain = "SMOOSHED", "ANIMDEFS", "LANGUAGE", "MAPINFO", "ENDOOM", "M_DOOM", "TITLEPIC", "TEXTURES"
|
||||
BannerColors = "a8 00 00", "a8 a8 a8"
|
||||
IgnoreTitlePatches = 1
|
||||
AlwaysCenterStatusbar = 1
|
||||
FixUnityStatusBar = 1
|
||||
}
|
||||
|
||||
IWad
|
||||
|
@ -441,7 +441,7 @@ IWad
|
|||
MustContain = "MAP01", "REDTNT2", "DMAPINFO"
|
||||
BannerColors = "00 7c 00", "a8 a8 a8"
|
||||
IgnoreTitlePatches = 1
|
||||
AlwaysCenterStatusbar = 1
|
||||
FixUnityStatusBar = 1
|
||||
}
|
||||
|
||||
IWad
|
||||
|
@ -470,7 +470,7 @@ IWad
|
|||
MustContain = "MAP01", "CAMO1", "DMAPINFO"
|
||||
BannerColors = "00 7c 00", "a8 a8 a8"
|
||||
IgnoreTitlePatches = 1
|
||||
AlwaysCenterStatusbar = 1
|
||||
FixUnityStatusBar = 1
|
||||
}
|
||||
|
||||
IWad
|
||||
|
@ -515,7 +515,7 @@ IWad
|
|||
BannerColors = "00 7c 00", "a8 a8 a8"
|
||||
IgnoreTitlePatches = 1
|
||||
Load = "nerveunity.wad", "extras.wad", "soundtrack"
|
||||
AlwaysCenterStatusbar = 1
|
||||
FixUnityStatusBar = 1
|
||||
}
|
||||
|
||||
IWad
|
||||
|
|
Loading…
Reference in a new issue