mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2024-11-10 07:21:58 +00:00
common.c, common.h: added check for '-fitz' command line switch which, if true,
makes quakespasm to run in fitzquake mode and disable custom quakespasm hacks. git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@47 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
parent
0dce9ae100
commit
44ad29724b
2 changed files with 9 additions and 0 deletions
|
@ -43,6 +43,8 @@ int static_registered = 1; // only for startup check, then set
|
|||
|
||||
qboolean msg_suppress_1 = 0;
|
||||
|
||||
qboolean fitzmode;
|
||||
|
||||
void COM_InitFilesystem (void);
|
||||
|
||||
// if a packfile directory differs from this, it is assumed to be hacked
|
||||
|
@ -1232,6 +1234,9 @@ void COM_Init (char *basedir)
|
|||
COM_InitFilesystem ();
|
||||
COM_CheckRegistered ();
|
||||
|
||||
if (COM_CheckParm("-fitz"))
|
||||
fitzmode = true;
|
||||
|
||||
#ifdef _DEBUG
|
||||
Cmd_AddCommand ("test", Test_f); //johnfitz
|
||||
#endif
|
||||
|
|
|
@ -185,3 +185,7 @@ void COM_LoadCacheFile (char *path, struct cache_user_s *cu);
|
|||
extern struct cvar_s registered;
|
||||
|
||||
extern qboolean standard_quake, rogue, hipnotic;
|
||||
|
||||
extern qboolean fitzmode;
|
||||
// if true, runs in fitzquake mode and disabling custom quakespasm hacks.
|
||||
|
||||
|
|
Loading…
Reference in a new issue