summaryrefslogtreecommitdiff
path: root/src/setup/mode.c
diff options
context:
space:
mode:
authorSimon Howard2010-09-07 18:15:06 +0000
committerSimon Howard2010-09-07 18:15:06 +0000
commit07c997d600f3242503b3ae3e7505ed3318aa41ea (patch)
treeebb5db2a3f0b37b7aa080892cde574fbada91004 /src/setup/mode.c
parent5ac790ac6430c6b353909caf43194888f2d4adb3 (diff)
downloadchocolate-doom-07c997d600f3242503b3ae3e7505ed3318aa41ea.tar.gz
chocolate-doom-07c997d600f3242503b3ae3e7505ed3318aa41ea.tar.bz2
chocolate-doom-07c997d600f3242503b3ae3e7505ed3318aa41ea.zip
Bind appropriate configuration values for Strife in setup tool, and add
corresponding options to menus. Subversion-branch: /branches/strife-branch Subversion-revision: 2036
Diffstat (limited to 'src/setup/mode.c')
-rw-r--r--src/setup/mode.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/setup/mode.c b/src/setup/mode.c
index 978ac86f..3852db25 100644
--- a/src/setup/mode.c
+++ b/src/setup/mode.c
@@ -112,6 +112,7 @@ static int screenblocks = 9;
static int detailLevel = 0;
static char *savedir = NULL;
static char *executable = NULL;
+static char *back_flat = "F_PAVE01";
static void BindMiscVariables(void)
{
@@ -128,6 +129,11 @@ static void BindMiscVariables(void)
M_BindVariable("savedir", &savedir);
M_BindVariable("messageson", &showMessages);
}
+
+ if (gamemission == strife)
+ {
+ M_BindVariable("back_flat", &back_flat);
+ }
}
//
@@ -155,6 +161,11 @@ void InitBindings(void)
M_BindHexenControls();
}
+ if (gamemission == strife)
+ {
+ M_BindStrifeControls();
+ }
+
// All other variables
BindCompatibilityVariables();