r1424 - in trunk: . code/client
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Sat Jul 12 09:31:32 EDT 2008
Author: tma
Date: 2008-07-12 09:31:31 -0400 (Sat, 12 Jul 2008)
New Revision: 1424
Modified:
trunk/README
trunk/code/client/cl_input.c
trunk/code/client/cl_main.c
trunk/code/client/client.h
Log:
* Remove cl_platformSensitivity as it predates the move to SDL everywhere
Modified: trunk/README
===================================================================
--- trunk/README 2008-07-09 21:22:29 UTC (rev 1423)
+++ trunk/README 2008-07-12 13:31:31 UTC (rev 1424)
@@ -134,8 +134,6 @@
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
Modified: trunk/code/client/cl_input.c
===================================================================
--- trunk/code/client/cl_input.c 2008-07-09 21:22:29 UTC (rev 1423)
+++ trunk/code/client/cl_input.c 2008-07-12 13:31:31 UTC (rev 1424)
@@ -453,8 +453,7 @@
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;
Modified: trunk/code/client/cl_main.c
===================================================================
--- trunk/code/client/cl_main.c 2008-07-09 21:22:29 UTC (rev 1423)
+++ trunk/code/client/cl_main.c 2008-07-12 13:31:31 UTC (rev 1424)
@@ -71,7 +71,6 @@
cvar_t *cl_freelook;
cvar_t *cl_sensitivity;
-cvar_t *cl_platformSensitivity;
cvar_t *cl_mouseAccel;
cvar_t *cl_showMouseRate;
@@ -3023,7 +3022,6 @@
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 );
Modified: trunk/code/client/client.h
===================================================================
--- trunk/code/client/client.h 2008-07-09 21:22:29 UTC (rev 1423)
+++ trunk/code/client/client.h 2008-07-12 13:31:31 UTC (rev 1424)
@@ -376,7 +376,6 @@
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;
More information about the quake3-commits
mailing list