@ -54,15 +54,14 @@ CVAR_DEFINE( host_developer, "developer", "0", FCVAR_FILTERABLE, "engine is in d
@@ -54,15 +54,14 @@ CVAR_DEFINE( host_developer, "developer", "0", FCVAR_FILTERABLE, "engine is in d
staticCVAR_DEFINE_AUTO(host_framerate,"0",FCVAR_FILTERABLE,"locks frame timing to this value in seconds");
staticCVAR_DEFINE(host_sleeptime,"sleeptime","1",FCVAR_ARCHIVE|FCVAR_FILTERABLE,"milliseconds to sleep for each frame. higher values reduce fps accuracy");
CVAR_DEFINE(con_gamemaps,"con_mapfilter","1",FCVAR_ARCHIVE,"when true show only maps in game folder");
voidSys_PrintUsage(void)
{
@ -285,20 +284,20 @@ static int Host_CalcSleep( void )
@@ -285,20 +284,20 @@ static int Host_CalcSleep( void )
host_framerate=Cvar_Get("host_framerate","0",FCVAR_FILTERABLE,"locks frame timing to this value in seconds");
host_sleeptime=Cvar_Get("sleeptime","1",FCVAR_ARCHIVE|FCVAR_FILTERABLE,"milliseconds to sleep for each frame. higher values reduce fps accuracy");
host_gameloaded=Cvar_Get("host_gameloaded","0",FCVAR_READ_ONLY,"inidcates a loaded game.dll");
host_clientloaded=Cvar_Get("host_clientloaded","0",FCVAR_READ_ONLY,"inidcates a loaded client.dll");
host_limitlocal=Cvar_Get("host_limitlocal","0",0,"apply cl_cmdrate and rate to loopback connection");
con_gamemaps=Cvar_Get("con_mapfilter","1",FCVAR_ARCHIVE,"when true show only maps in game folder");
Cvar_RegisterVariable(&host_serverstate);
Cvar_RegisterVariable(&host_maxfps);
Cvar_RegisterVariable(&host_framerate);
Cvar_RegisterVariable(&host_sleeptime);
Cvar_RegisterVariable(&host_gameloaded);
Cvar_RegisterVariable(&host_clientloaded);
Cvar_RegisterVariable(&host_limitlocal);
Cvar_RegisterVariable(&con_gamemaps);
Cvar_RegisterVariable(&sys_timescale);
build=Cvar_Getf("buildnum",FCVAR_READ_ONLY,"returns a current build number","%i",Q_buildnum_compat());
ver=Cvar_Getf("ver",FCVAR_READ_ONLY,"shows an engine version","%i/%s (hw build %i)",PROTOCOL_VERSION,XASH_COMPAT_VERSION,Q_buildnum_compat());
Cvar_Getf("buildnum",FCVAR_READ_ONLY,"returns a current build number","%i",Q_buildnum_compat());
Cvar_Getf("ver",FCVAR_READ_ONLY,"shows an engine version","%i/%s (hw build %i)",PROTOCOL_VERSION,XASH_COMPAT_VERSION,Q_buildnum_compat());
Cvar_Getf("host_ver",FCVAR_READ_ONLY,"detailed info about this build","%i "XASH_VERSION" %s %s %s",Q_buildnum(),Q_buildos(),Q_buildarch(),Q_buildcommit());