mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2025-02-02 22:11:22 +00:00
limit increases to handle oms3 map pack.
MAX_MAP_LEAFS: 65535 -> 70000 MAX_LIGHTMAPS: 256 -> 512 TODO: maybe drop static arrays based on MAX_MAP_LEAFS like, see R_InitVisCache in RMQEngine. TODO: dynamically allocate the static `lightmaps` array as well; with this last limit increase it's 32MB. git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1312 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
parent
623f8c6698
commit
316de63f98
2 changed files with 2 additions and 2 deletions
|
@ -35,7 +35,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|||
#define MAX_MAP_PLANES 32767
|
||||
#define MAX_MAP_NODES 32767 // because negative shorts are contents
|
||||
#define MAX_MAP_CLIPNODES 32767
|
||||
#define MAX_MAP_LEAFS 65535 //johnfitz -- was 8192
|
||||
#define MAX_MAP_LEAFS 70000 //johnfitz -- was 8192
|
||||
#define MAX_MAP_VERTS 65535
|
||||
#define MAX_MAP_FACES 65535
|
||||
#define MAX_MAP_MARKSURFACES 65535
|
||||
|
|
|
@ -290,7 +290,7 @@ extern overflowtimes_t dev_overflows; //this stores the last time overflow messa
|
|||
|
||||
//johnfitz -- moved here from r_brush.c
|
||||
extern int gl_lightmap_format, lightmap_bytes;
|
||||
#define MAX_LIGHTMAPS 256 //johnfitz -- was 64
|
||||
#define MAX_LIGHTMAPS 512 //johnfitz -- was 64
|
||||
extern gltexture_t *lightmap_textures[MAX_LIGHTMAPS]; //johnfitz -- changed to an array
|
||||
|
||||
extern int gl_warpimagesize; //johnfitz -- for water warp
|
||||
|
|
Loading…
Reference in a new issue