From e79d830deb00da60bb81a4531dda546426cfe29a Mon Sep 17 00:00:00 2001 From: hendricks266 Date: Mon, 19 Jun 2017 23:06:07 +0000 Subject: [PATCH] Clean up episodes, skills, and game modes in standalone builds. git-svn-id: https://svn.eduke32.com/eduke32@6192 1a8010ca-5511-0410-912e-c29ae57300e0 --- source/duke3d/src/global.cpp | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/source/duke3d/src/global.cpp b/source/duke3d/src/global.cpp index f22918842..f6a6df70a 100644 --- a/source/duke3d/src/global.cpp +++ b/source/duke3d/src/global.cpp @@ -32,11 +32,19 @@ const char *s_buildDate = "20120522"; extern "C" { #endif +#ifndef EDUKE32_STANDALONE char g_volumeNames[MAXVOLUMES][33] = { "L.A. Meltdown", "Lunar Apocalypse", "Shrapnel City" }; -int32_t g_volumeFlags[MAXVOLUMES]; // all initialize to zero char g_skillNames[MAXSKILLS][33] = { "Piece Of Cake", "Let's Rock", "Come Get Some", "Damn I'm Good" }; char g_gametypeNames[MAXGAMETYPES][33] = { "DukeMatch (Spawn)", "Cooperative Play", "DukeMatch (No Spawn)", "Team DM (Spawn)", "Team DM (No Spawn)" }; +#else +char g_volumeNames[MAXVOLUMES][33]; +char g_skillNames[MAXSKILLS][33]; +char g_gametypeNames[MAXGAMETYPES][33] += { "Deathmatch (Spawn)", "Cooperative Play", "Deathmatch (No Spawn)", "Team DM (Spawn)", "Team DM (No Spawn)" }; +#endif + +int32_t g_volumeFlags[MAXVOLUMES]; int32_t g_gametypeFlags[MAXGAMETYPES] = {