added GAME_DARSANA and GAME_CONTAGIONTHEORY
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 19 Sep 2006 05:12:07 +0000 (05:12 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 19 Sep 2006 05:12:07 +0000 (05:12 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6593 d7cf8633-e32d-0410-b094-e92efae38249

common.c
common.h

index 21c0eb6..ed92588 100644 (file)
--- a/common.c
+++ b/common.c
@@ -970,6 +970,12 @@ static const gamemode_info_t gamemode_info [] =
 // GAME_DEFEATINDETAIL2
 // COMMANDLINEOPTION: Game: -did2 runs the game Defeat In Detail 2
 { "did2",                      "-did2",                "Defeat In Detail 2",   "data",         NULL,                   "did2_",                "did2" },
+// GAME_DARSANA
+// COMMANDLINEOPTION: Game: -darsana runs the game Darsana
+{ "darsana",           "-darsana",     "Darsana",                      "ddata",        NULL,                   "darsana",                      "darsana" },
+// GAME_CONTAGIONTHEORY
+// COMMANDLINEOPTION: Game: -contagiontheory runs the game Contagion Theory
+{ "contagiontheory",           "-contagiontheory",     "Contagion Theory",                     "ctdata",       NULL,                   "ct",                   "contagiontheory" },
 };
 
 void COM_InitGameType (void)
index 0cb18bf..485d3eb 100644 (file)
--- a/common.h
+++ b/common.h
@@ -267,6 +267,8 @@ typedef enum gamemode_e
        GAME_NETHERWORLD,
        GAME_THEHUNTED,
        GAME_DEFEATINDETAIL2,
+       GAME_DARSANA,
+       GAME_CONTAGIONTHEORY,
 }
 gamemode_t;