summaryrefslogtreecommitdiff
path: root/include/audio.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/audio.h')
-rw-r--r--include/audio.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/audio.h b/include/audio.h
new file mode 100644
index 0000000..98cb356
--- /dev/null
+++ b/include/audio.h
@@ -0,0 +1,11 @@
+#ifndef INCLUDE_AUDIO_
+#define INCLUDE_AUDIO_
+
+#include <projectbase/project_base.h>
+
+#define CHANNEL_THROWABLES 0
+
+void play_sound(int channel, Mix_Chunk* wav);
+void play_positioned_sound(int channel, Mix_Chunk* wav, vec3f pos, float max_audible_dist);
+
+#endif \ No newline at end of file