]> 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 951ed91fedebbafcf3393bf16236c014aef226fe..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 {
@@ -107,3 +110,6 @@ typedef struct {
 typedef struct {
        aliasskintype_t type;
 } daliasskintype_t;
+
+#endif
+