mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-06-02 09:31:12 +00:00
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:
parent
659eb45e96
commit
2bc55b7828
95 changed files with 3080 additions and 631 deletions
|
@ -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.");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue