mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-24 21:21:04 +00:00
- remove old 'mouse_sensitivity' cvar completely, it's no longer needed
- update defcvars parser so it no longer looks for it
This commit is contained in:
parent
b07c9550cf
commit
e2e176e0be
3 changed files with 9 additions and 4 deletions
|
@ -77,7 +77,6 @@ CVAR (Bool, sv_cheats, false, CVAR_SERVERINFO | CVAR_LATCH)
|
||||||
CVAR (Bool, sv_unlimited_pickup, false, CVAR_SERVERINFO)
|
CVAR (Bool, sv_unlimited_pickup, false, CVAR_SERVERINFO)
|
||||||
CVAR (Int, cl_blockcheats, 0, 0)
|
CVAR (Int, cl_blockcheats, 0, 0)
|
||||||
|
|
||||||
CVAR(Float, mouse_sensitivity, 1.f, CVAR_ARCHIVE | CVAR_GLOBALCONFIG)
|
|
||||||
CVAR(Bool, show_messages, true, CVAR_ARCHIVE | CVAR_GLOBALCONFIG)
|
CVAR(Bool, show_messages, true, CVAR_ARCHIVE | CVAR_GLOBALCONFIG)
|
||||||
CVAR(Bool, show_obituaries, true, CVAR_ARCHIVE)
|
CVAR(Bool, show_obituaries, true, CVAR_ARCHIVE)
|
||||||
|
|
||||||
|
|
|
@ -366,7 +366,6 @@ void D_GrabCVarDefaults()
|
||||||
}
|
}
|
||||||
|
|
||||||
CurrentFindCVar = sc.String;
|
CurrentFindCVar = sc.String;
|
||||||
|
|
||||||
if (lumpversion < 220)
|
if (lumpversion < 220)
|
||||||
{
|
{
|
||||||
CurrentFindCVar.ToLower();
|
CurrentFindCVar.ToLower();
|
||||||
|
@ -385,9 +384,17 @@ void D_GrabCVarDefaults()
|
||||||
if (strcmp(CurrentFindCVar, "cd_drive") == 0)
|
if (strcmp(CurrentFindCVar, "cd_drive") == 0)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
if (lumpversion < 221)
|
||||||
|
{
|
||||||
|
// removed cvar
|
||||||
|
// this one doesn't matter as much, since it depended on platform-specific values,
|
||||||
|
// and is something the user should change anyhow, so, let's just throw this value
|
||||||
|
// out.
|
||||||
|
if (strcmp(CurrentFindCVar, "mouse_sensitivity") == 0)
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
var = FindCVar(CurrentFindCVar, NULL);
|
var = FindCVar(CurrentFindCVar, NULL);
|
||||||
|
|
||||||
if (var != NULL)
|
if (var != NULL)
|
||||||
{
|
{
|
||||||
if (var->GetFlags() & CVAR_ARCHIVE)
|
if (var->GetFlags() & CVAR_ARCHIVE)
|
||||||
|
|
|
@ -183,7 +183,6 @@ extern bool precache;
|
||||||
extern bool setsizeneeded;
|
extern bool setsizeneeded;
|
||||||
|
|
||||||
|
|
||||||
EXTERN_CVAR (Float, mouse_sensitivity)
|
|
||||||
//?
|
//?
|
||||||
// debug flag to cancel adaptiveness
|
// debug flag to cancel adaptiveness
|
||||||
extern bool singletics;
|
extern bool singletics;
|
||||||
|
|
Loading…
Reference in a new issue