X-Git-Url: http://git.xonotic.org/?p=xonotic%2Fdarkplaces.git;a=blobdiff_plain;f=model_vbsp.h;h=6de783b2cd681f88417ec67d27baeb09769b7db4;hp=c350e653165d7111124a77cec15bc79832a8d573;hb=7ea07939bef0cbe85c54d9f68cb924198b0b1f64;hpb=b0f58d418242fbf593e98ba88ff2b1a2a9ff89e8 diff --git a/model_vbsp.h b/model_vbsp.h index c350e653..6de783b2 100644 --- a/model_vbsp.h +++ b/model_vbsp.h @@ -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