summaryrefslogtreecommitdiffstats
path: root/src/control/Script.h
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2021-08-01 12:58:15 +0200
committerNikolay Korolev <nickvnuk@gmail.com>2021-08-01 12:58:15 +0200
commit6d7dec96af56ced3d906c5b74326a2effdf4049f (patch)
tree070e0c868db42bbe3b9d797e75572f84499e685a /src/control/Script.h
parentsync (diff)
downloadre3-6d7dec96af56ced3d906c5b74326a2effdf4049f.tar
re3-6d7dec96af56ced3d906c5b74326a2effdf4049f.tar.gz
re3-6d7dec96af56ced3d906c5b74326a2effdf4049f.tar.bz2
re3-6d7dec96af56ced3d906c5b74326a2effdf4049f.tar.lz
re3-6d7dec96af56ced3d906c5b74326a2effdf4049f.tar.xz
re3-6d7dec96af56ced3d906c5b74326a2effdf4049f.tar.zst
re3-6d7dec96af56ced3d906c5b74326a2effdf4049f.zip
Diffstat (limited to 'src/control/Script.h')
-rw-r--r--src/control/Script.h13
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