]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - model_brush.h
Fix some signed/unsigned mess. Not a real problem though.
[xonotic/darkplaces.git] / model_brush.h
index 609a041e0216992d9f9f620318fecc5443e66631..d103f4543fa596a21329d24b8bc2364ebba5f8da 100644 (file)
@@ -120,6 +120,8 @@ mplane_t;
 #define MATERIALFLAG_NORTLIGHT 134217728
 // alphagen vertex
 #define MATERIALFLAG_ALPHAGEN_VERTEX 268435456
+// use occlusion buffer for corona
+#define MATERIALFLAG_OCCLUDE 536870912
 // 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
@@ -345,7 +347,7 @@ typedef struct q2texinfo_s
        float           vecs[2][4];             // [s/t][xyz offset]
        int                     flags;                  // miptex flags + overrides
        int                     value;                  // light emission, etc
-       char            texture[32];    // texture name (textures/*.wal)
+       char            texture[32];    // texture name (textures/something.wal)
        int                     nexttexinfo;    // for animations, -1 = end of chain
 } q2texinfo_t;