mirror of
https://git.code.sf.net/p/quake/nuq
synced 2024-11-28 23:01:53 +00:00
support rogue and hypnotic
This commit is contained in:
parent
53ddca7a8e
commit
76e84b6995
3 changed files with 17 additions and 1 deletions
|
@ -183,7 +183,7 @@ extern int current_skill; // skill level for currently loaded level (in case
|
||||||
// running, this reflects the level actually in use)
|
// running, this reflects the level actually in use)
|
||||||
|
|
||||||
extern qboolean isDedicated;
|
extern qboolean isDedicated;
|
||||||
extern qboolean rogue, hipnotic;
|
extern qboolean rogue, hipnotic, standard_quake;
|
||||||
extern cvar_t *registered;
|
extern cvar_t *registered;
|
||||||
|
|
||||||
#endif // __qdefs_h
|
#endif // __qdefs_h
|
||||||
|
|
|
@ -134,6 +134,18 @@ void COM_InitArgv (int argc, char **argv)
|
||||||
largv[com_argc] = argvdummy;
|
largv[com_argc] = argvdummy;
|
||||||
com_argv = largv;
|
com_argv = largv;
|
||||||
|
|
||||||
|
if (COM_CheckParm ("-rogue"))
|
||||||
|
{
|
||||||
|
rogue = true;
|
||||||
|
standard_quake = false;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (COM_CheckParm ("-hipnotic"))
|
||||||
|
{
|
||||||
|
hipnotic = true;
|
||||||
|
standard_quake = false;
|
||||||
|
}
|
||||||
|
|
||||||
// 1999-10-29 +USE fix by Maddes start
|
// 1999-10-29 +USE fix by Maddes start
|
||||||
if (COM_CheckParm ("-nouse"))
|
if (COM_CheckParm ("-nouse"))
|
||||||
{
|
{
|
||||||
|
|
|
@ -903,6 +903,10 @@ COM_InitFilesystem ( void )
|
||||||
COM_CreatePath (va("%s/%s/dummy", fs_userpath->string,
|
COM_CreatePath (va("%s/%s/dummy", fs_userpath->string,
|
||||||
fs_basegame->string));
|
fs_basegame->string));
|
||||||
COM_AddGameDirectory(fs_basegame->string);
|
COM_AddGameDirectory(fs_basegame->string);
|
||||||
|
if (hipnotic)
|
||||||
|
COM_AddGameDirectory ("hipnotic");
|
||||||
|
if (rogue)
|
||||||
|
COM_AddGameDirectory ("rogue");
|
||||||
|
|
||||||
// any set gamedirs will be freed up to here
|
// any set gamedirs will be freed up to here
|
||||||
com_base_searchpaths = com_searchpaths;
|
com_base_searchpaths = com_searchpaths;
|
||||||
|
|
Loading…
Reference in a new issue