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

@ -284,11 +284,12 @@ void
SV_Progs_Init_Cvars (void)
{
r_skyname =
Cvar_Get ("r_skyname", "", CVAR_SERVERINFO, Cvar_Info, "name of skybox");
sv_progs = Cvar_Get ("sv_progs", "qwprogs.dat", CVAR_ROM, 0,
Cvar_Get ("r_skyname", "", CVAR_SERVERINFO, Cvar_Info,
"name of skybox");
sv_progs = Cvar_Get ("sv_progs", "qwprogs.dat", CVAR_ROM, NULL,
"Allows selectable game progs if you have several "
"of them in the gamedir");
pr_checkextentions = Cvar_Get ("sv_progs", "1", CVAR_ROM, 0,
pr_checkextentions = Cvar_Get ("sv_progs", "1", CVAR_ROM, NULL,
"indicate the presence of the "
"checkextentions qc function");
}