summaryrefslogtreecommitdiff
path: root/src/hexen/g_game.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/hexen/g_game.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/hexen/g_game.c')
-rw-r--r--src/hexen/g_game.c22
1 files changed, 2 insertions, 20 deletions
diff --git a/src/hexen/g_game.c b/src/hexen/g_game.c
index e7ba9e48..564c1f27 100644
--- a/src/hexen/g_game.c
+++ b/src/hexen/g_game.c
@@ -29,6 +29,7 @@
#include "i_video.h"
#include "i_system.h"
#include "i_timer.h"
+#include "m_controls.h"
#include "m_misc.h"
#include "p_local.h"
#include "v_video.h"
@@ -108,26 +109,7 @@ boolean precache = true; // if true, load all graphics at start
short consistancy[MAXPLAYERS][BACKUPTICS];
-//
-// controls (have defaults)
-//
-int key_right, key_left, key_up, key_down;
-int key_strafeleft, key_straferight, key_jump;
-int key_fire, key_use, key_strafe, key_speed;
-int key_flyup, key_flydown, key_flycenter;
-int key_lookup, key_lookdown, key_lookcenter;
-int key_invleft, key_invright, key_useartifact;
-
-int mousebfire;
-int mousebstrafe;
-int mousebforward;
-int mousebjump;
-
-int joybfire;
-int joybstrafe;
-int joybuse;
-int joybspeed;
-int joybjump;
+int mouseSensitivity = 5;
int LeaveMap;
static int LeavePosition;