summaryrefslogtreecommitdiffstats
path: root/src/control/Restart.cpp
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2019-10-07 23:29:30 +0200
committerSergeanur <s.anureev@yandex.ua>2019-10-08 16:13:23 +0200
commit69963cea68b3057c0e590e30ee438dff801a4d07 (patch)
tree72a25c528dcab00922643b6b820703226b8a6d82 /src/control/Restart.cpp
parentFixed crash when aboarding train (diff)
downloadre3-69963cea68b3057c0e590e30ee438dff801a4d07.tar
re3-69963cea68b3057c0e590e30ee438dff801a4d07.tar.gz
re3-69963cea68b3057c0e590e30ee438dff801a4d07.tar.bz2
re3-69963cea68b3057c0e590e30ee438dff801a4d07.tar.lz
re3-69963cea68b3057c0e590e30ee438dff801a4d07.tar.xz
re3-69963cea68b3057c0e590e30ee438dff801a4d07.tar.zst
re3-69963cea68b3057c0e590e30ee438dff801a4d07.zip
Diffstat (limited to '')
-rw-r--r--src/control/Restart.cpp9
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