add pr_checkextentions as promised

This commit is contained in:
Bill Currie 2001-03-08 00:27:35 +00:00
parent 16bc4735b1
commit 645a791315
2 changed files with 10 additions and 0 deletions

View File

@ -52,6 +52,8 @@ sv_fields_t sv_fields;
cvar_t *r_skyname;
cvar_t *sv_progs;
cvar_t *pr_checkextentions;
cvar_t *nomonsters;
cvar_t *gamecfg;
cvar_t *scratch1;
@ -296,6 +298,10 @@ SV_Progs_Init_Cvars (void)
sv_progs = Cvar_Get ("sv_progs", "progs.dat", CVAR_ROM,
"Allows selectable game progs if you have several "
"of them in the gamedir");
pr_checkextentions = Cvar_Get ("sv_progs", "1", CVAR_ROM,
"indicate the presence of the "
"checkextentions qc function");
nomonsters = Cvar_Get ("nomonsters", "0", CVAR_NONE, "No Description");
gamecfg = Cvar_Get ("gamecfg", "0", CVAR_NONE, "No Description");
scratch1 = Cvar_Get ("scratch1", "0", CVAR_NONE, "No Description");

View File

@ -50,6 +50,7 @@ sv_fields_t sv_fields;
progs_t sv_pr_state;
cvar_t *r_skyname;
cvar_t *sv_progs;
cvar_t *pr_checkextentions;
func_t EndFrame;
func_t SpectatorConnect;
@ -289,4 +290,7 @@ SV_Progs_Init_Cvars (void)
sv_progs = Cvar_Get ("sv_progs", "qwprogs.dat", CVAR_ROM,
"Allows selectable game progs if you have several "
"of them in the gamedir");
pr_checkextentions = Cvar_Get ("sv_progs", "1", CVAR_ROM,
"indicate the presence of the "
"checkextentions qc function");
}