diff options
author | Zachary Slater <zjs@zacharyjackslater.com> | 2013-01-06 01:36:39 -0800 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2013-01-12 21:35:56 +0000 |
commit | 596ca372f8ffccf6869af8e255d989a732f83f24 (patch) | |
tree | b76346ca65e8fe928b1714c079e5a0a0ea25ca67 /src | |
parent | 4fea9b31bb656be3f6d8bd207ff5e5be2b9219dc (diff) |
Increase various arbitrary limits - Bug #5463
Diffstat (limited to 'src')
-rw-r--r-- | src/qcommon/cmd.c | 2 | ||||
-rw-r--r-- | src/qcommon/cvar.c | 2 | ||||
-rw-r--r-- | 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; |