mirror of
https://github.com/UberGames/GtkRadiant.git
synced 2024-11-22 11:51:22 +00:00
Increasing the values of 3 constants that control how much space is reserved
for the stack and/or static memory for holding arrays of structures. MAX_ORIGINAL_EDGES changed from 0x10000 to 0x20000 (x2 increase). MAX_MAP_BRUSHES changed from 0x8000 to 0x10000 (x2 increase). MAX_MAP_DRAW_VERTS changed from 0x80000 to 0x100000 (x2 increase). This is pertaining to q3map2 only. There is a real-world case where increasing these constants is needed. That case is when compiling Icy World for Urban Terror. Besides that, increasing these does not hurt anything (other than requiring more memory). git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/trunk@422 8a3a26a2-13c4-0310-b231-cf6edde360e5
This commit is contained in:
parent
ea589bedcc
commit
098fe8f8d5
2 changed files with 3 additions and 3 deletions
|
@ -309,7 +309,7 @@ abstracted bsp file
|
|||
|
||||
/* ok to increase these at the expense of more memory */
|
||||
#define MAX_MAP_MODELS 0x400
|
||||
#define MAX_MAP_BRUSHES 0x8000
|
||||
#define MAX_MAP_BRUSHES 0x10000
|
||||
#define MAX_MAP_ENTITIES 0x1000 //% 0x800 /* ydnar */
|
||||
#define MAX_MAP_ENTSTRING 0x80000 //% 0x40000 /* ydnar */
|
||||
#define MAX_MAP_SHADERS 0x800 //% 0x400 /* ydnar */
|
||||
|
@ -328,7 +328,7 @@ abstracted bsp file
|
|||
#define MAX_MAP_VISIBILITY 0x200000
|
||||
|
||||
#define MAX_MAP_DRAW_SURFS 0x20000
|
||||
#define MAX_MAP_DRAW_VERTS 0x80000
|
||||
#define MAX_MAP_DRAW_VERTS 0x100000
|
||||
#define MAX_MAP_DRAW_INDEXES 0x80000
|
||||
|
||||
#define MAX_MAP_ADVERTISEMENTS 30
|
||||
|
|
|
@ -63,7 +63,7 @@ typedef struct {
|
|||
bspDrawVert_t *dv[2];
|
||||
} originalEdge_t;
|
||||
|
||||
#define MAX_ORIGINAL_EDGES 0x10000
|
||||
#define MAX_ORIGINAL_EDGES 0x20000
|
||||
originalEdge_t originalEdges[MAX_ORIGINAL_EDGES];
|
||||
int numOriginalEdges;
|
||||
|
||||
|
|
Loading…
Reference in a new issue