summaryrefslogtreecommitdiffstats
path: root/src/audio/AudioScriptObject.cpp
diff options
context:
space:
mode:
authorFire-Head <Fire-Head@users.noreply.github.com>2019-05-29 02:52:30 +0200
committerFire-Head <Fire-Head@users.noreply.github.com>2019-05-29 02:52:30 +0200
commit31e7428bdf788a465c2f72f75793cac88ec5d77a (patch)
treec05bad8c041335995af7ce47c15f9f2496c03a7e /src/audio/AudioScriptObject.cpp
parentmore CVehicleModelInfo (diff)
downloadre3-31e7428bdf788a465c2f72f75793cac88ec5d77a.tar
re3-31e7428bdf788a465c2f72f75793cac88ec5d77a.tar.gz
re3-31e7428bdf788a465c2f72f75793cac88ec5d77a.tar.bz2
re3-31e7428bdf788a465c2f72f75793cac88ec5d77a.tar.lz
re3-31e7428bdf788a465c2f72f75793cac88ec5d77a.tar.xz
re3-31e7428bdf788a465c2f72f75793cac88ec5d77a.tar.zst
re3-31e7428bdf788a465c2f72f75793cac88ec5d77a.zip
Diffstat (limited to '')
-rw-r--r--src/audio/AudioScriptObject.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/audio/AudioScriptObject.cpp b/src/audio/AudioScriptObject.cpp
new file mode 100644
index 00000000..7cb81f7a
--- /dev/null
+++ b/src/audio/AudioScriptObject.cpp
@@ -0,0 +1,7 @@
+#include "common.h"
+#include "AudioScriptObject.h"
+
+void PlayOneShotScriptObject(UInt8 id, CVector const &pos)
+{
+ ((void (__cdecl *)(UInt8, CVector const &))0x57C5F0)(id, pos);
+} \ No newline at end of file