Move GfxSkipHiresFNT to CArg
This commit is contained in:
parent
23bb4c5826
commit
bb3a386b47
|
@ -72,6 +72,7 @@ struct CArg : prohibit_void_ptr<CArg>
|
|||
bool SysNoHogDir;
|
||||
#endif
|
||||
bool SysShowCmdHelp;
|
||||
bool GfxSkipHiresFNT;
|
||||
bool SndNoSound;
|
||||
#ifdef USE_SDLMIXER
|
||||
bool SndDisableSdlMixer;
|
||||
|
@ -115,7 +116,6 @@ struct Arg : prohibit_void_ptr<Arg>
|
|||
bool SysNoTitles;
|
||||
bool SysAutoDemo;
|
||||
bool SndNoMusic;
|
||||
bool GfxSkipHiresFNT;
|
||||
#ifdef DXX_BUILD_DESCENT_I
|
||||
bool EdiNoBm;
|
||||
#endif
|
||||
|
|
|
@ -174,7 +174,7 @@ void gamefont_init()
|
|||
for (int i=0;i<MAX_FONTS;i++){
|
||||
Gamefonts[i]=NULL;
|
||||
|
||||
if (!GameArg.GfxSkipHiresFNT)
|
||||
if (!CGameArg.GfxSkipHiresFNT)
|
||||
addfontconf(i,640,480,Gamefont_filenames_h[i]); // ZICO - addition to use D2 fonts if available
|
||||
#if defined(DXX_BUILD_DESCENT_I)
|
||||
if (MacHog && (i != 0))
|
||||
|
|
|
@ -274,7 +274,7 @@ static void ReadCmdArgs(Inilist &ini, Arglist &Args)
|
|||
// Graphics Options
|
||||
|
||||
else if (!d_stricmp(p, "-lowresfont"))
|
||||
GameArg.GfxSkipHiresFNT = 1;
|
||||
CGameArg.GfxSkipHiresFNT = true;
|
||||
#if defined(DXX_BUILD_DESCENT_II)
|
||||
else if (!d_stricmp(p, "-lowresgraphics"))
|
||||
GameArg.GfxSkipHiresGFX = 1;
|
||||
|
|
Loading…
Reference in a new issue