diff options
author | Tim Angus <tim@ngus.net> | 2009-10-12 22:36:35 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2013-01-03 00:16:48 +0000 |
commit | 35249fc2c3762fe1690559772a6d89724fb7469c (patch) | |
tree | efad01bc9142be45298594fbf8c01fdcca5e8237 /src/ui/ui_local.h | |
parent | 6e5fbea644646afa82130be9bf366d866c9838ca (diff) |
* Add [trap_R|RE]_SetClipRegion to prevent rendering outside a specified area
* Rewrite CG_DrawTeamSpectators to scroll on a pixel basis rather than a character basis
Diffstat (limited to 'src/ui/ui_local.h')
-rw-r--r-- | src/ui/ui_local.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ui/ui_local.h b/src/ui/ui_local.h index 1f7ecf40..86649d62 100644 --- a/src/ui/ui_local.h +++ b/src/ui/ui_local.h @@ -344,6 +344,7 @@ void trap_R_AddPolyToScene( qhandle_t hShader , int numVerts, const polyVer void trap_R_AddLightToScene( const vec3_t org, float intensity, float r, float g, float b ); void trap_R_RenderScene( const refdef_t *fd ); void trap_R_SetColor( const float *rgba ); +void trap_R_SetClipRegion( const float *region ); void trap_R_DrawStretchPic( float x, float y, float w, float h, float s1, float t1, float s2, float t2, qhandle_t hShader ); void trap_R_ModelBounds( clipHandle_t model, vec3_t mins, vec3_t maxs ); void trap_UpdateScreen( void ); |