mirror of
https://git.code.sf.net/p/quake/newtree
synced 2024-11-26 05:51:36 +00:00
Remove master_adr;
Kill the stupid CVAR_SERVERINFO's.
This commit is contained in:
parent
d7d581e546
commit
1139c87959
1 changed files with 10 additions and 12 deletions
|
@ -169,8 +169,6 @@ int host_hunklevel;
|
||||||
byte *host_basepal;
|
byte *host_basepal;
|
||||||
byte *host_colormap;
|
byte *host_colormap;
|
||||||
|
|
||||||
netadr_t master_adr; // address of the master server
|
|
||||||
|
|
||||||
cvar_t *host_speeds; // set for running times
|
cvar_t *host_speeds; // set for running times
|
||||||
cvar_t *show_fps; // set for running times
|
cvar_t *show_fps; // set for running times
|
||||||
cvar_t *developer;
|
cvar_t *developer;
|
||||||
|
@ -1267,16 +1265,16 @@ void CL_InitCvars (void)
|
||||||
//
|
//
|
||||||
// info mirrors
|
// info mirrors
|
||||||
//
|
//
|
||||||
name = Cvar_Get("name", "unnamed", CVAR_ARCHIVE|CVAR_SERVERINFO|CVAR_USERINFO, "None");
|
name = Cvar_Get("name", "unnamed", CVAR_ARCHIVE|CVAR_USERINFO, "None");
|
||||||
password = Cvar_Get("password", "", CVAR_SERVERINFO|CVAR_USERINFO, "None");
|
password = Cvar_Get("password", "", CVAR_USERINFO, "None");
|
||||||
spectator = Cvar_Get("spectator", "", CVAR_SERVERINFO|CVAR_USERINFO, "None");
|
spectator = Cvar_Get("spectator", "", CVAR_USERINFO, "None");
|
||||||
skin = Cvar_Get("skin", "", CVAR_ARCHIVE|CVAR_SERVERINFO|CVAR_USERINFO, "None");
|
skin = Cvar_Get("skin", "", CVAR_ARCHIVE|CVAR_USERINFO, "None");
|
||||||
team = Cvar_Get("team", "", CVAR_ARCHIVE|CVAR_SERVERINFO|CVAR_USERINFO, "None");
|
team = Cvar_Get("team", "", CVAR_ARCHIVE|CVAR_USERINFO, "None");
|
||||||
topcolor = Cvar_Get("topcolor", "0", CVAR_ARCHIVE|CVAR_SERVERINFO|CVAR_USERINFO, "None");
|
topcolor = Cvar_Get("topcolor", "0", CVAR_ARCHIVE|CVAR_USERINFO, "None");
|
||||||
bottomcolor = Cvar_Get("bottomcolor", "0", CVAR_ARCHIVE|CVAR_SERVERINFO|CVAR_USERINFO, "None");
|
bottomcolor = Cvar_Get("bottomcolor", "0", CVAR_ARCHIVE|CVAR_USERINFO, "None");
|
||||||
rate = Cvar_Get("rate", "2500", CVAR_ARCHIVE|CVAR_SERVERINFO|CVAR_USERINFO, "None");
|
rate = Cvar_Get("rate", "2500", CVAR_ARCHIVE|CVAR_USERINFO, "None");
|
||||||
msg = Cvar_Get("msg", "1", CVAR_ARCHIVE|CVAR_SERVERINFO|CVAR_USERINFO, "None");
|
msg = Cvar_Get("msg", "1", CVAR_ARCHIVE|CVAR_USERINFO, "None");
|
||||||
noaim = Cvar_Get("noaim", "0", CVAR_ARCHIVE|CVAR_SERVERINFO|CVAR_USERINFO, "None");
|
noaim = Cvar_Get("noaim", "0", CVAR_ARCHIVE|CVAR_USERINFO, "None");
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in a new issue