]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - modelgen.h
this commit adds video mode switching, and preferred mode is saved to config, no...
[xonotic/darkplaces.git] / modelgen.h
index b8b75dd3b5e9fa43a7b71b360ba5fed980765587..7439c2818f467784983c17964d7891474f98d725 100644 (file)
@@ -27,8 +27,10 @@ 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 ALIAS32_VERSION        7
 
 #define ALIAS_ONSEAM                           0x0020
 
@@ -73,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 {
@@ -109,6 +111,5 @@ typedef struct {
        aliasskintype_t type;
 } daliasskintype_t;
 
-#define IDPOLYHEADER   (('O'<<24)+('P'<<16)+('D'<<8)+'I')
-                                                                                                               // little-endian "IDPO"
+#endif