]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - model_vbsp.h
README: Add link to Matrix space
[xonotic/darkplaces.git] / model_vbsp.h
index a4466c3ad88cfee5143ee41b77ebf63d7011bd4a..6de783b2cd681f88417ec67d27baeb09769b7db4 100644 (file)
@@ -33,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
@@ -152,7 +154,7 @@ 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;