summaryrefslogtreecommitdiffstats
path: root/src/control/Script.h
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2019-10-27 10:51:09 +0100
committerNikolay Korolev <nickvnuk@gmail.com>2019-10-27 10:51:09 +0100
commit5e77e9d0ea10e783985be42cf67f29cd2f3876df (patch)
treec91e6fbb6a73460a07b02ecafd3f516794c8f499 /src/control/Script.h
parentfix pager build (diff)
downloadre3-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.h5
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;