Cockatrice/libcockatrice_deck_list/libcockatrice/deck_list
Lukas Brübach d71b614c44
[DeckList] Extract plain-text deck parser into own file
DeckList::loadFromStream_Plain was a 160-line god-method mixing
deck clearing, name/comment detection, sideboard heuristics, set
and multiplier extraction and normalization. The parsing logic
moves verbatim into DeckListPlainText::parse() so it lives in a
dedicated, testable unit; DeckList keeps a thin delegating wrapper
and still refreshes the deck hash exactly as before (also on the
empty-input path, to match cleanList's original behavior). The
*F* foil suffix handling is relocated unchanged.
2026-09-18 09:58:12 +02:00
..
tree [DeckList] Document writeElement as the only serialization method 2026-09-18 09:52:07 +02:00
deck_list.cpp [DeckList] Extract plain-text deck parser into own file 2026-09-18 09:58:12 +02:00
deck_list.h [Game] Playmats (#7101) 2026-08-21 10:40:49 +02:00
deck_list_history_manager.cpp [DeckList] Deduplicate undo/redo state switching 2026-09-18 09:58:11 +02:00
deck_list_history_manager.h [DeckList] Deduplicate undo/redo state switching 2026-09-18 09:58:11 +02:00
deck_list_memento.h [Fix-Warnings] Mark const getters as [[nodiscard]] (#6365) 2025-11-28 21:38:54 +01:00
deck_list_node_tree.cpp [DeckList] Drop const from zone lookup that creates nodes 2026-09-18 09:58:12 +02:00
deck_list_node_tree.h [DeckList] Drop const from zone lookup that creates nodes 2026-09-18 09:58:12 +02:00
deck_list_plain_text_parser.cpp [DeckList] Extract plain-text deck parser into own file 2026-09-18 09:58:12 +02:00
deck_list_plain_text_parser.h [DeckList] Extract plain-text deck parser into own file 2026-09-18 09:58:12 +02:00
playmat_resolver.cpp [Game] Playmats (#7101) 2026-08-21 10:40:49 +02:00
playmat_resolver.h [Game] Playmats (#7101) 2026-08-21 10:40:49 +02:00
sideboard_plan.cpp style: Add braces to all control flow statements (#6887) 2026-05-16 19:19:53 +02:00
sideboard_plan.h Standardize Doxygen documentation (#6885) 2026-05-21 22:58:07 +02:00