diff options
author | eray orçunus <erayorcunus@gmail.com> | 2019-06-24 16:57:54 +0200 |
---|---|---|
committer | eray orçunus <erayorcunus@gmail.com> | 2019-06-24 23:01:40 +0200 |
commit | 1e09bf9c30094b4387431be4842876181a1425fe (patch) | |
tree | 22ee6dfa941b6cc85619973311c357f11acc1ef1 /src/audio | |
parent | more Radar code (diff) | |
download | re3-1e09bf9c30094b4387431be4842876181a1425fe.tar re3-1e09bf9c30094b4387431be4842876181a1425fe.tar.gz re3-1e09bf9c30094b4387431be4842876181a1425fe.tar.bz2 re3-1e09bf9c30094b4387431be4842876181a1425fe.tar.lz re3-1e09bf9c30094b4387431be4842876181a1425fe.tar.xz re3-1e09bf9c30094b4387431be4842876181a1425fe.tar.zst re3-1e09bf9c30094b4387431be4842876181a1425fe.zip |
Diffstat (limited to 'src/audio')
-rw-r--r-- | src/audio/AudioManager.cpp | 15 | ||||
-rw-r--r-- | src/audio/AudioManager.h | 8 |
2 files changed, 23 insertions, 0 deletions
diff --git a/src/audio/AudioManager.cpp b/src/audio/AudioManager.cpp new file mode 100644 index 00000000..5da1d489 --- /dev/null +++ b/src/audio/AudioManager.cpp @@ -0,0 +1,15 @@ +#include "common.h" +#include "patcher.h" +#include "AudioManager.h" + +cAudioManager &AudioManager = *(cAudioManager*)0x880FC0; + +void +cAudioManager::PlayerJustLeftCar(void) +{ + // UNUSED: This is a perfectly empty function. +} + +STARTPATCHES + InjectHook(0x56AD20, &cAudioManager::PlayerJustLeftCar, PATCH_JUMP); +ENDPATCHES
\ No newline at end of file diff --git a/src/audio/AudioManager.h b/src/audio/AudioManager.h new file mode 100644 index 00000000..37dd3218 --- /dev/null +++ b/src/audio/AudioManager.h @@ -0,0 +1,8 @@ +#pragma once + +class cAudioManager { +public: + void PlayerJustLeftCar(void); +}; + +extern cAudioManager &AudioManager;
\ No newline at end of file |