]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - model_vbsp.h
cvar: Remove unused ignore_callback variable
[xonotic/darkplaces.git] / model_vbsp.h
index c350e653165d7111124a77cec15bc79832a8d573..6de783b2cd681f88417ec67d27baeb09769b7db4 100644 (file)
@@ -18,6 +18,9 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 
 */
 
+#ifndef MODEL_VBSP_H
+#define MODEL_VBSP_H
+
 #include "qtypes.h"
 #include "qdefs.h"
 
@@ -30,6 +33,8 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
  * VBSP version number the same.
  */
 
+#define VBSPVERSION ('V' + 'B' * 256 + 'S' * 65536 + 'P' * 16777216)
+
 // Content flags
 #define HL2CONTENTS_NONE 0
 #define HL2CONTENTS_SOLID 0x1
@@ -149,8 +154,10 @@ typedef struct hl2lump_s
 
 typedef struct hl2dheader_s
 {
-       int32_t id;
+       int32_t ident;
        int32_t version;
        hl2lump_t lumps[HL2HEADER_LUMPS];
        int32_t revision;
 } hl2dheader_t;
+
+#endif