mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-09-21 09:05:10 -07:00
* [DeckList] Make deck tree card traversal recursive getCardNodes and forEachCard now descend into nested zones instead of assuming a flat main/side/token layout. For today's flat trees this is behavior-preserving; it also removes two latent crashes (unchecked dynamic_cast dereference, null card nodes passed to forEachCard callers). Nested zones are introduced by later custom-zones units. Took 3 minutes Took 7 seconds Took 9 seconds * Fix rebase mistake. --------- Co-authored-by: Lukas Brübach <Bruebach.Lukas@bdosecurity.de> |
||
|---|---|---|
| .. | ||
| tree | ||
| deck_list.cpp | ||
| deck_list.h | ||
| deck_list_history_manager.cpp | ||
| deck_list_history_manager.h | ||
| deck_list_memento.h | ||
| deck_list_node_tree.cpp | ||
| deck_list_node_tree.h | ||
| playmat_resolver.cpp | ||
| playmat_resolver.h | ||
| sideboard_plan.cpp | ||
| sideboard_plan.h | ||