diff options
author | Sergeanur <s.anureev@yandex.ua> | 2021-08-02 14:06:40 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-02 14:06:40 +0200 |
commit | cb5586e65876aa1990ec9cf8a490a1c1000d96b2 (patch) | |
tree | 2180b9a185bed6fcb253dd149b0259be482bfa97 /src/control/Script.h | |
parent | Fix waypoint disappearing after each save (diff) | |
parent | sync (diff) | |
download | re3-cb5586e65876aa1990ec9cf8a490a1c1000d96b2.tar re3-cb5586e65876aa1990ec9cf8a490a1c1000d96b2.tar.gz re3-cb5586e65876aa1990ec9cf8a490a1c1000d96b2.tar.bz2 re3-cb5586e65876aa1990ec9cf8a490a1c1000d96b2.tar.lz re3-cb5586e65876aa1990ec9cf8a490a1c1000d96b2.tar.xz re3-cb5586e65876aa1990ec9cf8a490a1c1000d96b2.tar.zst re3-cb5586e65876aa1990ec9cf8a490a1c1000d96b2.zip |
Diffstat (limited to 'src/control/Script.h')
-rw-r--r-- | src/control/Script.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/control/Script.h b/src/control/Script.h index cefd6747..470de444 100644 --- a/src/control/Script.h +++ b/src/control/Script.h @@ -370,6 +370,13 @@ public: #ifdef USE_ADVANCED_SCRIPT_DEBUG_OUTPUT int CollectParameterForDebug(char* buf, bool& var); void GetStoredParameterForDebug(char* buf); + void LogOnStartProcessing(); + void LogBeforeProcessingCommand(int32 command); + void LogAfterProcessingCommand(int32 command); + + static char commandInfo[]; + static uint32 storedIp; + #endif float LimitAngleOnCircle(float angle) { return angle < 0.0f ? angle + 360.0f : angle; } @@ -576,6 +583,12 @@ public: public: static void SwitchToMission(int32 mission); #endif + +#ifdef USE_ADVANCED_SCRIPT_DEBUG_OUTPUT + static void LogAfterScriptInitializing(); + static void LogBeforeScriptProcessing(); + static void LogAfterScriptProcessing(); +#endif }; #ifdef MISSION_REPLAY |