From dd9ba38c8dade0da2bef759f08623bf007a49895 Mon Sep 17 00:00:00 2001 From: cloudwalk Date: Wed, 15 Jul 2020 14:59:08 +0000 Subject: [PATCH] Increase MAX_CACHED_PICS to 2048, as per wrath-darkplaces git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12820 d7cf8633-e32d-0410-b094-e92efae38249 --- quakedef.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/quakedef.h b/quakedef.h index 3547b384..a40a3ba6 100644 --- a/quakedef.h +++ b/quakedef.h @@ -95,7 +95,7 @@ extern char engineversion[128]; #define MAX_CUBEMAPS 1024 #define MAX_EXPLOSIONS 8 #define MAX_DLIGHTS 16 -#define MAX_CACHED_PICS 1024 // this is 144 bytes each (or 152 on 64bit) +#define MAX_CACHED_PICS 2048 // this is 144 bytes each (or 152 on 64bit) #define CACHEPICHASHSIZE 256 #define MAX_PARTICLEEFFECTNAME 256 #define MAX_PARTICLEEFFECTINFO 1024 @@ -162,7 +162,7 @@ extern char engineversion[128]; #define MAX_CUBEMAPS 1024 ///< max number of cubemap textures loaded for light filters #define MAX_EXPLOSIONS 64 ///< max number of explosion shell effects active at once (not particle related) #define MAX_DLIGHTS 256 ///< max number of dynamic lights (rocket flashes, etc) in scene at once -#define MAX_CACHED_PICS 1024 ///< max number of 2D pics loaded at once +#define MAX_CACHED_PICS 2048 ///< max number of 2D pics loaded at once #define CACHEPICHASHSIZE 256 ///< number of hash buckets for accelerating 2D pic name lookups #define MAX_PARTICLEEFFECTNAME 4096 ///< maximum number of unique names of particle effects (for particleeffectnum) #define MAX_PARTICLEEFFECTINFO 8192 ///< maximum number of unique particle effects (each name may associate with several of these) -- 2.39.2