mirror of
https://github.com/GTAmodding/re3.git
synced 2025-10-10 09:10:34 +00:00
CPed, CVehicle, mostly entering/exiting car
Signed-off-by: eray orçunus <erayorcunus@gmail.com>
This commit is contained in:
parent
4d84d94166
commit
1e09bf9c30
14 changed files with 789 additions and 40 deletions
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;
|
Loading…
Add table
Add a link
Reference in a new issue