summaryrefslogtreecommitdiff
path: root/include/audio.h
diff options
context:
space:
mode:
authorAldrik Ramaekers <aldrik@amftech.nl>2024-01-07 14:17:07 +0100
committerAldrik Ramaekers <aldrik@amftech.nl>2024-01-07 14:17:07 +0100
commit79eb2237b94900941c35859875c4bae21fa4fff6 (patch)
treee40d1b81f4659286503ca1ef2d57657c64e811d3 /include/audio.h
parent843440d1e382f909d066c82d2269df67251b35f9 (diff)
fix ui audio source pos
Diffstat (limited to 'include/audio.h')
-rw-r--r--include/audio.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/audio.h b/include/audio.h
index 9ee0bfd..5199854 100644
--- a/include/audio.h
+++ b/include/audio.h
@@ -43,6 +43,7 @@ typedef struct t_audio_event {
#define MAX_AUDIO_EVENTS (NUM_AUDIO_CHANNELS)
audio_event audio_events[MAX_AUDIO_EVENTS] = {0};
int max_audio_events = MAX_AUDIO_EVENTS;
+vec3f global_audio_source_position =(vec3f){-1,-1,-1};
void play_music(Mix_Music* music);
void add_throwable_audio_event_to_queue(audio_event_type event, throwable_type throwable, u32 playerid, vec3f position);