Cvar cleanups.. NULL is now used in place of 0 for callbacks, this should

make Cvar_Get's a lot easier to read.
This commit is contained in:
Joseph Carter 2001-04-10 23:39:30 +00:00
parent 659eb45e96
commit 2bc55b7828
95 changed files with 3080 additions and 631 deletions

View file

@ -139,10 +139,11 @@ Sys_ConsoleInput (void)
void
Sys_Init_Cvars (void)
{
sys_nostdout = Cvar_Get ("sys_nostdout", "0", CVAR_NONE, 0, "Toggles console screen output");
sys_extrasleep = Cvar_Get ("sys_extrasleep", "0", CVAR_NONE, 0,
sys_nostdout = Cvar_Get ("sys_nostdout", "0", CVAR_NONE, NULL,
"Toggles console screen output");
sys_extrasleep = Cvar_Get ("sys_extrasleep", "0", CVAR_NONE, NULL,
"Set to cause whatever amount delay in microseconds you want. Mostly useful to generate simulated bad connections.");
sys_dead_sleep = Cvar_Get ("sys_dead_sleep", "1", CVAR_NONE, 0,
sys_dead_sleep = Cvar_Get ("sys_dead_sleep", "1", CVAR_NONE, NULL,
"When set, the server gets NO cpu if no clients are connected"
"and there's no other activity. *MIGHT* cause problems with"
"some mods.");