diff options
Diffstat (limited to 'src/setup/mode.c')
-rw-r--r-- | src/setup/mode.c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/setup/mode.c b/src/setup/mode.c index 702db67d..3852db25 100644 --- a/src/setup/mode.c +++ b/src/setup/mode.c @@ -91,6 +91,15 @@ static mission_config_t mission_configs[] = "hexen.cfg", PROGRAM_PREFIX "hexen.cfg", PROGRAM_PREFIX "hexen" + }, + { + "Strife", + strife, + IWAD_MASK_STRIFE, + "strife", + "strife.cfg", + PROGRAM_PREFIX "strife.cfg", + PROGRAM_PREFIX "strife" } }; @@ -103,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) { @@ -119,6 +129,11 @@ static void BindMiscVariables(void) M_BindVariable("savedir", &savedir); M_BindVariable("messageson", &showMessages); } + + if (gamemission == strife) + { + M_BindVariable("back_flat", &back_flat); + } } // @@ -146,6 +161,11 @@ void InitBindings(void) M_BindHexenControls(); } + if (gamemission == strife) + { + M_BindStrifeControls(); + } + // All other variables BindCompatibilityVariables(); |