From 8df45ebbd86566aa15a260dc997774cb810c911e Mon Sep 17 00:00:00 2001 From: ewasylishen Date: Sun, 10 Aug 2014 03:33:59 +0000 Subject: [PATCH] bump MAX_EFRAGS to 4096 (from 2048) and MAX_CHANNELS to 1024 (from 512). For ijed's map - has over 500 ambient sounds, causing it to hit the channel limit, and a lot of static entities, which I guess cause it to exceed the old efrags limit. For future reference, according to mh, the efrags array can be removed entirely in glquake (http://forums.inside3d.com/viewtopic.php?t=1930) and each efrag allocated in the hunk memory. git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@959 af15c1b1-3010-417e-b628-4374ebc0bcbd --- Quake/client.h | 2 +- Quake/q_sound.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Quake/client.h b/Quake/client.h index 7a39b7b9..0605484d 100644 --- a/Quake/client.h +++ b/Quake/client.h @@ -84,7 +84,7 @@ typedef struct vec3_t start, end; } beam_t; -#define MAX_EFRAGS 2048 //johnfitz -- was 640 +#define MAX_EFRAGS 4096 //ericw -- was 2048 //johnfitz -- was 640 #define MAX_MAPSTRING 2048 #define MAX_DEMOS 8 diff --git a/Quake/q_sound.h b/Quake/q_sound.h index eaf838df..a4087492 100644 --- a/Quake/q_sound.h +++ b/Quake/q_sound.h @@ -146,7 +146,7 @@ void SNDDMA_UnblockSound(void); * ==================================================================== */ -#define MAX_CHANNELS 512 /* johnfitz -- was 128 */ +#define MAX_CHANNELS 1024 // ericw -- was 512 /* johnfitz -- was 128 */ #define MAX_DYNAMIC_CHANNELS 128 /* johnfitz -- was 8 */ extern channel_t snd_channels[MAX_CHANNELS];