]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - common.c
added GAME_THEHUNTED
[xonotic/darkplaces.git] / common.c
index 09acf5820d23663fd02ada794ef9f0b42c6d1a11..572c2b11364974ba0e7b3ad472f7317f99ee9ef6 100644 (file)
--- a/common.c
+++ b/common.c
@@ -40,7 +40,7 @@ const char **com_argv;
 #define CMDLINE_LENGTH 1024
 char com_cmdline[CMDLINE_LENGTH];
 
-int gamemode;
+gamemode_t gamemode;
 const char *gamename;
 const char *gamedirname1;
 const char *gamedirname2;
@@ -982,6 +982,9 @@ static const gamemode_info_t gamemode_info [] =
 // GAME_NETHERWORLD
 // COMMANDLINEOPTION: Game: -netherworld runs the game Netherworld: Dark Masters
 { "netherworld",       "-netherworld", "Dark Masters",                 "id1",          "netherworld",  "nw",                   "darkplaces"},
+// GAME_THEHUNTED
+// COMMANDLINEOPTION: Game: -netherworld runs the game The Hunted
+{ "thehunted",         "-thehunted",   "The Hunted",                   "thdata",       NULL,                   "th",                   "thehunted"},
 };
 
 void COM_InitGameType (void)