From 596ca372f8ffccf6869af8e255d989a732f83f24 Mon Sep 17 00:00:00 2001 From: Zachary Slater Date: Sun, 6 Jan 2013 01:36:39 -0800 Subject: Increase various arbitrary limits - Bug #5463 --- src/qcommon/cmd.c | 2 +- src/qcommon/cvar.c | 2 +- src/renderer/tr_flares.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/qcommon/cmd.c b/src/qcommon/cmd.c index 6c96d5ec..c795ab51 100644 --- a/src/qcommon/cmd.c +++ b/src/qcommon/cmd.c @@ -25,7 +25,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA #include "q_shared.h" #include "qcommon.h" -#define MAX_CMD_BUFFER 16384 +#define MAX_CMD_BUFFER 128*1024 #define MAX_CMD_LINE 1024 typedef struct { diff --git a/src/qcommon/cvar.c b/src/qcommon/cvar.c index f71bc74f..bd7e4984 100644 --- a/src/qcommon/cvar.c +++ b/src/qcommon/cvar.c @@ -29,7 +29,7 @@ cvar_t *cvar_vars = NULL; cvar_t *cvar_cheats; int cvar_modifiedFlags; -#define MAX_CVARS 1024 +#define MAX_CVARS 2048 cvar_t cvar_indexes[MAX_CVARS]; int cvar_numIndexes; diff --git a/src/renderer/tr_flares.c b/src/renderer/tr_flares.c index b62523d3..9397fbac 100644 --- a/src/renderer/tr_flares.c +++ b/src/renderer/tr_flares.c @@ -80,7 +80,7 @@ typedef struct flare_s { vec3_t color; } flare_t; -#define MAX_FLARES 128 +#define MAX_FLARES 256 flare_t r_flareStructs[MAX_FLARES]; flare_t *r_activeFlares, *r_inactiveFlares; -- cgit