diff options
author | aap <aap@papnet.eu> | 2020-05-28 10:25:14 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-28 10:25:14 +0200 |
commit | 9bcec542911c461d60dd80772b97f30399f3c818 (patch) | |
tree | eb2d5037c4ec34298b06f99f36f1a29f01aec77c /src/control/Script.h | |
parent | crash fix (diff) | |
parent | Merge remote-tracking branch 'upstream/master' (diff) | |
download | re3-9bcec542911c461d60dd80772b97f30399f3c818.tar re3-9bcec542911c461d60dd80772b97f30399f3c818.tar.gz re3-9bcec542911c461d60dd80772b97f30399f3c818.tar.bz2 re3-9bcec542911c461d60dd80772b97f30399f3c818.tar.lz re3-9bcec542911c461d60dd80772b97f30399f3c818.tar.xz re3-9bcec542911c461d60dd80772b97f30399f3c818.tar.zst re3-9bcec542911c461d60dd80772b97f30399f3c818.zip |
Diffstat (limited to '')
-rw-r--r-- | src/control/Script.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/control/Script.h b/src/control/Script.h index acab66cc..743fad99 100644 --- a/src/control/Script.h +++ b/src/control/Script.h @@ -372,6 +372,9 @@ private: friend class CRunningScript; friend class CHud; friend void CMissionCleanup::Process(); +#ifdef FIX_BUGS + friend void RetryMission(int, int); +#endif }; @@ -479,6 +482,10 @@ private: void CharInAreaCheckCommand(int32, uint32*); void CarInAreaCheckCommand(int32, uint32*); +#ifdef MISSION_REPLAY + bool CanAllowMissionReplay(); +#endif + float LimitAngleOnCircle(float angle) { return angle < 0.0f ? angle + 360.0f : angle; } bool ThisIsAValidRandomPed(uint32 pedtype) { @@ -502,3 +509,15 @@ private: } } }; + +#ifdef MISSION_REPLAY +extern int AllowMissionReplay; +extern uint32 WaitForMissionActivate; +extern uint32 WaitForSave; +extern uint32 MissionStartTime; +extern int missionRetryScriptIndex; +extern bool doingMissionRetry; + +uint32 AddExtraDeathDelay(); +void RetryMission(int, int); +#endif |