]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - client.h
replaced cl_particles_novis with cl_particles_visculling and
[xonotic/darkplaces.git] / client.h
index 63502b516d6e2ee4c296d4b9a3676a17c2286e1f..73aa6e1b3455273ee5dec35a2e80e2ee3487127b 100644 (file)
--- a/client.h
+++ b/client.h
@@ -677,7 +677,7 @@ ptype_t;
 
 typedef struct decal_s
 {
-       // fields used by rendering:  (40 bytes)
+       // fields used by rendering:  (44 bytes)
        unsigned short  typeindex;
        unsigned short  texnum;
        vec3_t                  org;
@@ -686,6 +686,7 @@ typedef struct decal_s
        float                   alpha; // 0-255
        unsigned char   color[3];
        unsigned char   unused1;
+       int                             clusterindex; // cheap culling by pvs
 
        // fields not used by rendering: (36 bytes in 32bit, 40 bytes in 64bit)
        float                   time2; // used for decal fade