1
0
Fork 0
mirror of https://github.com/halpz/re3.git synced 2024-12-22 17:35:29 +00:00

Merge pull request #1268 from Nick007J/master

move debug stuff to a separate file
This commit is contained in:
Sergeanur 2021-08-02 15:06:40 +03:00 committed by GitHub
commit cb5586e658
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 1462 additions and 1405 deletions

File diff suppressed because it is too large Load diff

View file

@ -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

1441
src/control/ScriptDebug.cpp Normal file

File diff suppressed because it is too large Load diff