Move DbgNoRun to CArg
This commit is contained in:
parent
ee98ef18f3
commit
45a287f44b
|
@ -106,6 +106,7 @@ struct CArg : prohibit_void_ptr<CArg>
|
|||
bool DbgSdlHWSurface;
|
||||
bool DbgSdlASyncBlit;
|
||||
#endif
|
||||
bool DbgNoRun;
|
||||
uint8_t DbgBpp;
|
||||
int8_t DbgVerbose;
|
||||
bool SysNoNiceFPS;
|
||||
|
@ -143,7 +144,6 @@ struct Arg : prohibit_void_ptr<Arg>
|
|||
bool EdiSaveHoardData;
|
||||
bool EdiMacData; // also used for some read routines in non-editor build
|
||||
#endif
|
||||
bool DbgNoRun;
|
||||
bool DbgRenderStats;
|
||||
std::string DbgAltTex;
|
||||
std::string DbgTexMap;
|
||||
|
|
|
@ -488,7 +488,7 @@ static int main(int argc, char *argv[])
|
|||
#endif
|
||||
#endif
|
||||
|
||||
if (GameArg.DbgNoRun)
|
||||
if (CGameArg.DbgNoRun)
|
||||
return(0);
|
||||
|
||||
con_printf( CON_DEBUG, "\nInitializing texture caching system..." );
|
||||
|
|
|
@ -352,7 +352,7 @@ static void ReadCmdArgs(Inilist &ini, Arglist &Args)
|
|||
else if (!d_stricmp(p, "-safelog"))
|
||||
CGameArg.DbgSafelog = true;
|
||||
else if (!d_stricmp(p, "-norun"))
|
||||
GameArg.DbgNoRun = 1;
|
||||
CGameArg.DbgNoRun = true;
|
||||
else if (!d_stricmp(p, "-renderstats"))
|
||||
GameArg.DbgRenderStats = 1;
|
||||
else if (!d_stricmp(p, "-text"))
|
||||
|
|
Loading…
Reference in a new issue