From d6fa5c74ba80688a3e14d2e099bfb6077323d079 Mon Sep 17 00:00:00 2001 From: Paweł Redman Date: Sat, 4 Apr 2015 19:19:17 +0200 Subject: Initial implementation of hit sounds. --- src/cgame/cg_local.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/cgame/cg_local.h') diff --git a/src/cgame/cg_local.h b/src/cgame/cg_local.h index 2d2598c..6c3325a 100644 --- a/src/cgame/cg_local.h +++ b/src/cgame/cg_local.h @@ -1349,6 +1349,8 @@ typedef struct qhandle_t lightningBeam; qhandle_t lightningImpactPS; + + sfxHandle_t hitSounds[ 5 ]; } cgMedia_t; typedef struct @@ -1613,6 +1615,8 @@ extern vmCvar_t cg_damageBlobAlpha; extern vmCvar_t cg_healthBarSize; extern vmCvar_t cg_healthBarAlpha; +extern vmCvar_t cg_hitSounds; + // // cg_main.c // -- cgit