summaryrefslogtreecommitdiffstats
path: root/src/control/Script.h
diff options
context:
space:
mode:
authorerorcun <erayorcunus@gmail.com>2020-06-16 22:02:21 +0200
committerGitHub <noreply@github.com>2020-06-16 22:02:21 +0200
commitd322a8033e07cf286891fdc165c7b77dfe6b762e (patch)
tree30a5d3a4181030ca731ae38f20df077a22b91e67 /src/control/Script.h
parentUpdate ModelIndices.h (diff)
parentfix crash-VC pickup scaling (diff)
downloadre3-d322a8033e07cf286891fdc165c7b77dfe6b762e.tar
re3-d322a8033e07cf286891fdc165c7b77dfe6b762e.tar.gz
re3-d322a8033e07cf286891fdc165c7b77dfe6b762e.tar.bz2
re3-d322a8033e07cf286891fdc165c7b77dfe6b762e.tar.lz
re3-d322a8033e07cf286891fdc165c7b77dfe6b762e.tar.xz
re3-d322a8033e07cf286891fdc165c7b77dfe6b762e.tar.zst
re3-d322a8033e07cf286891fdc165c7b77dfe6b762e.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 3044e770..9b2de580 100644
--- a/src/control/Script.h
+++ b/src/control/Script.h
@@ -375,6 +375,11 @@ private:
static void RemoveScriptTextureDictionary();
static void RemoveThisPed(CPed* pPed);
+#ifdef MISSION_SWITCHER
+public:
+ static void SwitchToMission(int32 mission);
+#endif
+
friend class CRunningScript;
friend class CHud;
friend void CMissionCleanup::Process();
@@ -526,6 +531,8 @@ private:
bool CheckDamagedWeaponType(int32 actual, int32 type);
static bool ThisIsAValidRandomCop(int32 mi, bool cop, bool swat, bool fbi, bool army, bool miami);
+
+ friend class CTheScripts;
};
#ifdef USE_DEBUG_SCRIPT_LOADER