]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - modelgen.h
fix for EF_FLAME and lots of other bugs with 16bit/8bit fields (modelindex, frame...
[xonotic/darkplaces.git] / modelgen.h
index 41691072378464104843128017d8ac166f00b579..3b5fd543878a39f9550a6bde505dfb3d885e0bed 100644 (file)
@@ -72,8 +72,8 @@ typedef struct dtriangle_s {
 // load this data
 
 typedef struct {
-       byte    v[3];
-       byte    lightnormalindex;
+       qbyte   v[3];
+       qbyte   lightnormalindex;
 } trivertx_t;
 
 typedef struct {
@@ -107,7 +107,3 @@ typedef struct {
 typedef struct {
        aliasskintype_t type;
 } daliasskintype_t;
-
-#define IDPOLYHEADER   (('O'<<24)+('P'<<16)+('D'<<8)+'I')
-                                                                                                               // little-endian "IDPO"
-