summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/asset_defs.h3
-rw-r--r--include/audio.h3
2 files changed, 5 insertions, 1 deletions
diff --git a/include/asset_defs.h b/include/asset_defs.h
index e1dd72a..57613de 100644
--- a/include/asset_defs.h
+++ b/include/asset_defs.h
@@ -73,6 +73,9 @@ Mix_Chunk* wav_character;
Mix_Chunk* wav_round_change;
Mix_Chunk* wav_step;
+#define NUM_SCREECHES 11
+Mix_Chunk* wav_screech[NUM_SCREECHES];
+
Mix_Music* music_inside1;
void load_assets();
diff --git a/include/audio.h b/include/audio.h
index 705748e..1ab8322 100644
--- a/include/audio.h
+++ b/include/audio.h
@@ -25,6 +25,7 @@ typedef enum t_audio_event_type {
EVENT_ROUND_CHANGE,
EVENT_CHARACTER_TYPE,
EVENT_FOOTSTEP,
+ EVENT_ZOMBIESCREECH,
} audio_event_type;
typedef struct t_audio_event {
@@ -45,7 +46,7 @@ int max_audio_events = MAX_AUDIO_EVENTS;
void play_music(Mix_Music* music);
void audio_channel_finished(int channel);
void add_throwable_audio_event_to_queue(audio_event_type event, throwable_type throwable, u32 playerid, vec3f position);
-void add_zombie_audio_event_to_queue(audio_event_type event, zombie_type zombie, u32 playerid, vec3f position);
+void add_zombie_audio_event_to_queue(audio_event_type event, zombie_type zombie, vec3f position);
void add_object_audio_event_to_queue(audio_event_type event, object_type obj, u32 playerid, vec3f position);
void add_audio_event_to_queue(audio_event_type event, u32 playerid, vec3f position);
void add_ui_audio_event_to_queue(audio_event_type event);