summaryrefslogtreecommitdiff
path: root/include/audio.h
diff options
context:
space:
mode:
authorAldrik Ramaekers <aldrik@amftech.nl>2023-10-28 10:52:18 +0200
committerAldrik Ramaekers <aldrik@amftech.nl>2023-10-28 10:52:18 +0200
commit18c1dfbb78d98516f5480f8199910fe41ac904df (patch)
tree8ee69fde44ac3b8969ebf529883656a2d05b1e45 /include/audio.h
parent641f81317a5b5cea6b3c5a4c65b1ca4313b0d8c0 (diff)
sound layer, bouncing
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