X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=client.h;h=af4134347343ac1a33145f132ab8c4ca4fd4758e;hb=f510b19bbe2aa254df1a11f7f492771a9651fd7e;hp=b9077cc4b6b82bc0c80baf17da2e18a91f4003b0;hpb=0254ae31b9a4800d63f8d89507e5a9b31de455ea;p=xonotic%2Fdarkplaces.git diff --git a/client.h b/client.h index b9077cc4..af413434 100644 --- a/client.h +++ b/client.h @@ -35,6 +35,7 @@ typedef struct tridecal_s float texcoord2f[3][2]; float vertex3f[3][3]; 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 @@ -1656,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]; @@ -1824,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;