From 350fe185784d6d0350ed8b675630440ff425a6ca Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Tue, 23 Sep 2008 17:54:13 +0000 Subject: 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 --- src/m_config.c | 54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) (limited to 'src/m_config.c') 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 @@ -173,6 +173,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. // -- cgit v1.2.3