typedef struct tridecal_s
{
// color and initial alpha value
- unsigned char colors[3][4];
+ float texcoord2f[3][2];
+ float vertex3f[3][3];
+ unsigned char color4ub[3][4];
// how long this decal has lived so far (the actual fade begins at cl_decals_time)
float lived;
// if >= 0 this indicates the decal should follow an animated triangle
int triangleindex;
+ // for visibility culling
+ int surfaceindex;
+ // old decals are killed to obey cl_decals_max
+ int decalsequence;
}
tridecal_t;
// fields used by rendering: (44 bytes)
unsigned short typeindex;
unsigned short texnum;
+ int decalsequence;
vec3_t org;
vec3_t normal;
float size;
vec3_t playercrouchmins;
vec3_t playercrouchmaxs;
+ // old decals are killed based on this
+ int decalsequence;
+
int max_entities;
int max_csqcrenderentities;
int max_static_entities;
int lightmapupdates;
int lightmapupdatepixels;
int particles;
- int decals;
+ int drawndecals;
+ int totaldecals;
int meshes;
int meshes_elements;
int lights;