* Remove cl_platformSensitivity as it predates the move to SDL everywhere

This commit is contained in:
Tim Angus 2008-07-12 13:31:31 +00:00
parent 3c9dc98d04
commit d84d418086
4 changed files with 1 additions and 7 deletions

2
README
View file

@ -134,8 +134,6 @@ New cvars
backend backend
s_muteWhenMinimized - mute sound when minimized s_muteWhenMinimized - mute sound when minimized
in_joystickNo - select which joystick to use in_joystickNo - select which joystick to use
cl_platformSensitivity - read only, indicates the mouse input
scaling
r_ext_texture_filter_anisotropic - anisotropic texture filtering r_ext_texture_filter_anisotropic - anisotropic texture filtering
cl_guidServerUniq - makes cl_guid unique for each server cl_guidServerUniq - makes cl_guid unique for each server
cl_cURLLib - filename of cURL library to load cl_cURLLib - filename of cURL library to load

View file

@ -453,8 +453,7 @@ void CL_MouseMove( usercmd_t *cmd ) {
cl.mouseDy[cl.mouseIndex] = 0; cl.mouseDy[cl.mouseIndex] = 0;
rate = sqrt( mx * mx + my * my ) / (float)frame_msec; rate = sqrt( mx * mx + my * my ) / (float)frame_msec;
accelSensitivity = ( cl_sensitivity->value * accelSensitivity = cl_sensitivity->value + rate * cl_mouseAccel->value;
cl_platformSensitivity->value ) + rate * cl_mouseAccel->value;
// scale by FOV // scale by FOV
accelSensitivity *= cl.cgameSensitivity; accelSensitivity *= cl.cgameSensitivity;

View file

@ -71,7 +71,6 @@ cvar_t *cl_forceavidemo;
cvar_t *cl_freelook; cvar_t *cl_freelook;
cvar_t *cl_sensitivity; cvar_t *cl_sensitivity;
cvar_t *cl_platformSensitivity;
cvar_t *cl_mouseAccel; cvar_t *cl_mouseAccel;
cvar_t *cl_showMouseRate; cvar_t *cl_showMouseRate;
@ -3023,7 +3022,6 @@ void CL_Init( void ) {
cl_run = Cvar_Get ("cl_run", "1", CVAR_ARCHIVE); cl_run = Cvar_Get ("cl_run", "1", CVAR_ARCHIVE);
cl_sensitivity = Cvar_Get ("sensitivity", "5", 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_mouseAccel = Cvar_Get ("cl_mouseAccel", "0", CVAR_ARCHIVE);
cl_freelook = Cvar_Get( "cl_freelook", "1", CVAR_ARCHIVE ); cl_freelook = Cvar_Get( "cl_freelook", "1", CVAR_ARCHIVE );

View file

@ -376,7 +376,6 @@ extern cvar_t *cl_run;
extern cvar_t *cl_anglespeedkey; extern cvar_t *cl_anglespeedkey;
extern cvar_t *cl_sensitivity; extern cvar_t *cl_sensitivity;
extern cvar_t *cl_platformSensitivity;
extern cvar_t *cl_freelook; extern cvar_t *cl_freelook;
extern cvar_t *cl_mouseAccel; extern cvar_t *cl_mouseAccel;