From 5e77e9d0ea10e783985be42cf67f29cd2f3876df Mon Sep 17 00:00:00 2001 From: Nikolay Korolev Date: Sun, 27 Oct 2019 12:51:09 +0300 Subject: script 600-699 --- src/control/Script.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/control/Script.h') diff --git a/src/control/Script.h b/src/control/Script.h index 2c4ec2c0..751ad9d5 100644 --- a/src/control/Script.h +++ b/src/control/Script.h @@ -8,6 +8,7 @@ class CBuilding; class CVehicle; class CPed; class CObject; +class CPlayerInfo; struct CScriptRectangle { @@ -339,6 +340,9 @@ public: static void Process(); static CRunningScript* StartTestScript(); static bool IsPlayerOnAMission(); + static bool IsPedStopped(CPed*); + static bool IsPlayerStopped(CPlayerInfo*); + static bool IsVehicleStopped(CVehicle*); static void ReadObjectNamesFromScript(); static void UpdateObjectIndices(); @@ -348,7 +352,6 @@ public: static void HighlightImportantArea(uint32, float, float, float, float, float); static void DrawDebugSquare(float, float, float, float); static void DrawDebugCube(float, float, float, float, float, float); - static bool IsVehicleStopped(CVehicle*); static int32 Read4BytesFromScript(uint32* pIp){ int32 retval = 0; -- cgit v1.2.3