diff options
author | Simon Howard | 2006-05-29 00:17:24 +0000 |
---|---|---|
committer | Simon Howard | 2006-05-29 00:17:24 +0000 |
commit | 9d94e1bd45835f87973fccdfcdbfa84fc1cadaa6 (patch) | |
tree | e50267ba27ee4574bd292913b8cae7d86e0ff4e5 /src/m_misc.c | |
parent | 4d7893a26cbddef166757603e4783f6c5f46acb2 (diff) | |
download | chocolate-doom-9d94e1bd45835f87973fccdfcdbfa84fc1cadaa6.tar.gz chocolate-doom-9d94e1bd45835f87973fccdfcdbfa84fc1cadaa6.tar.bz2 chocolate-doom-9d94e1bd45835f87973fccdfcdbfa84fc1cadaa6.zip |
Change the mouse acceleration behavior to accelerate by multiplying by a
linear amount when a threshold is exceeded.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 535
Diffstat (limited to 'src/m_misc.c')
-rw-r--r-- | src/m_misc.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/m_misc.c b/src/m_misc.c index 57840604..899fad01 100644 --- a/src/m_misc.c +++ b/src/m_misc.c @@ -1,7 +1,7 @@ // Emacs style mode select -*- C++ -*- //----------------------------------------------------------------------------- // -// $Id: m_misc.c 532 2006-05-26 15:37:09Z fraggle $ +// $Id: m_misc.c 535 2006-05-29 00:17:24Z fraggle $ // // Copyright(C) 1993-1996 Id Software, Inc. // Copyright(C) 2005 Simon Howard @@ -106,7 +106,7 @@ //----------------------------------------------------------------------------- static const char -rcsid[] = "$Id: m_misc.c 532 2006-05-26 15:37:09Z fraggle $"; +rcsid[] = "$Id: m_misc.c 535 2006-05-29 00:17:24Z fraggle $"; #include <stdio.h> #include <stdlib.h> @@ -402,6 +402,7 @@ static default_t extra_defaults_list[] = {"grabmouse", &grabmouse}, {"novert", &novert}, {"mouse_acceleration", &mouse_acceleration, DEFAULT_FLOAT}, + {"mouse_threshold", &mouse_threshold}, {"show_endoom", &show_endoom}, {"vanilla_savegame_limit", &vanilla_savegame_limit}, #ifdef FEATURE_MULTIPLAYER |