summaryrefslogtreecommitdiff
path: root/src/m_config.c
diff options
context:
space:
mode:
authorSimon Howard2008-10-08 18:47:13 +0000
committerSimon Howard2008-10-08 18:47:13 +0000
commitd4d0f9945cefdb86241b5bd095e82ddbfca0e134 (patch)
tree177a0c2415b26b3b16077993399760de417190c7 /src/m_config.c
parentdc7d72797f1d6810b8ba2f8472f6828f1f714df6 (diff)
downloadchocolate-doom-d4d0f9945cefdb86241b5bd095e82ddbfca0e134.tar.gz
chocolate-doom-d4d0f9945cefdb86241b5bd095e82ddbfca0e134.tar.bz2
chocolate-doom-d4d0f9945cefdb86241b5bd095e82ddbfca0e134.zip
Switch configuration file code to common configuration file code, and
remove old code. Subversion-branch: /branches/raven-branch Subversion-revision: 1338
Diffstat (limited to 'src/m_config.c')
-rw-r--r--src/m_config.c32
1 files changed, 32 insertions, 0 deletions
diff --git a/src/m_config.c b/src/m_config.c
index b036121c..69cd3b16 100644
--- a/src/m_config.c
+++ b/src/m_config.c
@@ -179,6 +179,12 @@ static default_t doom_defaults_list[] =
CONFIG_VARIABLE_KEY(key_straferight),
//!
+ // Keyboard key to jump.
+ //
+
+ CONFIG_VARIABLE_KEY(key_jump),
+
+ //!
// Keyboard key to fly upward.
//
@@ -285,6 +291,12 @@ static default_t doom_defaults_list[] =
CONFIG_VARIABLE_INT(mouseb_forward),
//!
+ // Mouse button to jump.
+ //
+
+ CONFIG_VARIABLE_INT(mouseb_jump),
+
+ //!
// If non-zero, joystick input is enabled.
//
@@ -317,6 +329,12 @@ static default_t doom_defaults_list[] =
CONFIG_VARIABLE_INT(joyb_speed),
//!
+ // Joystick button to jump.
+ //
+
+ CONFIG_VARIABLE_INT(joyb_jump),
+
+ //!
// Screen size, range 3-11.
//
// A value of 11 gives a full-screen view with the status bar not
@@ -388,6 +406,20 @@ static default_t doom_defaults_list[] =
CONFIG_VARIABLE_INT(usegamma),
//!
+ // Directory in which to store savegames.
+ //
+
+ CONFIG_VARIABLE_STRING(savedir),
+
+ //!
+ // Controls whether messages are displayed in the heads-up display.
+ // If this has a non-zero value, messages are displayed.
+ //
+
+ CONFIG_VARIABLE_INT(messageson),
+
+
+ //!
// Multiplayer chat macro: message to send when alt+0 is pressed.
//