Cockatrice/cockatrice/src/game_graphics/zones
BruebachL 65e9f1b370
[Refactor] Retype card containers and zone logic onto CardState (#7434)
* [Refactor] Retype card containers and zone logic onto CardState

* [Game] Restore attach bookkeeping via CardItem and repaint on state change

* [Refactor] Give custom zones a hidden graphics owner

Custom PileZoneLogic zones had no CardZone, so moving a card into one
left the CardItem drawn at its old spot. Create a hidden PileZone in
onCustomZoneAdded so cards are reparented and hidden.

---------

Co-authored-by: Lukas Brübach <Bruebach.Lukas@bdosecurity.de>
2026-10-31 18:44:14 +01:00
..
card_zone.cpp [Refactor] Retype card containers and zone logic onto CardState (#7434) 2026-10-31 18:44:14 +01:00
card_zone.h [Refactor] Retype card containers and zone logic onto CardState (#7434) 2026-10-31 18:44:14 +01:00
hand_zone.cpp [Refactor] Give graphics zones a card item cache and own card placement (#7427) 2026-10-31 18:44:12 +01:00
hand_zone.h [Tooling] Apply include-what-you-use across the tree (#7396) 2026-10-08 11:13:50 +02:00
pile_zone.cpp [Refactor] Retype card containers and zone logic onto CardState (#7434) 2026-10-31 18:44:14 +01:00
pile_zone.h [Refactor] Retype card containers and zone logic onto CardState (#7434) 2026-10-31 18:44:14 +01:00
select_zone.cpp [Refactor] Retype card containers and zone logic onto CardState (#7434) 2026-10-31 18:44:14 +01:00
select_zone.h [Refactor] Retype card containers and zone logic onto CardState (#7434) 2026-10-31 18:44:14 +01:00
stack_zone.cpp [Refactor] Give graphics zones a card item cache and own card placement (#7427) 2026-10-31 18:44:12 +01:00
stack_zone.h [Tooling] Apply include-what-you-use across the tree (#7396) 2026-10-08 11:13:50 +02:00
table_zone.cpp [Refactor] Give graphics zones a card item cache and own card placement (#7427) 2026-10-31 18:44:12 +01:00
table_zone.h [Refactor] Move table row mapping from TableZone into TableZoneLogic (#7413) 2026-10-31 18:44:07 +01:00
view_zone.cpp [Refactor] Retype card containers and zone logic onto CardState (#7434) 2026-10-31 18:44:14 +01:00
view_zone.h [Tooling] Apply include-what-you-use across the tree (#7396) 2026-10-08 11:13:50 +02:00
view_zone_widget.cpp [Refactor] Move the remaining zone commands out of game_graphics/zones/ (#7418) 2026-10-31 18:44:09 +01:00
view_zone_widget.h [Tooling] Apply include-what-you-use across the tree (#7396) 2026-10-08 11:13:50 +02:00