diff options
author | Simon Howard | 2011-03-07 00:01:40 +0000 |
---|---|---|
committer | Simon Howard | 2011-03-07 00:01:40 +0000 |
commit | 4755980aed7173227e876602ce78cf31bbb97118 (patch) | |
tree | 62ecc44a3cad9ecae44f252d8da5e68ca1de701e /src/setup/mode.c | |
parent | 43e82bdf93c0c3971767a63072db5b0080c2f6c6 (diff) | |
download | chocolate-doom-4755980aed7173227e876602ce78cf31bbb97118.tar.gz chocolate-doom-4755980aed7173227e876602ce78cf31bbb97118.tar.bz2 chocolate-doom-4755980aed7173227e876602ce78cf31bbb97118.zip |
Update config variable binding in setup tool so that the correct
variables are bound for Strife. Add option for show_talk to sound
configuration screen.
Subversion-branch: /branches/strife-branch
Subversion-revision: 2296
Diffstat (limited to 'src/setup/mode.c')
-rw-r--r-- | src/setup/mode.c | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/src/setup/mode.c b/src/setup/mode.c index 3852db25..53a74314 100644 --- a/src/setup/mode.c +++ b/src/setup/mode.c @@ -113,11 +113,11 @@ static int detailLevel = 0; static char *savedir = NULL; static char *executable = NULL; static char *back_flat = "F_PAVE01"; +static int comport = 0; +static char *nickname = NULL; static void BindMiscVariables(void) { - M_BindVariable("screenblocks", &screenblocks); - if (gamemission == doom) { M_BindVariable("detaillevel", &detailLevel); @@ -133,7 +133,15 @@ static void BindMiscVariables(void) if (gamemission == strife) { M_BindVariable("back_flat", &back_flat); + M_BindVariable("screensize" , &screenblocks); + M_BindVariable("comport", &comport); + M_BindVariable("nickname", &nickname); + } + else + { + M_BindVariable("screenblocks", &screenblocks); } + } // |