X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;ds=sidebyside;f=modelgen.h;h=7439c2818f467784983c17964d7891474f98d725;hb=9e1d9d449d3f69ade2f01e16e47d1e0ab3cf1688;hp=41691072378464104843128017d8ac166f00b579;hpb=855932aeb5707c5efb2858c3e51b913d8203ebbe;p=xonotic%2Fdarkplaces.git diff --git a/modelgen.h b/modelgen.h index 41691072..7439c281 100644 --- a/modelgen.h +++ b/modelgen.h @@ -27,6 +27,9 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. // * pass data from one to the other via model files. * // ********************************************************* +#ifndef MODELGEN_H +#define MODELGEN_H + #define ALIAS_VERSION 6 #define ALIAS_ONSEAM 0x0020 @@ -72,8 +75,8 @@ typedef struct dtriangle_s { // load this data typedef struct { - byte v[3]; - byte lightnormalindex; + qbyte v[3]; + qbyte lightnormalindex; } trivertx_t; typedef struct { @@ -108,6 +111,5 @@ typedef struct { aliasskintype_t type; } daliasskintype_t; -#define IDPOLYHEADER (('O'<<24)+('P'<<16)+('D'<<8)+'I') - // little-endian "IDPO" +#endif