From 5678a7bb3498f20123523f008df947a39eb44ccc Mon Sep 17 00:00:00 2001 From: Paweł Redman <pawel.redman@gmail.com> Date: Fri, 3 Apr 2015 00:33:39 +0200 Subject: Implement damage blobs. --- src/cgame/cg_local.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/cgame/cg_local.h') diff --git a/src/cgame/cg_local.h b/src/cgame/cg_local.h index 5816a9b..bb38c41 100644 --- a/src/cgame/cg_local.h +++ b/src/cgame/cg_local.h @@ -1198,6 +1198,7 @@ typedef struct qhandle_t teamOverlayShader; qhandle_t numberShaders[ 11 ]; + qhandle_t numberShadersAlt[ 11 ]; qhandle_t shadowMarkShader; qhandle_t wakeMarkShader; @@ -1606,6 +1607,9 @@ extern vmCvar_t cg_viewQuake; extern vmCvar_t cg_viewQuakeLambda; extern vmCvar_t cg_viewQuakeLimit; +extern vmCvar_t cg_damageBlobSize; +extern vmCvar_t cg_damageBlobAlpha; + // // cg_main.c // @@ -1703,6 +1707,7 @@ void CG_UpdateMediaFraction( float newFract ); void CG_ResetPainBlend( void ); void CG_DrawField( float x, float y, int width, float cw, float ch, int value ); +void CG_SpawnDamageBlob( vec3_t origin, int value, int flags ); // // cg_players.c // -- cgit From f639515054b2122c7166793f7c0a0a751087209f Mon Sep 17 00:00:00 2001 From: Paweł Redman <pawel.redman@gmail.com> Date: Fri, 3 Apr 2015 13:51:24 +0200 Subject: Make health bars customizable with cvars. --- src/cgame/cg_local.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/cgame/cg_local.h') diff --git a/src/cgame/cg_local.h b/src/cgame/cg_local.h index bb38c41..83cac63 100644 --- a/src/cgame/cg_local.h +++ b/src/cgame/cg_local.h @@ -1610,6 +1610,9 @@ extern vmCvar_t cg_viewQuakeLimit; extern vmCvar_t cg_damageBlobSize; extern vmCvar_t cg_damageBlobAlpha; +extern vmCvar_t cg_healthBarSize; +extern vmCvar_t cg_healthBarAlpha; + // // cg_main.c // -- cgit