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:07:29 +0200
commitcad9e7c0e6bb22a945273ab6a39601db86d7db20 (patch)
tree947c5dc828da424df1de90a71ae845599f7de92b /src/cgame/cg_local.h
parent0e6b1bc4a15f598d5eab507cbbe0f11410d5df1f (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 e68e94b..7618118 100644
--- a/src/cgame/cg_local.h
+++ b/src/cgame/cg_local.h
@@ -1146,6 +1146,7 @@ typedef struct
int topSpeedTime;
} 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
@@ -1277,6 +1278,8 @@ typedef struct
qhandle_t buildWeaponTimerPie[ 8 ];
qhandle_t upgradeClassIconShader;
+
+ sfxHandle_t coughingSounds[ NUM_COUGHING_SOUNDS ];
} cgMedia_t;
typedef struct