Cockatrice/cockatrice/src/client
J. Cameron McDonald b9ed9a6c0b
feat: set prioritization by set type (#5097)
* feat: prefer 'Core' and 'Expansion' sets for prioritization

* rework set prioritization

* clean up priority enum

* formatting

* revert changes to CockatriceXml3Parser

* re-add missing null check

* remove priority fallback ternary from CardSet model

* make defaultSort logic easier to follow

* revert changes to v3 card database xsd

* remove unused invisible priority col from sets dialog

* move draft innovation and duel deck sets to secondary prio

* minor fixes

* change PriorityFallback to 1

* make priority optional in xml

* remove PriorityUndefined and set PriorityFallback to 0

* set priority when not found to PriorityOther

in case a new set type is added it's unlikey we want it sorted first,
it'll probably be a new product so it's probably best to sort it with
the funny things

* simplify sort function

---------

Co-authored-by: tooomm <tooomm@users.noreply.github.com>
Co-authored-by: ebbit1q <ebbit1q@gmail.com>
2024-12-01 19:59:00 -05:00
..
game_logic Major Directory Refactoring (#5118) 2024-10-20 10:11:35 -04:00
network feat: set prioritization by set type (#5097) 2024-12-01 19:59:00 -05:00
tabs don't blink highlighted phase when backwards skipping in replays (#5185) 2024-11-22 22:21:54 -05:00
ui clean up DownloadSettings (#5194) 2024-11-26 02:12:56 +00:00
get_text_with_max.cpp Major Directory Refactoring (#5118) 2024-10-20 10:11:35 -04:00
get_text_with_max.h Major Directory Refactoring (#5118) 2024-10-20 10:11:35 -04:00
sound_engine.cpp Major Directory Refactoring (#5118) 2024-10-20 10:11:35 -04:00
sound_engine.h Major Directory Refactoring (#5118) 2024-10-20 10:11:35 -04:00
tapped_out_interface.cpp Major Directory Refactoring (#5118) 2024-10-20 10:11:35 -04:00
tapped_out_interface.h Major Directory Refactoring (#5118) 2024-10-20 10:11:35 -04:00
tearoff_menu.h Major Directory Refactoring (#5118) 2024-10-20 10:11:35 -04:00
translate_counter_name.cpp Major Directory Refactoring (#5118) 2024-10-20 10:11:35 -04:00
translate_counter_name.h Major Directory Refactoring (#5118) 2024-10-20 10:11:35 -04:00
translation.h Major Directory Refactoring (#5118) 2024-10-20 10:11:35 -04:00
update_downloader.cpp Major Directory Refactoring (#5118) 2024-10-20 10:11:35 -04:00
update_downloader.h Major Directory Refactoring (#5118) 2024-10-20 10:11:35 -04:00