X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=client.h;h=af4134347343ac1a33145f132ab8c4ca4fd4758e;hb=f510b19bbe2aa254df1a11f7f492771a9651fd7e;hp=b26d51985f27435f275bfdf1f1a86d797ac9f19f;hpb=f575e5ad7f9eab64e89b714e75ff5dd92e49f373;p=xonotic%2Fdarkplaces.git diff --git a/client.h b/client.h index b26d5198..af413434 100644 --- a/client.h +++ b/client.h @@ -34,7 +34,8 @@ typedef struct tridecal_s // color and initial alpha value float texcoord2f[3][2]; float vertex3f[3][3]; - unsigned char color4ub[3][4]; + float color4f[3][4]; + float plane[4]; // backface culling // 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 @@ -1579,6 +1580,9 @@ typedef struct r_refdef_stats_s int bouncegrid_hits; int bouncegrid_splats; int bouncegrid_bounces; + int collisioncache_animated; + int collisioncache_cached; + int collisioncache_traced; int bloom; int bloom_copypixels; int bloom_drawpixels; @@ -1653,7 +1657,7 @@ typedef struct r_refdef_view_s int width; int height; int depth; - r_viewport_t viewport; + r_viewport_t viewport; // note: if r_viewscale is used, the viewport.width and viewport.height may be less than width and height // which color components to allow (for anaglyph glasses) int colormask[4]; @@ -1729,6 +1733,7 @@ typedef struct r_refdef_scene_s { entity_render_t *tempentities; int numtempentities; int maxtempentities; + qboolean expandtempentities; // renderable dynamic lights rtlight_t *lights[MAX_DLIGHTS]; @@ -1820,6 +1825,9 @@ typedef struct r_refdef_s float shadowpolygonfactor; float shadowpolygonoffset; + // how long R_RenderView took on the previous frame + double lastdrawscreentime; + // rendering stats for r_speeds display // (these are incremented in many places) r_refdef_stats_t stats;