From: havoc Date: Sun, 3 Feb 2008 11:13:29 +0000 (+0000) Subject: added GAME_BLADEMASTER X-Git-Tag: xonotic-v0.1.0preview~2449 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=0c2fe5508d2cbafb6d3d2d003c819e9d1b72c6f5;p=xonotic%2Fdarkplaces.git added GAME_BLADEMASTER git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8067 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/common.c b/common.c index e61c5dae..f5d4ba20 100644 --- a/common.c +++ b/common.c @@ -1417,8 +1417,8 @@ typedef struct gamemode_info_s const char* gameuserdirname; } gamemode_info_t; -static const gamemode_info_t gamemode_info [] = -{// prog_name cmdline gamename gamedirname gamescreenshotname +static const gamemode_info_t gamemode_info [GAME_COUNT] = +{// prog_name cmdline gamename basegame modgame screenshotprefix userdir // GAME_NORMAL // COMMANDLINEOPTION: Game: -quake runs the game Quake (default) @@ -1486,6 +1486,9 @@ static const gamemode_info_t gamemode_info [] = // GAME_EDU2P // COMMANDLINEOPTION: Game: -edu2p runs the game Edu2 prototype { "edu2p", "-edu2p", "EDU2 Prototype", "id1", "edu2", "edu2_p", "edu2prototype" }, +// GAME_BLADEMASTER +// COMMANDLINEOPTION: Game: -blademaster runs the game Prophecy: Return of the BladeMaster +{ "blademaster", "-blademaster", "Prophecy: Return of the BladeMaster", "basebm", NULL, "blademaster", "blademaster" }, }; void COM_InitGameType (void) diff --git a/common.h b/common.h index 52466fd6..d4649583 100644 --- a/common.h +++ b/common.h @@ -280,6 +280,9 @@ typedef enum gamemode_e GAME_DEFEATINDETAIL2, GAME_DARSANA, GAME_CONTAGIONTHEORY, + GAME_EDU2P, + GAME_BLADEMASTER, + GAME_COUNT } gamemode_t;