Cockatrice/libcockatrice_deck_list
Lukas Brübach 09260ee7d9 [DeckList] Add custom deck zones to the deck tree
Introduce user-definable zones nested under a board zone (main, side
or maybeboard) so players can organize cards inside a board without
changing board semantics.

- addCustomZone, renameCustomZone, moveCustomZone and removeCustomZone
  manage zones. Names are unique across the whole deck and the standard
  zone names (main/side/maybeboard/tokens) stay reserved.
- Board zones are created lazily on first use.
- getZoneObjFromName resolves custom names to their nested node so
  addCard and XML loading route cards into them. Unknown names keep
  creating legacy top-level zones.
- deleteNode keeps empty custom zones alive and only prunes empty
  board zones.
- New deck_list_zones test suite locks hash parity with flat decks,
  sideboard size accounting, maybeboard exclusion from plain export
  and native-format round-trips.

Took 17 minutes


Took 11 minutes
2026-08-26 02:24:12 +02:00
..
libcockatrice/deck_list [DeckList] Add custom deck zones to the deck tree 2026-08-26 02:24:12 +02:00
CMakeLists.txt [Game] Playmats (#7101) 2026-08-21 10:40:49 +02:00