diff options
author | Simon Howard | 2008-09-23 17:54:13 +0000 |
---|---|---|
committer | Simon Howard | 2008-09-23 17:54:13 +0000 |
commit | 350fe185784d6d0350ed8b675630440ff425a6ca (patch) | |
tree | 2d5f3415d193bd72e72a0b0a435a6204f6be8477 /src/m_config.c | |
parent | 69b0c4526e6f2d6fe6920f1efa3b32e27b3db0bc (diff) | |
download | chocolate-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.c | 54 |
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. // |