Cockatrice/cockatrice
DawnFire42 b0ed79d9c3
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-11 12:13:12 -04:00
..
resources [DlgSettings] Refactor: split SettingsPage into separate files (#6899) 2026-05-18 01:59:02 -07:00
sounds Add cmake format (#4618) 2022-05-08 21:22:43 +02:00
src Fix Command Zone graphics/logic layers separation 2026-06-11 12:13:12 -04:00
themes [Game] Add Command Zone support with commander tax tracking 2026-06-11 12:06:53 -04:00
translations Update translation files (#6920) 2026-05-21 19:14:58 -04:00
.qdevelop icon_draw and icon_untap added, icon_general and icon_messages modified 2009-07-31 13:37:16 +02:00
CMakeLists.txt Adjust to rebase. 2026-06-11 12:12:58 -04:00
cockatrice.desktop Updated Spanish translation 2011-07-16 11:38:57 +02:00
cockatrice.qrc Add generic colorless mana symbol (#6873) 2026-05-17 19:48:48 +02:00
cockatrice.rc Included uninstaller for Windows version 2010-09-17 15:26:07 +02:00
cockatrice_en@source.ts Update translation source strings (#6762) 2026-04-01 05:49:17 +02:00