Cockatrice/cockatrice/src
DawnFire42 07229c85bf
Fix Command Zone graphics/logic layers separation
1. CommandZoneMenu: Changed to take PlayerGraphicsItem* instead of
     PlayerLogic*, accessing logic via player->getLogic()

  2. Removed getCounterWidget() from PlayerLogic;
     method already exists correctly in PlayerGraphicsItem

  3. PlayerMenu: CommandZoneMenu, fixed signal
     connection to use player->getLogic() for commandZoneSupportChanged

  4. AbstractCounter: Connects to CounterState::activeChanged signal,
     removing direct graphics calls from PlayerEventHandler

  5. CommandZone: Explicit tax counter registration via registerTaxCounter()
     with auto-cleanup, replacing childItems()/dynamic_cast iteration

  Also fixed PlayerActions to query CounterState instead of AbstractCounter
  for proper layer separation.
2026-06-19 11:00:54 -04:00
..
client [Game] Add Command Zone support with commander tax tracking 2026-06-19 11:00:49 -04:00
database/interface [Fix-Warnings] Remove more redundant empty declarations. (extra semicolons) (#6374) 2025-11-29 14:19:11 +01:00
filters Standardize Doxygen documentation (#6885) 2026-05-21 22:58:07 +02:00
game Fix Command Zone graphics/logic layers separation 2026-06-19 11:00:54 -04:00
game_graphics Fix Command Zone graphics/logic layers separation 2026-06-19 11:00:54 -04:00
interface [Game] Add Command Zone support with commander tax tracking 2026-06-19 11:00:49 -04:00
main.cpp style: Add braces to all control flow statements (#6887) 2026-05-16 19:19:53 +02:00
main.h Standardize Doxygen documentation (#6885) 2026-05-21 22:58:07 +02:00