Files
source/Strategic
380fedca10 Encapsulate PBI Category-1 transition flags as file-statics
gfEnteringMapScreenToEnterPreBattleInterface, gfAutomaticallyStartAutoResolve
and gfDelayAutoResolveStart are now file-static in PreBattle Interface.cpp
(the latter's definition moved here from Strategic Movement.cpp). External
access goes through accessors declared in the header; PBI.cpp touches the
statics directly.

Accessors exist only where an external caller needs one:
AutomaticallyStartAutoResolve() getter (read in Town Militia,
gamescreen, Player Command); SetAutomaticallyStartAutoResolve (set in
Creature Spreading, strategicmap); SetDelayAutoResolveStart (set in
Strategic Movement);
SetEnteringMapScreenToEnterPreBattleInterface (set in strategicmap).
gfEnteringMapScreen stays a raw cross-read into mapscreen state, not
PBI-owned.  No behavior change: getter returns BOOLEAN.

Verify: grep the three flag names across the tree hits only PreBattle
Interface.cpp (three static defs, four accessor bodies, and in-file
Handle/reader access). No header externs, no external raw refs. Build: JA2.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-08-02 14:58:24 -03:00
..
2025-12-09 00:35:18 +02:00
2025-12-03 23:52:05 +02:00
2026-01-03 17:27:43 +02:00
2025-12-03 23:52:05 +02:00
2025-12-03 23:52:05 +02:00
2024-11-21 21:29:28 +02:00
2024-11-21 21:53:48 +02:00
2025-12-09 00:35:18 +02:00
2023-07-26 13:17:49 +03:00
2026-06-12 15:51:03 +03:00
2024-11-20 20:12:05 +02:00
2024-11-20 21:17:19 +02:00
2026-01-03 17:27:43 +02:00
2024-11-30 23:47:00 +02:00
2023-01-03 15:51:48 +02:00