aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea>2008-07-12 13:31:31 +0000
committertma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea>2008-07-12 13:31:31 +0000
commitb228d421e120787d8242d44cef9fd7aecefd105f (patch)
tree322786a5f44529c636aea0e857f4f6fc82be060d
parentaaf94cba981a047c793e5d7c5d320bef55071bc0 (diff)
downloadioquake3-aero-b228d421e120787d8242d44cef9fd7aecefd105f.tar.gz
ioquake3-aero-b228d421e120787d8242d44cef9fd7aecefd105f.zip
* Remove cl_platformSensitivity as it predates the move to SDL everywhere
git-svn-id: svn://svn.icculus.org/quake3/trunk@1424 edf5b092-35ff-0310-97b2-ce42778d08ea
-rw-r--r--README2
-rw-r--r--code/client/cl_input.c3
-rw-r--r--code/client/cl_main.c2
-rw-r--r--code/client/client.h1
4 files changed, 1 insertions, 7 deletions
diff --git a/README b/README
index f7653e0..e74203f 100644
--- a/README
+++ b/README
@@ -134,8 +134,6 @@ New cvars
backend
s_muteWhenMinimized - mute sound when minimized
in_joystickNo - select which joystick to use
- cl_platformSensitivity - read only, indicates the mouse input
- scaling
r_ext_texture_filter_anisotropic - anisotropic texture filtering
cl_guidServerUniq - makes cl_guid unique for each server
cl_cURLLib - filename of cURL library to load
diff --git a/code/client/cl_input.c b/code/client/cl_input.c
index 077d689..f1a0376 100644
--- a/code/client/cl_input.c
+++ b/code/client/cl_input.c
@@ -453,8 +453,7 @@ void CL_MouseMove( usercmd_t *cmd ) {
cl.mouseDy[cl.mouseIndex] = 0;
rate = sqrt( mx * mx + my * my ) / (float)frame_msec;
- accelSensitivity = ( cl_sensitivity->value *
- cl_platformSensitivity->value ) + rate * cl_mouseAccel->value;
+ accelSensitivity = cl_sensitivity->value + rate * cl_mouseAccel->value;
// scale by FOV
accelSensitivity *= cl.cgameSensitivity;
diff --git a/code/client/cl_main.c b/code/client/cl_main.c
index b54efc1..4f6d4c2 100644
--- a/code/client/cl_main.c
+++ b/code/client/cl_main.c
@@ -71,7 +71,6 @@ cvar_t *cl_forceavidemo;
cvar_t *cl_freelook;
cvar_t *cl_sensitivity;
-cvar_t *cl_platformSensitivity;
cvar_t *cl_mouseAccel;
cvar_t *cl_showMouseRate;
@@ -3023,7 +3022,6 @@ void CL_Init( void ) {
cl_run = Cvar_Get ("cl_run", "1", CVAR_ARCHIVE);
cl_sensitivity = Cvar_Get ("sensitivity", "5", CVAR_ARCHIVE);
- cl_platformSensitivity = Cvar_Get ("cl_platformSensitivity", "1.0", CVAR_ROM);
cl_mouseAccel = Cvar_Get ("cl_mouseAccel", "0", CVAR_ARCHIVE);
cl_freelook = Cvar_Get( "cl_freelook", "1", CVAR_ARCHIVE );
diff --git a/code/client/client.h b/code/client/client.h
index b380999..889affa 100644
--- a/code/client/client.h
+++ b/code/client/client.h
@@ -376,7 +376,6 @@ extern cvar_t *cl_run;
extern cvar_t *cl_anglespeedkey;
extern cvar_t *cl_sensitivity;
-extern cvar_t *cl_platformSensitivity;
extern cvar_t *cl_freelook;
extern cvar_t *cl_mouseAccel;