summaryrefslogtreecommitdiff
path: root/src/cgame/cg_local.h
diff options
context:
space:
mode:
authorPaweł Redman <pawel.redman@gmail.com>2020-03-29 19:59:19 +0200
committerPaweł Redman <pawel.redman@gmail.com>2020-03-29 20:09:17 +0200
commitd9e9bb2d95483cbf2ca5d6cf5ac7b9f490d40204 (patch)
treec71483e197da36ebf8b11fec3e05df5608c7dc78 /src/cgame/cg_local.h
parent36ebcd1cc0933ee0bfe9f6ac15879286d3199046 (diff)
Implement coronavirus
Diffstat (limited to 'src/cgame/cg_local.h')
-rw-r--r--src/cgame/cg_local.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cgame/cg_local.h b/src/cgame/cg_local.h
index 83c3162..f35c438 100644
--- a/src/cgame/cg_local.h
+++ b/src/cgame/cg_local.h
@@ -1142,6 +1142,7 @@ typedef struct
int ping;
} cg_t;
+#define NUM_COUGHING_SOUNDS 5
// all of the model, shader, and sound references that are
// loaded at gamestate time are stored in cgMedia_t
@@ -1273,6 +1274,8 @@ typedef struct
qhandle_t buildWeaponTimerPie[ 8 ];
qhandle_t upgradeClassIconShader;
+
+ sfxHandle_t coughingSounds[ NUM_COUGHING_SOUNDS ];
} cgMedia_t;
typedef struct