added a macro for specifying all the cvar properties. This will simplify stuff for Q2.
Also added trace_endcontents and trace_surfaceflags. File system (still too selectivly) reads gz files. Fixed a buffer overflow in the http client. Made server downloads decompress zipped files to a temporary file. This should make it download them faster. git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1943 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
bc1f25a11b
commit
6430b9b214
57 changed files with 931 additions and 658 deletions
|
@ -21,9 +21,9 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|||
|
||||
#include "quakedef.h"
|
||||
|
||||
cvar_t com_fs_cache = {"fs_cache", "0", NULL, CVAR_ARCHIVE};
|
||||
cvar_t rcon_level = {"rcon_level", "50"};
|
||||
cvar_t cmd_maxbuffersize = {"cmd_maxbuffersize", "65536"};
|
||||
cvar_t com_fs_cache = SCVARF("fs_cache", "0", CVAR_ARCHIVE);
|
||||
cvar_t rcon_level = SCVAR("rcon_level", "50");
|
||||
cvar_t cmd_maxbuffersize = SCVAR("cmd_maxbuffersize", "65536");
|
||||
int Cmd_ExecLevel;
|
||||
|
||||
void Cmd_ForwardToServer (void);
|
||||
|
@ -44,10 +44,10 @@ typedef struct cmdalias_s
|
|||
|
||||
cmdalias_t *cmd_alias;
|
||||
|
||||
cvar_t cl_warncmd = {"cl_warncmd", "0"};
|
||||
cvar_t cl_aliasoverlap = {"cl_aliasoverlap", "1", NULL, CVAR_NOTFROMSERVER};
|
||||
cvar_t cl_warncmd = SCVAR("cl_warncmd", "0");
|
||||
cvar_t cl_aliasoverlap = SCVARF("cl_aliasoverlap", "1", CVAR_NOTFROMSERVER);
|
||||
|
||||
cvar_t tp_disputablemacros = {"tp_disputablemacros", "1", NULL, CVAR_SEMICHEAT};
|
||||
cvar_t tp_disputablemacros = SCVARF("tp_disputablemacros", "1", CVAR_SEMICHEAT);
|
||||
|
||||
|
||||
//=============================================================================
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue