summaryrefslogtreecommitdiffstats
path: root/src/audio
diff options
context:
space:
mode:
Diffstat (limited to 'src/audio')
-rw-r--r--src/audio/DMAudio.cpp5
-rw-r--r--src/audio/DMAudio.h9
2 files changed, 14 insertions, 0 deletions
diff --git a/src/audio/DMAudio.cpp b/src/audio/DMAudio.cpp
new file mode 100644
index 00000000..cc8d4e8b
--- /dev/null
+++ b/src/audio/DMAudio.cpp
@@ -0,0 +1,5 @@
+#include "common.h"
+#include "patcher.h"
+#include "DMAudio.h"
+
+WRAPPER void cDMAudio::ReportCollision(CEntity *A, CEntity *B, uint8 surfA, uint8 surfB, float impulse, float speed) { EAXJMP(0x161684); }
diff --git a/src/audio/DMAudio.h b/src/audio/DMAudio.h
new file mode 100644
index 00000000..8d49be27
--- /dev/null
+++ b/src/audio/DMAudio.h
@@ -0,0 +1,9 @@
+#pragma once
+
+class CEntity;
+
+class cDMAudio
+{
+public:
+ static void ReportCollision(CEntity *A, CEntity *B, uint8 surfA, uint8 surfB, float impulse, float speed);
+};