summaryrefslogtreecommitdiffstats
path: root/src/control/Script.h
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-06-03 08:26:33 +0200
committeraap <aap@papnet.eu>2020-06-03 08:26:33 +0200
commitad03d9543b4710eabcbbd83aada7848151fd6846 (patch)
tree8e862f33d6870757ff14ad0c79ad09e14c24a590 /src/control/Script.h
parentforgot the fucking file (diff)
parentMerge remote-tracking branch 'origin/master' into miami (diff)
downloadre3-ad03d9543b4710eabcbbd83aada7848151fd6846.tar
re3-ad03d9543b4710eabcbbd83aada7848151fd6846.tar.gz
re3-ad03d9543b4710eabcbbd83aada7848151fd6846.tar.bz2
re3-ad03d9543b4710eabcbbd83aada7848151fd6846.tar.lz
re3-ad03d9543b4710eabcbbd83aada7848151fd6846.tar.xz
re3-ad03d9543b4710eabcbbd83aada7848151fd6846.tar.zst
re3-ad03d9543b4710eabcbbd83aada7848151fd6846.zip
Diffstat (limited to 'src/control/Script.h')
-rw-r--r--src/control/Script.h22
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