support rogue and hypnotic

This commit is contained in:
Bill Currie 2000-08-28 02:29:43 +00:00
parent 53ddca7a8e
commit 76e84b6995
3 changed files with 17 additions and 1 deletions

View file

@ -183,7 +183,7 @@ extern int current_skill; // skill level for currently loaded level (in case
// running, this reflects the level actually in use)
extern qboolean isDedicated;
extern qboolean rogue, hipnotic;
extern qboolean rogue, hipnotic, standard_quake;
extern cvar_t *registered;
#endif // __qdefs_h

View file

@ -134,6 +134,18 @@ void COM_InitArgv (int argc, char **argv)
largv[com_argc] = argvdummy;
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
if (COM_CheckParm ("-nouse"))
{

View file

@ -903,6 +903,10 @@ COM_InitFilesystem ( void )
COM_CreatePath (va("%s/%s/dummy", fs_userpath->string,
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
com_base_searchpaths = com_searchpaths;