diff options
author | eray orçunus <erayorcunus@gmail.com> | 2020-05-28 10:40:56 +0200 |
---|---|---|
committer | eray orçunus <erayorcunus@gmail.com> | 2020-05-28 10:40:56 +0200 |
commit | 98fec63ca7c870d2e8afd0e6649fe9cec7459213 (patch) | |
tree | 9f6e694fc0fc1fdefc641f57d39c1ec5598ae449 /src/control/Script.h | |
parent | Frontend customization functions, freecam toggle, minor things (diff) | |
parent | Merge pull request #599 from Nick007J/master (diff) | |
download | re3-98fec63ca7c870d2e8afd0e6649fe9cec7459213.tar re3-98fec63ca7c870d2e8afd0e6649fe9cec7459213.tar.gz re3-98fec63ca7c870d2e8afd0e6649fe9cec7459213.tar.bz2 re3-98fec63ca7c870d2e8afd0e6649fe9cec7459213.tar.lz re3-98fec63ca7c870d2e8afd0e6649fe9cec7459213.tar.xz re3-98fec63ca7c870d2e8afd0e6649fe9cec7459213.tar.zst re3-98fec63ca7c870d2e8afd0e6649fe9cec7459213.zip |
Diffstat (limited to 'src/control/Script.h')
-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 |