summaryrefslogtreecommitdiffstats
path: root/src/control/Script.h
diff options
context:
space:
mode:
authorerorcun <erayorcunus@gmail.com>2020-11-17 23:45:12 +0100
committerGitHub <noreply@github.com>2020-11-17 23:45:12 +0100
commitb58a54527ef9c34559f3640c1e0056b8dcc4601b (patch)
treec6f109ef5d5dfc8720d0df518eb74ee718a5caa4 /src/control/Script.h
parentfix flag (diff)
parentadd mission switcher from miami (diff)
downloadre3-b58a54527ef9c34559f3640c1e0056b8dcc4601b.tar
re3-b58a54527ef9c34559f3640c1e0056b8dcc4601b.tar.gz
re3-b58a54527ef9c34559f3640c1e0056b8dcc4601b.tar.bz2
re3-b58a54527ef9c34559f3640c1e0056b8dcc4601b.tar.lz
re3-b58a54527ef9c34559f3640c1e0056b8dcc4601b.tar.xz
re3-b58a54527ef9c34559f3640c1e0056b8dcc4601b.tar.zst
re3-b58a54527ef9c34559f3640c1e0056b8dcc4601b.zip
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