*/
-#define MAX_MAP_HULLS 4
+#define MAX_MAP_HULLS 16 // was 4
#define MAX_MAP_LEAFS 65536 // was 8192
// key / value pair sizes
#define BSPVERSION 29
-#define MCBSPVERSION 1
-#define TOOLVERSION 2
+#define MCBSPVERSION 2
typedef struct
{
#define LUMP_MODELS 14
#define HEADER_LUMPS 15
+typedef struct
+{
+ int numhulls;
+ int filehulls;
+ float hullsizes[MAX_MAP_HULLS][2][3];
+} dhullinfo_t;
+
typedef struct
{
float mins[3], maxs[3];