]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - model_brush.h
Added Quake2 BSP support (IBSP38), this is a work in progress.
[xonotic/darkplaces.git] / model_brush.h
index 1621b491b8c15d5d2ccfbaeb903e3fc339a97d5a..37f780ad4db1b306138d2fe44aee4a6c03936b80 100644 (file)
@@ -225,6 +225,7 @@ svbspmesh_t;
 
 // Q2 bsp stuff
 
+#define Q2BSPMAGIC ('I' + 'B' * 256 + 'S' * 65536 + 'P' * 16777216)
 #define Q2BSPVERSION   38
 
 // leaffaces, leafbrushes, planes, and verts are still bounded by
@@ -325,7 +326,7 @@ typedef struct q2dmodel_s
 
 
 
-
+/*
 typedef struct q2dnode_s
 {
        int                     planenum;
@@ -336,7 +337,6 @@ typedef struct q2dnode_s
        unsigned short  numfaces;       // counting both sides
 } q2dnode_t;
 
-
 typedef struct q2texinfo_s
 {
        float           vecs[2][4];             // [s/t][xyz offset]
@@ -402,6 +402,7 @@ typedef struct q2darea_s
        int             numareaportals;
        int             firstareaportal;
 } q2darea_t;
+*/
 
 
 //Q3 bsp stuff