diff options
author | Sergeanur <s.anureev@yandex.ua> | 2019-10-08 00:29:30 +0300 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2019-10-08 17:13:23 +0300 |
commit | 69963cea68b3057c0e590e30ee438dff801a4d07 (patch) | |
tree | 72a25c528dcab00922643b6b820703226b8a6d82 /src/control/Restart.cpp | |
parent | 3e2572669713a7d3ec10a47718bc31b56a8914e2 (diff) |
Full CGameLogic
Diffstat (limited to 'src/control/Restart.cpp')
-rw-r--r-- | src/control/Restart.cpp | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/control/Restart.cpp b/src/control/Restart.cpp index c5c46b51..40b95c23 100644 --- a/src/control/Restart.cpp +++ b/src/control/Restart.cpp @@ -2,6 +2,13 @@ #include "patcher.h" #include "Restart.h" +bool &CRestart::OverrideHospitalLevel = *(bool*)0x95CD4C; +bool &CRestart::OverridePoliceStationLevel = *(bool*)0x95CD50; +bool &CRestart::bFadeInAfterNextArrest = *(bool*)0x95CD69; +bool &CRestart::bFadeInAfterNextDeath = *(bool*)0x95CD9D; + WRAPPER void CRestart::AddHospitalRestartPoint(const CVector&, float) { EAXJMP(0x436100); } WRAPPER void CRestart::AddPoliceRestartPoint(const CVector&, float) { EAXJMP(0x436150); } -WRAPPER void CRestart::OverrideNextRestart(const CVector&, float) { EAXJMP(0x4366C0); }
\ No newline at end of file +WRAPPER void CRestart::OverrideNextRestart(const CVector&, float) { EAXJMP(0x4366C0); } +WRAPPER void CRestart::FindClosestHospitalRestartPoint(const CVector &, CVector *, float *) { EAXJMP(0x4361A0); } +WRAPPER void CRestart::FindClosestPoliceRestartPoint(const CVector &, CVector *, float *) { EAXJMP(0x436450); }
\ No newline at end of file |