From a28f548b5424b29a34cdd3317a55be5386b0306c Mon Sep 17 00:00:00 2001 From: divverent Date: Tue, 21 Apr 2009 14:50:45 +0000 Subject: [PATCH] ncrease MAX_MAP_VISIBILITY git-svn-id: svn://svn.icculus.org/netradiant/trunk@323 61c419a2-8eb2-4b30-bcec-8cead039b335 --- tools/quake3/q3map2/q3map2.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/quake3/q3map2/q3map2.h b/tools/quake3/q3map2/q3map2.h index fb723ead..fe25f582 100644 --- a/tools/quake3/q3map2/q3map2.h +++ b/tools/quake3/q3map2/q3map2.h @@ -316,7 +316,8 @@ abstracted bsp file #define MAX_MAP_PORTALS 0x20000 #define MAX_MAP_LIGHTING 0x800000 #define MAX_MAP_LIGHTGRID 0x100000 //% 0x800000 /* ydnar: set to points, not bytes */ -#define MAX_MAP_VISIBILITY 0x200000 +#define MAX_MAP_VISCLUSTERS 0x4000 // <= MAX_MAP_LEAFS +#define MAX_MAP_VISIBILITY (VIS_HEADER_SIZE + MAX_MAP_VISCLUSTERS * (((MAX_MAP_VISCLUSTERS + 63) & ~63) >> 3)) #define MAX_MAP_DRAW_SURFS 0x20000 #define MAX_MAP_DRAW_INDEXES 0x80000 -- 2.39.2