|
|
|
@ -78,6 +78,8 @@ CVAR_DEFINE_AUTO( cl_trace_events, "0", FCVAR_ARCHIVE|FCVAR_CHEAT, "enable event
@@ -78,6 +78,8 @@ CVAR_DEFINE_AUTO( cl_trace_events, "0", FCVAR_ARCHIVE|FCVAR_CHEAT, "enable event
|
|
|
|
|
static CVAR_DEFINE_AUTO( cl_nat, "0", 0, "show servers running under NAT" ); |
|
|
|
|
CVAR_DEFINE_AUTO( hud_utf8, "0", FCVAR_ARCHIVE, "Use utf-8 encoding for hud text" ); |
|
|
|
|
CVAR_DEFINE_AUTO( ui_renderworld, "0", FCVAR_ARCHIVE, "render world when UI is visible" ); |
|
|
|
|
static CVAR_DEFINE_AUTO( cl_maxframetime, "0", 0, "set deadline timer for client rendering to catch freezes" ); |
|
|
|
|
CVAR_DEFINE_AUTO( cl_fixmodelinterpolationartifacts, "1", 0, "try to fix up models interpolation on a moving platforms (monsters on trains for example)" ); |
|
|
|
|
|
|
|
|
|
//
|
|
|
|
|
// userinfo
|
|
|
|
@ -87,7 +89,6 @@ static CVAR_DEFINE_AUTO( model, "", FCVAR_USERINFO|FCVAR_ARCHIVE|FCVAR_FILTERABL
@@ -87,7 +89,6 @@ static CVAR_DEFINE_AUTO( model, "", FCVAR_USERINFO|FCVAR_ARCHIVE|FCVAR_FILTERABL
|
|
|
|
|
static CVAR_DEFINE_AUTO( topcolor, "0", FCVAR_USERINFO|FCVAR_ARCHIVE|FCVAR_FILTERABLE, "player top color" ); |
|
|
|
|
static CVAR_DEFINE_AUTO( bottomcolor, "0", FCVAR_USERINFO|FCVAR_ARCHIVE|FCVAR_FILTERABLE, "player bottom color" ); |
|
|
|
|
CVAR_DEFINE_AUTO( rate, "3500", FCVAR_USERINFO|FCVAR_ARCHIVE|FCVAR_FILTERABLE, "player network rate" ); |
|
|
|
|
static CVAR_DEFINE_AUTO( cl_maxframetime, "0", 0, "set deadline timer for client rendering to catch freezes" ); |
|
|
|
|
|
|
|
|
|
client_t cl; |
|
|
|
|
client_static_t cls; |
|
|
|
@ -2919,6 +2920,7 @@ void CL_InitLocal( void )
@@ -2919,6 +2920,7 @@ void CL_InitLocal( void )
|
|
|
|
|
Cvar_Get( "lastdemo", "", FCVAR_ARCHIVE, "last played demo" ); |
|
|
|
|
Cvar_RegisterVariable( &ui_renderworld ); |
|
|
|
|
Cvar_RegisterVariable( &cl_maxframetime ); |
|
|
|
|
Cvar_RegisterVariable( &cl_fixmodelinterpolationartifacts ); |
|
|
|
|
|
|
|
|
|
// these two added to shut up CS 1.5 about 'unknown' commands
|
|
|
|
|
Cvar_Get( "lightgamma", "1", FCVAR_ARCHIVE, "ambient lighting level (legacy, unused)" ); |
|
|
|
|