From: cloudwalk Date: Wed, 23 Dec 2020 18:27:48 +0000 (+0000) Subject: com_game: Add GAME_BATTLEMETAL X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=af5f0096b11cd8762139a19ee4c448fe39edb442;p=xonotic%2Fdarkplaces.git com_game: Add GAME_BATTLEMETAL https://store.steampowered.com/app/1447830/battleMETAL/ git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@13078 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/com_game.c b/com_game.c index 29446b9c..8216bafe 100644 --- a/com_game.c +++ b/com_game.c @@ -87,6 +87,7 @@ static const gamemode_info_t gamemode_info [GAME_COUNT] = { GAME_MOONHELM, GAME_MOONHELM, "moonhelm", "-moonhelm", "MoonHelm", "MoonHelm", "data", NULL, "mh", "moonhelm" }, // COMMANDLINEOPTION: Game: -moonhelm runs the game MoonHelm { GAME_VORETOURNAMENT, GAME_VORETOURNAMENT, "voretournament", "-voretournament", "Vore Tournament", "Vore_Tournament", "data", NULL, "voretournament", "voretournament" }, // COMMANDLINEOPTION: Game: -voretournament runs the multiplayer game Vore Tournament { GAME_DOOMBRINGER, GAME_DOOMBRINGER, "doombringer", "-doombringer", "DOOMBRINGER", "DOOMBRINGER", "dbdata", NULL, "doombringer", "doombringer" }, // COMMANDLINEOPTION: Game: -doombringer runs the game DOOMBRINGER +{ GAME_BATTLEMETAL, GAME_NORMAL, "battlemetal", "-battlemetal", "battlemetal", "battlemetal", "metaldata", NULL, "battlemetal", "battlemetal" }, // COMMANDLINEOPTION: Game: -battlemetal runs the game battleMETAL }; static void COM_SetGameType(int index); diff --git a/common.h b/common.h index 24619a14..834baeee 100644 --- a/common.h +++ b/common.h @@ -298,6 +298,7 @@ typedef enum gamemode_e GAME_MOONHELM, GAME_VORETOURNAMENT, GAME_DOOMBRINGER, // added by Cloudwalk for kristus + GAME_BATTLEMETAL, // added by Cloudwalk for Subject9x GAME_COUNT } gamemode_t;