From 07c997d600f3242503b3ae3e7505ed3318aa41ea Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Tue, 7 Sep 2010 18:15:06 +0000 Subject: Bind appropriate configuration values for Strife in setup tool, and add corresponding options to menus. Subversion-branch: /branches/strife-branch Subversion-revision: 2036 --- src/setup/mode.c | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'src/setup/mode.c') 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(); -- cgit v1.2.3