]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - qdefs.h
PVS: dynamically allocate all FatPVS buffers
[xonotic/darkplaces.git] / qdefs.h
diff --git a/qdefs.h b/qdefs.h
index 927702270e55c03ecec57d4c174bdd9f9010848e..78f668d899fc895823eaf91b2cfb8fec2094fc9e 100644 (file)
--- a/qdefs.h
+++ b/qdefs.h
@@ -70,7 +70,7 @@
 #define        MAX_PARTICLETEXTURES    256
 #define        MAXCLVIDEOS                             1
 #define        MAX_DYNAMIC_TEXTURE_COUNT       2
-#define        MAX_MAP_LEAFS                   8192
+//#define      MAX_MAP_LEAFS                   8192
 
 #define        MAXTRACKS                               256
 #define        MAX_DYNAMIC_CHANNELS    64
 #define        MAX_PARTICLETEXTURES    256 ///< maximum number of unique particle textures in the particle font
 #define        MAXCLVIDEOS                             65 ///< maximum number of video streams being played back at once (1 is reserved for the playvideo command)
 #define        MAX_DYNAMIC_TEXTURE_COUNT       64 ///< maximum number of dynamic textures (web browsers, playvideo, etc)
-#define        MAX_MAP_LEAFS                   65536 ///< maximum number of BSP leafs in world (8192 in Quake)
+//#define      MAX_MAP_LEAFS                   65536 ///< maximum number of BSP leafs in world (8192 in Quake), now dynamically allocated
 
 #define        MAXTRACKS                               256 ///< max CD track index
 // 0 to NUM_AMBIENTS - 1 = water, etc