#define BSPVERSION 29
+#define MCBSPVERSION 1
#define TOOLVERSION 2
typedef struct
#define CONTENTSQ3_TRIGGER 0x40000000 // used by trigger entities
#define CONTENTSQ3_NODROP 0x80000000 // remove items that fall into this brush
+#define SUPERCONTENTS_SOLID 0x00000001
+#define SUPERCONTENTS_WATER 0x00000002
+#define SUPERCONTENTS_SLIME 0x00000004
+#define SUPERCONTENTS_LAVA 0x00000008
+#define SUPERCONTENTS_SKY 0x00000010
+#define SUPERCONTENTS_BODY 0x00000020
+#define SUPERCONTENTS_CORPSE 0x00000040
+#define SUPERCONTENTS_NODROP 0x00000080
+#define SUPERCONTENTS_PLAYERCLIP 0x00000100
+#define SUPERCONTENTS_MONSTERCLIP 0x00000200
+#define SUPERCONTENTS_DONOTENTER 0x00000400
+#define SUPERCONTENTS_LIQUIDSMASK (SUPERCONTENTS_LAVA | SUPERCONTENTS_SLIME | SUPERCONTENTS_WATER)
+
+/*
+#define SUPERCONTENTS_DEADMONSTER 0x00000000
+#define SUPERCONTENTS_CURRENT_0 0x00000000
+#define SUPERCONTENTS_CURRENT_90 0x00000000
+#define SUPERCONTENTS_CURRENT_180 0x00000000
+#define SUPERCONTENTS_CURRENT_270 0x00000000
+#define SUPERCONTENTS_CURRENT_DOWN 0x00000000
+#define SUPERCONTENTS_CURRENT_UP 0x00000000
+#define SUPERCONTENTS_AREAPORTAL 0x00000000
+#define SUPERCONTENTS_AUX 0x00000000
+#define SUPERCONTENTS_CLUSTERPORTAL 0x00000000
+#define SUPERCONTENTS_DETAIL 0x00000000
+#define SUPERCONTENTS_STRUCTURAL 0x00000000
+#define SUPERCONTENTS_DONOTENTER 0x00000000
+#define SUPERCONTENTS_JUMPPAD 0x00000000
+#define SUPERCONTENTS_LADDER 0x00000000
+#define SUPERCONTENTS_MONSTER 0x00000000
+#define SUPERCONTENTS_MONSTERCLIP 0x00000000
+#define SUPERCONTENTS_PLAYERCLIP 0x00000000
+#define SUPERCONTENTS_TELEPORTER 0x00000000
+#define SUPERCONTENTS_TRANSLUCENT 0x00000000
+#define SUPERCONTENTS_TRIGGER 0x00000000
+#define SUPERCONTENTS_WINDOW 0x00000000
+*/
+
typedef struct
{