]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - model_brush.h
skel_build: normalize the per-bone matrices
[xonotic/darkplaces.git] / model_brush.h
index f1b60e0e7dc15b79a80eb01f1a99e4259316345b..1621b491b8c15d5d2ccfbaeb903e3fc339a97d5a 100644 (file)
@@ -118,6 +118,8 @@ mplane_t;
 #define MATERIALFLAG_CAMERA 67108864
 // disable rtlight on surface, use R_LightPoint instead
 #define MATERIALFLAG_NORTLIGHT 134217728
+// alphagen vertex
+#define MATERIALFLAG_ALPHAGEN_VERTEX 268435456
 // combined mask of all attributes that require depth sorted rendering
 #define MATERIALFLAGMASK_DEPTHSORTED (MATERIALFLAG_BLENDED | MATERIALFLAG_NODEPTHTEST)
 // combined mask of all attributes that cause some sort of transparency
@@ -125,7 +127,7 @@ mplane_t;
 
 typedef struct medge_s
 {
-       unsigned short v[2];
+       unsigned int v[2];
 }
 medge_t;
 
@@ -149,8 +151,8 @@ typedef struct mnode_s
        struct mnode_s *children[2];
 
        // q1bsp specific
-       unsigned short firstsurface;
-       unsigned short numsurfaces;
+       unsigned int firstsurface;
+       unsigned int numsurfaces;
 }
 mnode_t;