mirror of
https://github.com/halpz/re3.git
synced 2025-06-30 00:16:22 +00:00
CPed, CVehicle, mostly entering/exiting car
Signed-off-by: eray orçunus <erayorcunus@gmail.com>
This commit is contained in:
15
src/audio/AudioManager.cpp
Normal file
15
src/audio/AudioManager.cpp
Normal file
@ -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
|
8
src/audio/AudioManager.h
Normal file
8
src/audio/AudioManager.h
Normal file
@ -0,0 +1,8 @@
|
||||
#pragma once
|
||||
|
||||
class cAudioManager {
|
||||
public:
|
||||
void PlayerJustLeftCar(void);
|
||||
};
|
||||
|
||||
extern cAudioManager &AudioManager;
|
Reference in New Issue
Block a user