summaryrefslogtreecommitdiff
path: root/src/m_config.c
diff options
context:
space:
mode:
authorSimon Howard2008-09-23 17:54:13 +0000
committerSimon Howard2008-09-23 17:54:13 +0000
commit350fe185784d6d0350ed8b675630440ff425a6ca (patch)
tree2d5f3415d193bd72e72a0b0a435a6204f6be8477 /src/m_config.c
parent69b0c4526e6f2d6fe6920f1efa3b32e27b3db0bc (diff)
downloadchocolate-doom-350fe185784d6d0350ed8b675630440ff425a6ca.tar.gz
chocolate-doom-350fe185784d6d0350ed8b675630440ff425a6ca.tar.bz2
chocolate-doom-350fe185784d6d0350ed8b675630440ff425a6ca.zip
Add heretic key controls to config file list. Add key binding code to
heretic/d_main.c and change g_game.c to use the common definitions. Subversion-branch: /branches/raven-branch Subversion-revision: 1265
Diffstat (limited to 'src/m_config.c')
-rw-r--r--src/m_config.c54
1 files changed, 54 insertions, 0 deletions
diff --git a/src/m_config.c b/src/m_config.c
index 513c3a2c..a4451569 100644
--- a/src/m_config.c
+++ b/src/m_config.c
@@ -174,6 +174,60 @@ static default_t doom_defaults_list[] =
CONFIG_VARIABLE_KEY(key_straferight),
//!
+ // Keyboard key to fly upward.
+ //
+
+ CONFIG_VARIABLE_KEY(key_flyup),
+
+ //!
+ // Keyboard key to fly downwards.
+ //
+
+ CONFIG_VARIABLE_KEY(key_flydown),
+
+ //!
+ // Keyboard key to center flying.
+ //
+
+ CONFIG_VARIABLE_KEY(key_flycenter),
+
+ //!
+ // Keyboard key to look up.
+ //
+
+ CONFIG_VARIABLE_KEY(key_lookup),
+
+ //!
+ // Keyboard key to look down.
+ //
+
+ CONFIG_VARIABLE_KEY(key_lookdown),
+
+ //!
+ // Keyboard key to center the view.
+ //
+
+ CONFIG_VARIABLE_KEY(key_lookcenter),
+
+ //!
+ // Keyboard key to scroll left in the inventory.
+ //
+
+ CONFIG_VARIABLE_KEY(key_invleft),
+
+ //!
+ // Keyboard key to scroll right in the inventory.
+ //
+
+ CONFIG_VARIABLE_KEY(key_invright),
+
+ //!
+ // Keyboard key to use the current item in the inventory.
+ //
+
+ CONFIG_VARIABLE_KEY(key_useartifact),
+
+ //!
// Keyboard key to fire the currently selected weapon.
//