]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - modelgen.h
Updated a few entries in the todo file
[xonotic/darkplaces.git] / modelgen.h
index 41691072378464104843128017d8ac166f00b579..7439c2818f467784983c17964d7891474f98d725 100644 (file)
@@ -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