mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-01-30 12:40:42 +00:00
move the developer cvar into cvar.c
This commit is contained in:
parent
99535102d7
commit
1e2e2f44c3
4 changed files with 1 additions and 12 deletions
|
@ -49,6 +49,7 @@
|
|||
#include "QF/hash.h"
|
||||
#include "QF/qargs.h"
|
||||
|
||||
cvar_t *developer;
|
||||
cvar_t *cvar_vars;
|
||||
char *cvar_null_string = "";
|
||||
extern cvar_t *developer;
|
||||
|
|
|
@ -103,8 +103,6 @@ cvar_t *teamplay;
|
|||
cvar_t *samelevel;
|
||||
cvar_t *noexit;
|
||||
|
||||
cvar_t *developer;
|
||||
|
||||
cvar_t *skill;
|
||||
cvar_t *deathmatch;
|
||||
cvar_t *coop;
|
||||
|
@ -256,8 +254,6 @@ Host_InitLocal (void)
|
|||
samelevel = Cvar_Get ("samelevel", "0", CVAR_NONE, "None");
|
||||
noexit = Cvar_Get ("noexit", "0", CVAR_SERVERINFO, "None");
|
||||
skill = Cvar_Get ("skill", "1", CVAR_NONE, "0 - 3");
|
||||
developer =
|
||||
Cvar_Get ("developer", "0", CVAR_NONE, "should be 0 for release!");
|
||||
deathmatch = Cvar_Get ("deathmatch", "0", CVAR_NONE, "0, 1, or 2");
|
||||
coop = Cvar_Get ("coop", "0", CVAR_NONE, "0 or 1");
|
||||
|
||||
|
|
|
@ -195,7 +195,6 @@ byte *host_colormap;
|
|||
cvar_t *host_speeds; // set for running times
|
||||
cvar_t *show_fps; // set for running times
|
||||
cvar_t *show_time;
|
||||
cvar_t *developer;
|
||||
cvar_t *cl_demospeed;
|
||||
|
||||
int fps_count;
|
||||
|
@ -1208,8 +1207,6 @@ CL_Init_Cvars (void)
|
|||
"display the current time");
|
||||
host_speeds = Cvar_Get ("host_speeds", "0", CVAR_NONE,
|
||||
"display host processing times");
|
||||
developer = Cvar_Get ("developer", "0", CVAR_NONE,
|
||||
"show info interesting to developers");
|
||||
cl_demospeed = Cvar_Get ("cl_demospeed", "1.0", CVAR_NONE,
|
||||
"adjust demo playback speed. 1.0 = normal, < 1 slow-mo, > 1 timelaps");
|
||||
// Misty: Turn on or off screen filling colors for powerups among other things.
|
||||
|
|
|
@ -88,8 +88,6 @@ cvar_t *fs_usercfg;
|
|||
cvar_t *sv_mintic; // bound the size of the
|
||||
cvar_t *sv_maxtic; // physics time tic
|
||||
|
||||
cvar_t *developer; // show extra messages
|
||||
|
||||
cvar_t *timeout; // seconds without any message
|
||||
cvar_t *zombietime; // seconds to sink messages after
|
||||
|
||||
|
@ -1526,9 +1524,6 @@ SV_InitLocal (void)
|
|||
spawn = Cvar_Get ("spawn", "0", CVAR_SERVERINFO, "Spawn the player entity");
|
||||
watervis = Cvar_Get ("watervis", "0", CVAR_SERVERINFO, "Toggle the use of r_watervis by OpenGL clients");
|
||||
|
||||
developer = Cvar_Get ("developer", "0", CVAR_NONE,
|
||||
"Toggle verbose output of server information. Useful for diagnosing problems and learning more about the server");
|
||||
|
||||
timeout = Cvar_Get ("timeout", "65", CVAR_NONE,
|
||||
"Sets the amount of time in seconds before a client is considered disconnected if the server does not receive a packet");
|
||||
zombietime = Cvar_Get ("zombietime", "2", CVAR_NONE,
|
||||
|
|
Loading…
Reference in a new issue