]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - common.c
Adding GAME_XONOTIC and recognizing xonotic executable names
[xonotic/darkplaces.git] / common.c
index f3dd8e502dd8226dd2a72798d4f6415cf9fade5f..9615b5a76997f36ed419142af73ef0e9d28095be 100644 (file)
--- a/common.c
+++ b/common.c
@@ -1448,6 +1448,9 @@ static const gamemode_info_t gamemode_info [GAME_COUNT] =
 // GAME_NEXUIZ
 // COMMANDLINEOPTION: Game: -nexuiz runs the multiplayer game Nexuiz
 { "nexuiz",                    "-nexuiz",              "Nexuiz",                               "data",         NULL,                   "nexuiz",               "nexuiz" },
+// GAME_XONOTIC
+// COMMANDLINEOPTION: Game: -xonotic runs the multiplayer game Xonotic
+{ "xonotic",                   "-xonotic",             "Xonotic",                              "data",         NULL,                   "xonotic",              "xonotic" },
 // GAME_TRANSFUSION
 // COMMANDLINEOPTION: Game: -transfusion runs Transfusion (the recreation of Blood in Quake)
 { "transfusion",       "-transfusion", "Transfusion",                  "basetf",       NULL,                   "transfusion",  "transfusion" },