diff options
author | Sergeanur <s.anureev@yandex.ua> | 2020-06-03 00:24:08 +0200 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2020-06-03 00:24:08 +0200 |
commit | 509ca11d76373671281f17c7f828a0187ed7b9e4 (patch) | |
tree | c3d072fd7933274fbfc9f85f6be4a09613b2e7be /src/control/Script.h | |
parent | some CBike code; vehicle cleanup (diff) | |
parent | some vehicle cleanup (diff) | |
download | re3-509ca11d76373671281f17c7f828a0187ed7b9e4.tar re3-509ca11d76373671281f17c7f828a0187ed7b9e4.tar.gz re3-509ca11d76373671281f17c7f828a0187ed7b9e4.tar.bz2 re3-509ca11d76373671281f17c7f828a0187ed7b9e4.tar.lz re3-509ca11d76373671281f17c7f828a0187ed7b9e4.tar.xz re3-509ca11d76373671281f17c7f828a0187ed7b9e4.tar.zst re3-509ca11d76373671281f17c7f828a0187ed7b9e4.zip |
Diffstat (limited to 'src/control/Script.h')
-rw-r--r-- | src/control/Script.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/src/control/Script.h b/src/control/Script.h index 68d1dc7b..3044e770 100644 --- a/src/control/Script.h +++ b/src/control/Script.h @@ -379,6 +379,9 @@ private: friend class CHud; friend void CMissionCleanup::Process(); friend class CColStore; +#ifdef FIX_BUGS + friend void RetryMission(int, int); +#endif }; @@ -491,6 +494,10 @@ private: void LocateObjectCommand(int32, uint32*); void ObjectInAreaCheckCommand(int32, uint32*); +#ifdef MISSION_REPLAY + bool CanAllowMissionReplay(); +#endif + float LimitAngleOnCircle(float angle) { return angle < 0.0f ? angle + 360.0f : angle; } bool ThisIsAValidRandomPed(uint32 pedtype, int civ, int gang, int criminal) { @@ -523,4 +530,19 @@ private: #ifdef USE_DEBUG_SCRIPT_LOADER extern int scriptToLoad; +#endif +#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 + +#ifdef USE_DEBUG_SCRIPT_LOADER +extern int scriptToLoad; #endif
\ No newline at end of file |