Cockatrice/cockatrice/src/game
DawnFire42 928b0a1483
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-30 09:30:23 -04:00
..
board Adjust to rebase. 2026-06-30 09:30:23 -04:00
player Fix Command Zone graphics/logic layers separation 2026-06-30 09:30:23 -04:00
zones Adjust to rebase. 2026-06-30 09:30:23 -04:00
abstract_game.cpp [Game] Move graphics out of game and into game_graphics (#6928) 2026-06-09 09:51:13 +02:00
abstract_game.h [Game] Move graphics out of game and into game_graphics (#6928) 2026-06-09 09:51:13 +02:00
arrow_registry.cpp [Game] Move graphics out of game and into game_graphics (#6928) 2026-06-09 09:51:13 +02:00
arrow_registry.h [Game] [Arrows] Use arrowData/registry and generate unique server-side ids (#6973) 2026-06-07 21:11:02 +02:00
game.cpp [Game] Move graphics out of game and into game_graphics (#6928) 2026-06-09 09:51:13 +02:00
game.h [Game] Move graphics out of game and into game_graphics (#6928) 2026-06-09 09:51:13 +02:00
game_event_handler.cpp [Game] Move graphics out of game and into game_graphics (#6928) 2026-06-09 09:51:13 +02:00
game_event_handler.h [Game] [Arrows] Use arrowData/registry and generate unique server-side ids (#6973) 2026-06-07 21:11:02 +02:00
game_meta_info.cpp Removed unused fields in GameMetaInfo and GameState (#6142) 2025-09-15 10:22:11 +02:00
game_meta_info.h Standardize Doxygen documentation (#6885) 2026-05-21 22:58:07 +02:00
game_state.cpp [Game] Fix game timer starting twice, not stopping and not resetting correctly. (#6177) 2025-09-26 19:28:07 +02:00
game_state.h Standardize Doxygen documentation (#6885) 2026-05-21 22:58:07 +02:00
phase.cpp add phase to delete arrows in to protocol (#6159) 2025-11-26 09:16:10 -05:00
phase.h Standardize Doxygen documentation (#6885) 2026-05-21 22:58:07 +02:00
replay.cpp [Game] Move graphics out of game and into game_graphics (#6928) 2026-06-09 09:51:13 +02:00
replay.h [Game] Move graphics out of game and into game_graphics (#6928) 2026-06-09 09:51:13 +02:00
selection_subtype_tally.cpp Add subtype breakdown counter for card selection (#6923) 2026-06-27 15:53:21 -07:00
selection_subtype_tally.h Add subtype breakdown counter for card selection (#6923) 2026-06-27 15:53:21 -07:00