diff options
author | aap <aap@papnet.eu> | 2019-06-28 19:23:28 +0200 |
---|---|---|
committer | aap <aap@papnet.eu> | 2019-06-28 19:23:28 +0200 |
commit | 48cf8b6629da53443be6b1580ee15ad768c53370 (patch) | |
tree | d6bdeb18130b49096a995789840faf382f68f7ee /src/control | |
parent | Merge pull request #67 from gennariarmando/master (diff) | |
download | re3-48cf8b6629da53443be6b1580ee15ad768c53370.tar re3-48cf8b6629da53443be6b1580ee15ad768c53370.tar.gz re3-48cf8b6629da53443be6b1580ee15ad768c53370.tar.bz2 re3-48cf8b6629da53443be6b1580ee15ad768c53370.tar.lz re3-48cf8b6629da53443be6b1580ee15ad768c53370.tar.xz re3-48cf8b6629da53443be6b1580ee15ad768c53370.tar.zst re3-48cf8b6629da53443be6b1580ee15ad768c53370.zip |
Diffstat (limited to '')
-rw-r--r-- | src/control/Population.cpp | 2 | ||||
-rw-r--r-- | src/control/Population.h | 1 | ||||
-rw-r--r-- | src/control/Replay.cpp | 2 | ||||
-rw-r--r-- | src/control/Replay.h | 1 |
4 files changed, 6 insertions, 0 deletions
diff --git a/src/control/Population.cpp b/src/control/Population.cpp index fd1a89f5..7b1acaaf 100644 --- a/src/control/Population.cpp +++ b/src/control/Population.cpp @@ -1,8 +1,10 @@ #include "common.h" #include "patcher.h" +#include "Game.h" #include "Population.h" PedGroup *CPopulation::ms_pPedGroups = (PedGroup*)0x6E9248; bool &CPopulation::ms_bGivePedsWeapons = *(bool*)0x95CCF6; WRAPPER void CPopulation::UpdatePedCount(uint32, bool) { EAXJMP(0x4F5A60); } +WRAPPER void CPopulation::DealWithZoneChange(eLevelName oldLevel, eLevelName newLevel, bool) { EAXJMP(0x4F6200); } diff --git a/src/control/Population.h b/src/control/Population.h index 76442442..e93e14fc 100644 --- a/src/control/Population.h +++ b/src/control/Population.h @@ -14,4 +14,5 @@ public: static bool &ms_bGivePedsWeapons; static void UpdatePedCount(uint32, bool); + static void DealWithZoneChange(eLevelName oldLevel, eLevelName newLevel, bool); }; diff --git a/src/control/Replay.cpp b/src/control/Replay.cpp index 8003b407..2e0f07ee 100644 --- a/src/control/Replay.cpp +++ b/src/control/Replay.cpp @@ -165,6 +165,8 @@ void CReplay::Init(void) bDoLoadSceneWhenDone = false; } +WRAPPER void CReplay::EmptyReplayBuffer(void) { EAXJMP(0x595BD0); } + void CReplay::DisableReplays(void) { bReplayEnabled = false; diff --git a/src/control/Replay.h b/src/control/Replay.h index b622788f..c4f3b1a2 100644 --- a/src/control/Replay.h +++ b/src/control/Replay.h @@ -244,6 +244,7 @@ private: public: static void Init(void); + static void EmptyReplayBuffer(void); static void DisableReplays(void); static void EnableReplays(void); static void Update(void); |