Increase various arbitrary limits - Bug #5463

This commit is contained in:
Zachary Slater 2013-01-06 01:36:39 -08:00
parent 6999fdba91
commit 20a77764dd
4 changed files with 4 additions and 4 deletions

View file

@ -24,7 +24,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#include "q_shared.h" #include "q_shared.h"
#include "qcommon.h" #include "qcommon.h"
#define MAX_CMD_BUFFER 16384 #define MAX_CMD_BUFFER 128*1024
#define MAX_CMD_LINE 1024 #define MAX_CMD_LINE 1024
typedef struct { typedef struct {

View file

@ -38,7 +38,7 @@ int demo_protocols[] =
#define MIN_DEDICATED_COMHUNKMEGS 1 #define MIN_DEDICATED_COMHUNKMEGS 1
#define MIN_COMHUNKMEGS 56 #define MIN_COMHUNKMEGS 56
#define DEF_COMHUNKMEGS 64 #define DEF_COMHUNKMEGS 128
#define DEF_COMZONEMEGS 24 #define DEF_COMZONEMEGS 24
#define DEF_COMHUNKMEGS_S XSTRING(DEF_COMHUNKMEGS) #define DEF_COMHUNKMEGS_S XSTRING(DEF_COMHUNKMEGS)
#define DEF_COMZONEMEGS_S XSTRING(DEF_COMZONEMEGS) #define DEF_COMZONEMEGS_S XSTRING(DEF_COMZONEMEGS)

View file

@ -28,7 +28,7 @@ cvar_t *cvar_vars = NULL;
cvar_t *cvar_cheats; cvar_t *cvar_cheats;
int cvar_modifiedFlags; int cvar_modifiedFlags;
#define MAX_CVARS 1024 #define MAX_CVARS 2048
cvar_t cvar_indexes[MAX_CVARS]; cvar_t cvar_indexes[MAX_CVARS];
int cvar_numIndexes; int cvar_numIndexes;

View file

@ -79,7 +79,7 @@ typedef struct flare_s {
vec3_t color; vec3_t color;
} flare_t; } flare_t;
#define MAX_FLARES 128 #define MAX_FLARES 256
flare_t r_flareStructs[MAX_FLARES]; flare_t r_flareStructs[MAX_FLARES];
flare_t *r_activeFlares, *r_inactiveFlares; flare_t *r_activeFlares, *r_inactiveFlares;