diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2021-08-01 12:58:15 +0200 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2021-08-03 20:53:42 +0200 |
commit | 8bcbee4ea7e2283d9c7142714480a021dd02da7c (patch) | |
tree | a1cbd308ce829ae2862fa9498f024af0fdcb22ed /src/control/Script.h | |
parent | Merge remote-tracking branch 'upstream/miami' into miami (diff) | |
download | re3-8bcbee4ea7e2283d9c7142714480a021dd02da7c.tar re3-8bcbee4ea7e2283d9c7142714480a021dd02da7c.tar.gz re3-8bcbee4ea7e2283d9c7142714480a021dd02da7c.tar.bz2 re3-8bcbee4ea7e2283d9c7142714480a021dd02da7c.tar.lz re3-8bcbee4ea7e2283d9c7142714480a021dd02da7c.tar.xz re3-8bcbee4ea7e2283d9c7142714480a021dd02da7c.tar.zst re3-8bcbee4ea7e2283d9c7142714480a021dd02da7c.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 0c23de5b..44e69016 100644 --- a/src/control/Script.h +++ b/src/control/Script.h @@ -372,6 +372,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; } @@ -581,6 +588,12 @@ public: return index >= 3 && index <= 35 || index >= 51 && index <= 65 || index >= 67 && index <= 74 || index >= 83 && index <= 87; } #endif + +#ifdef USE_ADVANCED_SCRIPT_DEBUG_OUTPUT + static void LogAfterScriptInitializing(); + static void LogBeforeScriptProcessing(); + static void LogAfterScriptProcessing(); +#endif }; #ifdef USE_DEBUG_SCRIPT_LOADER |