From a5645333043b2dd792741bbce9d89ac7efed4940 Mon Sep 17 00:00:00 2001 From: havoc Date: Thu, 20 May 2004 23:24:41 +0000 Subject: [PATCH] added GAME_NEOTERIC git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4209 d7cf8633-e32d-0410-b094-e92efae38249 --- common.c | 9 +++++++++ common.h | 1 + 2 files changed, 10 insertions(+) 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; -- 2.39.2