diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2019-10-27 10:51:09 +0100 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2019-10-27 10:51:09 +0100 |
commit | 5e77e9d0ea10e783985be42cf67f29cd2f3876df (patch) | |
tree | c91e6fbb6a73460a07b02ecafd3f516794c8f499 /src/control/Script.h | |
parent | fix pager build (diff) | |
download | re3-5e77e9d0ea10e783985be42cf67f29cd2f3876df.tar re3-5e77e9d0ea10e783985be42cf67f29cd2f3876df.tar.gz re3-5e77e9d0ea10e783985be42cf67f29cd2f3876df.tar.bz2 re3-5e77e9d0ea10e783985be42cf67f29cd2f3876df.tar.lz re3-5e77e9d0ea10e783985be42cf67f29cd2f3876df.tar.xz re3-5e77e9d0ea10e783985be42cf67f29cd2f3876df.tar.zst re3-5e77e9d0ea10e783985be42cf67f29cd2f3876df.zip |
Diffstat (limited to '')
-rw-r--r-- | src/control/Script.h | 5 |
1 files changed, 4 insertions, 1 deletions
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; |