From 064c6646b3d1f270422dba2caf09b6bc75a1b27d Mon Sep 17 00:00:00 2001 From: Ben Millwood Date: Wed, 14 Oct 2009 22:33:56 +0000 Subject: * 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. --- src/cgame/cg_local.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/cgame/cg_local.h') 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, -- cgit