summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/asset_defs.h1
-rw-r--r--include/audio.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/include/asset_defs.h b/include/asset_defs.h
index 9cfc48b..e1dd72a 100644
--- a/include/asset_defs.h
+++ b/include/asset_defs.h
@@ -73,6 +73,7 @@ Mix_Chunk* wav_character;
Mix_Chunk* wav_round_change;
Mix_Chunk* wav_step;
+Mix_Music* music_inside1;
void load_assets();
font* get_font(platform_window* window, float scale);
diff --git a/include/audio.h b/include/audio.h
index b2bdf1b..705748e 100644
--- a/include/audio.h
+++ b/include/audio.h
@@ -42,6 +42,7 @@ audio_event audio_events[MAX_AUDIO_EVENTS] = {0};
bool audio_channel_usage[NUM_AUDIO_CHANNELS] = {0};
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);