diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2020-06-22 12:27:25 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-22 12:27:25 +0200 |
commit | 043f09f3fb08178eaea7e07da395dcb7b710249f (patch) | |
tree | 3b0cb6f663e297ac8cef52b8803408159d9a1e19 /src/control/Script.h | |
parent | FOV fix (diff) | |
parent | updated player control names (diff) | |
download | re3-043f09f3fb08178eaea7e07da395dcb7b710249f.tar re3-043f09f3fb08178eaea7e07da395dcb7b710249f.tar.gz re3-043f09f3fb08178eaea7e07da395dcb7b710249f.tar.bz2 re3-043f09f3fb08178eaea7e07da395dcb7b710249f.tar.lz re3-043f09f3fb08178eaea7e07da395dcb7b710249f.tar.xz re3-043f09f3fb08178eaea7e07da395dcb7b710249f.tar.zst re3-043f09f3fb08178eaea7e07da395dcb7b710249f.zip |
Diffstat (limited to '')
-rw-r--r-- | src/control/Script.h | 6 |
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) { |