summaryrefslogtreecommitdiff
path: root/src/control/Script.h
diff options
context:
space:
mode:
authorwithmorten <morten.with@gmail.com>2020-11-16 00:41:03 +0100
committerwithmorten <morten.with@gmail.com>2020-11-16 00:41:03 +0100
commitabcda2ce29877cdd60fad383ec098b174fbcc11f (patch)
treef889b2c528ce9dc5a0623662c71236d0b5c61154 /src/control/Script.h
parenta6f5f4634c63a515196a0f650682953356cb8e18 (diff)
add mission switcher from miami
Diffstat (limited to 'src/control/Script.h')
-rw-r--r--src/control/Script.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/control/Script.h b/src/control/Script.h
index e0ed314e..c9e92129 100644
--- a/src/control/Script.h
+++ b/src/control/Script.h
@@ -376,6 +376,11 @@ private:
#ifdef FIX_BUGS
friend void RetryMission(int, int);
#endif
+
+#ifdef MISSION_SWITCHER
+public:
+ static void SwitchToMission(int32 mission);
+#endif
};
@@ -514,6 +519,8 @@ private:
return false;
}
}
+
+ friend class CTheScripts;
};
#ifdef MISSION_REPLAY