summaryrefslogtreecommitdiff
path: root/src/strife/d_main.c
diff options
context:
space:
mode:
authorSimon Howard2011-03-06 23:43:29 +0000
committerSimon Howard2011-03-06 23:43:29 +0000
commit43e82bdf93c0c3971767a63072db5b0080c2f6c6 (patch)
tree5f65bea792fe5879fdb3107a8ac07f2e20935a23 /src/strife/d_main.c
parent07bb5a69ef9f1240bf887585aa7162d854368d03 (diff)
downloadchocolate-doom-43e82bdf93c0c3971767a63072db5b0080c2f6c6.tar.gz
chocolate-doom-43e82bdf93c0c3971767a63072db5b0080c2f6c6.tar.bz2
chocolate-doom-43e82bdf93c0c3971767a63072db5b0080c2f6c6.zip
Fix up config file variables to match Vanilla.
Subversion-branch: /branches/strife-branch Subversion-revision: 2295
Diffstat (limited to 'src/strife/d_main.c')
-rw-r--r--src/strife/d_main.c23
1 files changed, 19 insertions, 4 deletions
diff --git a/src/strife/d_main.c b/src/strife/d_main.c
index 663d2028..635711e4 100644
--- a/src/strife/d_main.c
+++ b/src/strife/d_main.c
@@ -149,6 +149,14 @@ char mapdir[1024]; // directory of development maps
int show_endoom = 1;
+// fraggle 06/03/11 [STRIFE]: Unused config variable, preserved
+// for compatibility:
+
+static int comport = 0;
+
+// fraggle 06/03/11 [STRIFE]: Multiplayer nickname?
+
+static char *nickname = NULL;
void D_CheckNetGame (void);
void D_ProcessEvents (void);
@@ -416,20 +424,27 @@ void D_BindVariables(void)
// * Added voice volume
// * Added back flat
// * Removed show_messages
- // * Added show_text
+ // * Added show_talk
+ // fraggle 03/06/10: [STRIFE]
+ // * Removed detailLevel
+ // * screenblocks -> screensize
+ // * Added nickname, comport
+
M_BindVariable("mouse_sensitivity", &mouseSensitivity);
M_BindVariable("sfx_volume", &sfxVolume);
M_BindVariable("music_volume", &musicVolume);
M_BindVariable("voice_volume", &voiceVolume);
- M_BindVariable("show_text", &dialogshowtext);
- M_BindVariable("screenblocks", &screenblocks);
- M_BindVariable("detaillevel", &detailLevel);
+ M_BindVariable("show_talk", &dialogshowtext);
+ M_BindVariable("screensize", &screenblocks);
M_BindVariable("snd_channels", &snd_channels);
M_BindVariable("vanilla_savegame_limit", &vanilla_savegame_limit);
M_BindVariable("vanilla_demo_limit", &vanilla_demo_limit);
M_BindVariable("show_endoom", &show_endoom);
M_BindVariable("back_flat", &back_flat);
+ M_BindVariable("nickname", &nickname);
+ M_BindVariable("comport", &comport);
+
// Multiplayer chat macros
for (i=0; i<10; ++i)