From a46d2dbb96234dafc7a2e57fe4ae22dce49df73c Mon Sep 17 00:00:00 2001 From: Asdow <20314541+Asdow@users.noreply.github.com> Date: Mon, 19 Jan 2026 22:31:34 +0200 Subject: [PATCH] Add global to selectively log AI status BLACK decisions --- TacticalAI/AIMain.cpp | 3 ++- TacticalAI/DecideAction.cpp | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/TacticalAI/AIMain.cpp b/TacticalAI/AIMain.cpp index beb3a108..312bbae5 100644 --- a/TacticalAI/AIMain.cpp +++ b/TacticalAI/AIMain.cpp @@ -286,7 +286,8 @@ STR16 wszAction[] = { UINT32 guiAIStartCounter = 0, guiAILastCounter = 0; //UINT8 gubAISelectedSoldier = NOBODY; BOOLEAN gfLogsEnabled = TRUE; -bool gLogDecideActionRed = false; +bool gLogDecideActionRed = true; +bool gLogDecideActionBlack = true; void DebugAI( INT8 bMsgType, SOLDIERTYPE *pSoldier, STR szOutput, bool doLog, INT8 bAction) { diff --git a/TacticalAI/DecideAction.cpp b/TacticalAI/DecideAction.cpp index 5f24d2b8..bc6aee60 100644 --- a/TacticalAI/DecideAction.cpp +++ b/TacticalAI/DecideAction.cpp @@ -41,6 +41,7 @@ ////////////////////////////////////////////////////////////////////// extern bool gLogDecideActionRed; +extern bool gLogDecideActionBlack; extern BOOLEAN gfHiddenInterrupt; extern BOOLEAN gfUseAlternateQueenPosition; extern UINT16 PickSoldierReadyAnimation( SOLDIERTYPE *pSoldier, BOOLEAN fEndReady, BOOLEAN fHipStance );