summaryrefslogtreecommitdiff
path: root/src/control/Script.h
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2020-06-21 13:46:23 +0300
committerNikolay Korolev <nickvnuk@gmail.com>2020-06-21 13:46:23 +0300
commitf5cba0ce89c0c472ed041dbc0dcc37e70da4147d (patch)
tree9d26137099d5906d0e9e4eb2b0391ad275d4fc2d /src/control/Script.h
parent586e8a2ab4da35529b19eb3a3c1db05d3469317c (diff)
script logging
Diffstat (limited to 'src/control/Script.h')
-rw-r--r--src/control/Script.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/control/Script.h b/src/control/Script.h
index 7964ec6c..9c4b2b6c 100644
--- a/src/control/Script.h
+++ b/src/control/Script.h
@@ -350,6 +350,7 @@ private:
static bool IsPlayerStopped(CPlayerInfo*);
static bool IsVehicleStopped(CVehicle*);
+ static void PrintListSizes();
static void ReadObjectNamesFromScript();
static void UpdateObjectIndices();
static void ReadMultiScriptFileOffsetsFromScript();
@@ -486,6 +487,11 @@ private:
bool CanAllowMissionReplay();
#endif
+#ifdef USE_ADVANCED_SCRIPT_DEBUG_OUTPUT
+ int CollectParameterForDebug(char* buf, bool& var);
+ void GetStoredParameterForDebug(char* buf);
+#endif
+
float LimitAngleOnCircle(float angle) { return angle < 0.0f ? angle + 360.0f : angle; }
bool ThisIsAValidRandomPed(uint32 pedtype) {