mbspc: decompilation: bump limits to be able to decompile all AD Q1 BSPv1 maps
This commit is contained in:
parent
18d4a0a1e7
commit
6fa7a8b5bd
|
|
@ -21,7 +21,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef MAX_MAP_ENTITIES
|
#ifndef MAX_MAP_ENTITIES
|
||||||
#define MAX_MAP_ENTITIES 2048
|
#define MAX_MAP_ENTITIES 4096
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
typedef struct epair_s
|
typedef struct epair_s
|
||||||
|
|
|
||||||
|
|
@ -25,23 +25,23 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
|
|
||||||
#define Q1_MAX_MAP_HULLS 4
|
#define Q1_MAX_MAP_HULLS 4
|
||||||
|
|
||||||
#define Q1_MAX_MAP_MODELS 256
|
#define Q1_MAX_MAP_MODELS 1024
|
||||||
#define Q1_MAX_MAP_BRUSHES 4096
|
#define Q1_MAX_MAP_BRUSHES 4096
|
||||||
#define Q1_MAX_MAP_ENTITIES 1024
|
#define Q1_MAX_MAP_ENTITIES 1024
|
||||||
#define Q1_MAX_MAP_ENTSTRING 65536
|
#define Q1_MAX_MAP_ENTSTRING 0x80000
|
||||||
|
|
||||||
#define Q1_MAX_MAP_PLANES 8192
|
#define Q1_MAX_MAP_PLANES 32768
|
||||||
#define Q1_MAX_MAP_NODES 32767 // because negative shorts are contents
|
#define Q1_MAX_MAP_NODES 32767 // because negative shorts are contents
|
||||||
#define Q1_MAX_MAP_CLIPNODES 32767 //
|
#define Q1_MAX_MAP_CLIPNODES 0xFFFF //
|
||||||
#define Q1_MAX_MAP_LEAFS 32767 //
|
#define Q1_MAX_MAP_LEAFS 32767 //
|
||||||
#define Q1_MAX_MAP_VERTS 65535
|
#define Q1_MAX_MAP_VERTS 65535
|
||||||
#define Q1_MAX_MAP_FACES 65535
|
#define Q1_MAX_MAP_FACES 65535
|
||||||
#define Q1_MAX_MAP_MARKSURFACES 65535
|
#define Q1_MAX_MAP_MARKSURFACES 65535
|
||||||
#define Q1_MAX_MAP_TEXINFO 4096
|
#define Q1_MAX_MAP_TEXINFO 8192
|
||||||
#define Q1_MAX_MAP_EDGES 256000
|
#define Q1_MAX_MAP_EDGES 256000
|
||||||
#define Q1_MAX_MAP_SURFEDGES 512000
|
#define Q1_MAX_MAP_SURFEDGES 512000
|
||||||
#define Q1_MAX_MAP_MIPTEX 0x200000
|
#define Q1_MAX_MAP_MIPTEX 0x1000000
|
||||||
#define Q1_MAX_MAP_LIGHTING 0x100000
|
#define Q1_MAX_MAP_LIGHTING 0x200000
|
||||||
#define Q1_MAX_MAP_VISIBILITY 0x100000
|
#define Q1_MAX_MAP_VISIBILITY 0x100000
|
||||||
|
|
||||||
// key / value pair sizes
|
// key / value pair sizes
|
||||||
|
|
|
||||||
|
|
@ -229,7 +229,7 @@ typedef struct miptex_s
|
||||||
// 16 bit short limits
|
// 16 bit short limits
|
||||||
#define MAX_MAP_MODELS 1024
|
#define MAX_MAP_MODELS 1024
|
||||||
#define MAX_MAP_BRUSHES 8192
|
#define MAX_MAP_BRUSHES 8192
|
||||||
#define MAX_MAP_ENTITIES 2048
|
#define MAX_MAP_ENTITIES 4096
|
||||||
#define MAX_MAP_ENTSTRING 0x40000
|
#define MAX_MAP_ENTSTRING 0x40000
|
||||||
#define MAX_MAP_TEXINFO 8192
|
#define MAX_MAP_TEXINFO 8192
|
||||||
|
|
||||||
|
|
@ -237,7 +237,7 @@ typedef struct miptex_s
|
||||||
#define MAX_MAP_AREAPORTALS 1024
|
#define MAX_MAP_AREAPORTALS 1024
|
||||||
#define MAX_MAP_PLANES 65536
|
#define MAX_MAP_PLANES 65536
|
||||||
#define MAX_MAP_NODES 65536
|
#define MAX_MAP_NODES 65536
|
||||||
#define MAX_MAP_BRUSHSIDES 65536
|
#define MAX_MAP_BRUSHSIDES 0x20000
|
||||||
#define MAX_MAP_LEAFS 65536
|
#define MAX_MAP_LEAFS 65536
|
||||||
#define MAX_MAP_VERTS 65536
|
#define MAX_MAP_VERTS 65536
|
||||||
#define MAX_MAP_FACES 65536
|
#define MAX_MAP_FACES 65536
|
||||||
|
|
|
||||||
|
|
@ -420,7 +420,7 @@ typedef struct {
|
||||||
// expense of more memory allocation in the utilities
|
// expense of more memory allocation in the utilities
|
||||||
#define MAX_MAP_MODELS 0x400
|
#define MAX_MAP_MODELS 0x400
|
||||||
#define MAX_MAP_BRUSHES 0x8000
|
#define MAX_MAP_BRUSHES 0x8000
|
||||||
#define MAX_MAP_ENTITIES 0x800
|
#define MAX_MAP_ENTITIES 0x1000
|
||||||
#define MAX_MAP_ENTSTRING 0x40000
|
#define MAX_MAP_ENTSTRING 0x40000
|
||||||
#define MAX_MAP_SHADERS 0x400
|
#define MAX_MAP_SHADERS 0x400
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user