X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;f=client.h;h=92616050e20662ced6906326c4fd4dbf27d8f8be;hb=55fdd472aa5f61698dbc7fc20406d5342dde3648;hp=e30360b74b31473a1c6f1b6d5518fb21f38b6f67;hpb=9b45c4242e6f64c354ab7d55366a2cecbfd86a10;p=xonotic%2Fdarkplaces.git diff --git a/client.h b/client.h index e30360b7..92616050 100644 --- a/client.h +++ b/client.h @@ -441,6 +441,13 @@ typedef struct capturevideostate_s fs_offset_t videofile_totalframes_offset1; fs_offset_t videofile_totalframes_offset2; fs_offset_t videofile_totalsampleframes_offset; + int videofile_ix_master_audio_inuse; + fs_offset_t videofile_ix_master_audio_inuse_offset; + fs_offset_t videofile_ix_master_audio_start_offset; + int videofile_ix_master_video_inuse; + fs_offset_t videofile_ix_master_video_inuse_offset; + fs_offset_t videofile_ix_master_video_start_offset; + fs_offset_t videofile_ix_movistart; qfile_t *videofile; qboolean active; qboolean realtime; @@ -1403,7 +1410,11 @@ typedef struct r_view_s vec3_t left; vec3_t right; vec3_t up; - mplane_t frustum[5]; + int numfrustumplanes; + mplane_t frustum[6]; + qboolean useclipplane; + qboolean usecustompvs; // uses r_viewcache.pvsbits as-is rather than computing it + mplane_t clipplane; float frustum_x, frustum_y; vec3_t frustumcorner[4]; // if turned off it renders an ortho view @@ -1423,6 +1434,15 @@ typedef struct r_view_s // global RGB color multiplier for rendering, this is required by HDR float colorscale; + + // whether to draw r_showtris and such, this is only true for the main + // view render, all secondary renders (HDR, mirrors, portals, cameras, + // distortion effects, etc) omit such debugging information + qboolean showdebug; + + // these define which values to use in GL_CullFace calls to request frontface or backface culling + int cullface_front; + int cullface_back; } r_view_t; @@ -1436,11 +1456,11 @@ typedef struct r_viewcache_s // flag arrays used for visibility checking on world model // (all other entities have no per-surface/per-leaf visibility checks) // TODO: dynamic resize according to r_refdef.worldmodel->brush.num_clusters - unsigned char world_pvsbits[(32768+7)>>3]; + unsigned char world_pvsbits[(32768+7)>>3]; // FIXME: buffer overflow on huge maps // TODO: dynamic resize according to r_refdef.worldmodel->brush.num_leafs - unsigned char world_leafvisible[32768]; + unsigned char world_leafvisible[32768]; // FIXME: buffer overflow on huge maps // TODO: dynamic resize according to r_refdef.worldmodel->num_surfaces - unsigned char world_surfacevisible[262144]; + unsigned char world_surfacevisible[262144]; // FIXME: buffer overflow on huge maps // if true, the view is currently in a leaf without pvs data qboolean world_novis; }