diff options
author | Ben Millwood <thebenmachine@gmail.com> | 2009-10-14 22:33:56 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2013-01-03 00:16:50 +0000 |
commit | 064c6646b3d1f270422dba2caf09b6bc75a1b27d (patch) | |
tree | 5d45aa4b734afbe6eb4e8c5752e69ea765b6055a /src/cgame/cg_local.h | |
parent | 98abaa24e6ba46aaa44a0d458a0f4f2208ace21d (diff) |
* New ownerdraw for speedometer
- Controlled by cg_drawSpeed, which is a bitfield
Bit 1 controls the text draw, bit 2 controls the graph, and bit 4
ignores vertical speed in the calculation.
Diffstat (limited to 'src/cgame/cg_local.h')
-rw-r--r-- | src/cgame/cg_local.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cgame/cg_local.h b/src/cgame/cg_local.h index 7302ac78..22d312d9 100644 --- a/src/cgame/cg_local.h +++ b/src/cgame/cg_local.h @@ -1474,6 +1474,7 @@ extern vmCvar_t cg_thirdPersonPitchFollow; extern vmCvar_t cg_thirdPersonRange; extern vmCvar_t cg_stereoSeparation; extern vmCvar_t cg_lagometer; +extern vmCvar_t cg_drawSpeed; extern vmCvar_t cg_synchronousClients; extern vmCvar_t cg_stats; extern vmCvar_t cg_paused; @@ -1615,6 +1616,7 @@ char CG_GetColorCharForHealth( int clientnum ); void CG_AddLagometerFrameInfo( void ); void CG_AddLagometerSnapshotInfo( snapshot_t *snap ); +void CG_AddSpeed( void ); void CG_CenterPrint( const char *str, int y, int charWidth ); void CG_DrawActive( stereoFrame_t stereoView ); void CG_OwnerDraw( float x, float y, float w, float h, float text_x, |