From: havoc Date: Thu, 20 May 2004 23:24:41 +0000 (+0000) Subject: added GAME_NEOTERIC X-Git-Tag: xonotic-v0.1.0preview~5843 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=a5645333043b2dd792741bbce9d89ac7efed4940;p=xonotic%2Fdarkplaces.git added GAME_NEOTERIC git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4209 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/common.c b/common.c index add4401a..f91b2d98 100644 --- a/common.c +++ b/common.c @@ -740,6 +740,8 @@ void COM_InitGameType (void) gamemode = GAME_SOM; else if (strstr(name, "tenebrae")) gamemode = GAME_TENEBRAE; + else if (strstr(name, "neoteric")) + gamemode = GAME_NEOTERIC; else gamemode = GAME_NORMAL; @@ -771,6 +773,8 @@ void COM_InitGameType (void) gamemode = GAME_SOM; else if (COM_CheckParm ("-tenebrae")) gamemode = GAME_TENEBRAE; + else if (COM_CheckParm ("-neoteric")) + gamemode = GAME_NEOTERIC; switch(gamemode) { @@ -844,6 +848,11 @@ void COM_InitGameType (void) gamedirname = "tenebrae"; gamescreenshotname = "dp"; break; + case GAME_NEOTERIC: + gamename = "Neoteric"; + gamedirname = "neobase"; + gamescreenshotname = "neo"; + break; default: Sys_Error("COM_InitGameType: unknown gamemode %i\n", gamemode); break; diff --git a/common.h b/common.h index d2ed7aee..5058c0d6 100644 --- a/common.h +++ b/common.h @@ -184,6 +184,7 @@ extern struct cvar_s cmdline; #define GAME_SETHERAL 11 #define GAME_SOM 12 #define GAME_TENEBRAE 13 // full of evil hackery +#define GAME_NEOTERIC 14 extern int gamemode; extern char *gamename;