diff options
author | Simon Howard | 2010-09-07 18:15:06 +0000 |
---|---|---|
committer | Simon Howard | 2010-09-07 18:15:06 +0000 |
commit | 07c997d600f3242503b3ae3e7505ed3318aa41ea (patch) | |
tree | ebb5db2a3f0b37b7aa080892cde574fbada91004 /src/setup/mode.c | |
parent | 5ac790ac6430c6b353909caf43194888f2d4adb3 (diff) | |
download | chocolate-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.c | 11 |
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(); |