mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-10 14:42:13 +00:00
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4895 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
12d80eba33
commit
cb5bbfee2a
2 changed files with 2 additions and 2 deletions
|
@ -63,7 +63,6 @@ extern cvar_t net_compress;
|
|||
cvar_t cl_defaultport = CVARAFD("cl_defaultport", STRINGIFY(PORT_QWSERVER), "port", 0, "The default port to connect to servers.\nQW: "STRINGIFY(PORT_QWSERVER)", NQ: "STRINGIFY(PORT_NQSERVER)", Q2: "STRINGIFY(PORT_Q2SERVER)".");
|
||||
|
||||
cvar_t cfg_save_name = CVARFD("cfg_save_name", "fte", CVAR_ARCHIVE|CVAR_NOTFROMSERVER, "This is the config name that is saved by default when no argument is specified.");
|
||||
cvar_t cfg_save_all = CVARFD("cfg_save_all", "", CVAR_ARCHIVE|CVAR_NOTFROMSERVER, "If 1, cfg_save ALWAYS saves all cvars. If 0, cfg_save only ever saves archived cvars. If empty, cfg_saves all cvars only when an explicit filename was given.");
|
||||
|
||||
cvar_t cl_splitscreen = CVARD("cl_splitscreen", "0", "Enables splitscreen support. See also: allow_splitscreen, in_rawinput*, the \"p\" command.");
|
||||
|
||||
|
@ -3558,7 +3557,6 @@ void CL_Init (void)
|
|||
Cvar_Register (&developer, cl_controlgroup);
|
||||
|
||||
Cvar_Register (&cfg_save_name, cl_controlgroup);
|
||||
Cvar_Register (&cfg_save_all, cl_controlgroup);
|
||||
|
||||
Cvar_Register (&cl_sendguid, cl_controlgroup);
|
||||
Cvar_Register (&cl_defaultport, cl_controlgroup);
|
||||
|
|
|
@ -47,6 +47,7 @@ typedef struct cmdalias_s
|
|||
|
||||
cmdalias_t *cmd_alias;
|
||||
|
||||
cvar_t cfg_save_all = CVARFD("cfg_save_all", "", CVAR_ARCHIVE|CVAR_NOTFROMSERVER, "If 1, cfg_save ALWAYS saves all cvars. If 0, cfg_save only ever saves archived cvars. If empty, cfg_saves all cvars only when an explicit filename was given.");
|
||||
cvar_t cl_warncmd = CVARF("cl_warncmd", "1", CVAR_NOSAVE|CVAR_NORESET);
|
||||
cvar_t cl_aliasoverlap = CVARF("cl_aliasoverlap", "1", CVAR_NOTFROMSERVER);
|
||||
|
||||
|
@ -3244,6 +3245,7 @@ void Cmd_Init (void)
|
|||
|
||||
Cvar_Register(&dpcompat_set, "Darkplaces compatibility");
|
||||
Cvar_Register (&cl_warncmd, "Warnings");
|
||||
Cvar_Register (&cfg_save_all, "client operation options");
|
||||
|
||||
#ifndef SERVERONLY
|
||||
rcon_level.ival = atof(rcon_level.enginevalue); //client is restricted to not be allowed to change restrictions.
|
||||
|
|
Loading…
Reference in a new issue