Commit graph

3676 commits

Author SHA1 Message Date
Alex Vasile
96f6fbefc8
GUI: Autochoose targets if choice can be made (#9206) 2022-07-08 21:58:42 -04:00
sprangg
ba558f9a18
Fix the UI pitfall of double spacebar press quitting a draft (#9193)
* Switch draft's quit dialog's yes/no buttons so that yes isn't enabled by default

* TounramentPanel's quit button also adjusted for the sake of consistency.

Co-authored-by: sprangg <a@b.c>
2022-07-03 02:20:41 +04:00
sprangg
ae189bad22
Make gamelogs readable (#9210)
* Make gamelogs readable:
They are now .html files as they're supposed to be.
The background is black so the text is readable.
Added line breaks.

* Added comment that CCCC33 is TIMESTAMP_COLOR

* More comment

Co-authored-by: sprangg <a@b.c>
2022-07-03 02:03:50 +04:00
Evan Kranzler
efda22c993 [2X2] added set 2022-06-25 07:32:20 -04:00
DeepCrimson
59505feccb Refactor: Fix spelling of Christmas 2022-06-24 18:40:40 -07:00
sprangg
cbdca6dd80 Limited-type sideboarding for constructed matches where the deck type is "Limited" 2022-06-24 01:52:08 +03:00
sprangg
22de97aa18 Make it possible to join a constructed tournament when the decktype is set to "limited". 2022-06-23 00:36:37 +03:00
DeepCrimson
3ae5f4979d
Refactor: Remove redundant boxing/unboxing to parse int primitives (#9065) 2022-06-12 12:46:59 -04:00
PurpleCrowbar
4456fd45d7 Removed ANA as an available token image source (no token images) 2022-06-09 00:17:31 +01:00
PurpleCrowbar
8316e6a813 Removed 5DN as an available token image source (no token images) 2022-06-09 00:15:35 +01:00
PurpleCrowbar
c3e20a3f0c Removed 4ED as an available token image source (no token images) 2022-06-09 00:05:45 +01:00
PurpleCrowbar
0c57e4f1aa Removed 3ED as an available token image source (no token images) 2022-06-09 00:03:06 +01:00
PurpleCrowbar
c6e8583d63 Removed TSP as an available token image source (no token images) 2022-06-08 23:58:13 +01:00
PurpleCrowbar
dd95a5dd3b Removed TMP as an available token image source (no token images) 2022-06-08 23:50:44 +01:00
PurpleCrowbar
49764df243 Removed MIR as an available token image source (no token images) 2022-06-08 23:40:00 +01:00
PurpleCrowbar
2255b1e409 Removed GPT as an available token image source (no token images) 2022-06-08 23:35:17 +01:00
PurpleCrowbar
d37f59f647 Removed EXO as an available token image source (no token images) 2022-06-08 23:32:23 +01:00
PurpleCrowbar
2ed55094a7 Removed CMD as an available token image source (no token images) 2022-06-08 23:31:12 +01:00
PurpleCrowbar
6faf3cdc48 Removed ARC as an available token image source (no token images) 2022-06-08 23:13:35 +01:00
PurpleCrowbar
4a2167627e Removed duplicate trample haste elemental token class 2022-06-08 22:55:44 +01:00
PurpleCrowbar
89f9ef78e8 Added LRW token images 2022-06-08 14:52:09 +01:00
Evan Kranzler
4ed3194801 [CLB] added initiative icon (#9010) 2022-06-08 08:33:44 -04:00
PurpleCrowbar
8407e23d3f Removed duplicate haste elemental token class 2022-06-08 00:42:41 +01:00
PurpleCrowbar
e418ab04be Removed duplicate minotaur token class. Closes #8947 2022-06-07 01:58:39 +01:00
PurpleCrowbar
16bb0ebfc1 Removed duplicate hellion token class 2022-06-07 01:49:10 +01:00
PurpleCrowbar
4dde9592c8 Fixed colorless spirit token image issues. Closes #9005 2022-06-07 01:30:23 +01:00
PurpleCrowbar
d6414a5ac4 RNA spirit token image fix 2022-06-07 01:17:45 +01:00
PurpleCrowbar
901bb80885 Added CLB token images 2022-06-06 19:57:01 +01:00
PurpleCrowbar
f96436b2b2 Added GN2 token images 2022-06-06 17:01:58 +01:00
PurpleCrowbar
18b515ba5c Added GK2 token images 2022-06-06 16:33:49 +01:00
PurpleCrowbar
74756be1bc Added GK1 token images 2022-06-06 16:19:52 +01:00
PurpleCrowbar
f4399e669a Added GS1 token images 2022-06-06 15:24:02 +01:00
PurpleCrowbar
b277b87654 Added A25 token images 2022-06-06 15:02:15 +01:00
PurpleCrowbar
c919e5525f Added E02 token images 2022-06-06 14:17:39 +01:00
PurpleCrowbar
84553db7e0 Added DDT token images 2022-06-06 14:12:00 +01:00
PurpleCrowbar
f6cdc8daee Added E01 token images 2022-06-06 14:06:18 +01:00
PurpleCrowbar
8e08b70348 Added DDS token images 2022-06-06 14:00:10 +01:00
PurpleCrowbar
070374d816 Removed ONS as a token image source as it has no related token images 2022-06-06 13:50:15 +01:00
PurpleCrowbar
31e6a5a06f Added MM3 token images 2022-06-06 13:35:19 +01:00
PurpleCrowbar
c63bd729bd Added DDR token images 2022-06-06 02:04:07 +01:00
PurpleCrowbar
7793a75dc7 Added CN2 token images 2022-06-06 01:55:16 +01:00
PurpleCrowbar
a3d3c29c93 Added V16 token images 2022-06-06 01:42:40 +01:00
PurpleCrowbar
0cac2f6d21 Added EMA token images 2022-06-06 01:33:08 +01:00
PurpleCrowbar
0ce189fe2e Added DDQ token images 2022-06-06 01:20:06 +01:00
PurpleCrowbar
9deb8546c5 Added DDP token images 2022-06-06 01:14:38 +01:00
PurpleCrowbar
84f3e5a5be Added ORI token images 2022-06-06 01:02:05 +01:00
PurpleCrowbar
249bce6443 Added MM2 token images 2022-06-06 00:53:52 +01:00
PurpleCrowbar
a9b3e530d3 Added DDO token images 2022-06-06 00:41:42 +01:00
PurpleCrowbar
e8eb0c9dba Added FRF token images 2022-06-06 00:37:15 +01:00
PurpleCrowbar
d2e752bc22 Added DVD token images 2022-06-06 00:30:15 +01:00
PurpleCrowbar
150a7897c4 Added GVL token images 2022-06-06 00:26:03 +01:00
PurpleCrowbar
a2a10ae1a3 Added EVG token images 2022-06-06 00:20:18 +01:00
PurpleCrowbar
b49c5ed4b0 Added KTK token images 2022-06-05 20:32:43 +01:00
PurpleCrowbar
b8ad392431 Added DDN token images 2022-06-05 20:20:42 +01:00
PurpleCrowbar
ea96f253c1 Added CNS token images 2022-06-05 20:15:42 +01:00
PurpleCrowbar
2b43af4d7e Added MD1 token images 2022-06-05 19:50:13 +01:00
PurpleCrowbar
29f0a12cc2 Added JOU token images 2022-06-05 19:38:57 +01:00
PurpleCrowbar
2739dcad4e Added DDM token images 2022-06-05 19:21:20 +01:00
PurpleCrowbar
85ebbb516b Added BNG token images 2022-06-05 19:15:54 +01:00
PurpleCrowbar
4f684443ee Added EVE token images 2022-06-05 19:01:37 +01:00
PurpleCrowbar
bde2791624 Removed duplicate black and green worm token class 2022-06-05 14:01:48 +01:00
PurpleCrowbar
3fc84d9ba4 Removed duplicate dragon egg dragon token class 2022-06-05 13:48:53 +01:00
PurpleCrowbar
cb6e6b234f Removed duplicate enchantment bird token class 2022-06-05 13:40:55 +01:00
PurpleCrowbar
2074a02920 Removed duplicate 3/3 angel token class 2022-06-05 13:17:27 +01:00
PurpleCrowbar
9ae95982e3 Added THS token images 2022-06-04 21:31:34 +01:00
PurpleCrowbar
a4aaf20a4d Added DDL token images 2022-06-04 21:12:08 +01:00
PurpleCrowbar
e8fd84580c Added DGM token images 2022-06-04 21:09:49 +01:00
PurpleCrowbar
1ad0f7e3a6 Added DDK token images 2022-06-04 21:02:26 +01:00
PurpleCrowbar
2ccf911fc4 Added GTC token images 2022-06-04 20:59:19 +01:00
PurpleCrowbar
d4de0e8729 Added RTR token images 2022-06-04 19:44:10 +01:00
PurpleCrowbar
471e6ef433 Added DDJ token images 2022-06-04 19:36:08 +01:00
PurpleCrowbar
dce8c43d6f Added AVR token images 2022-06-04 19:33:25 +01:00
PurpleCrowbar
21904d991c Added DDI token images 2022-06-04 19:23:47 +01:00
PurpleCrowbar
81984ceac0 Added DKA token images 2022-06-04 19:18:12 +01:00
PurpleCrowbar
b9d3980ea0 Added ISD token images 2022-06-04 19:14:04 +01:00
PurpleCrowbar
0287fa73d2 Added DDH token images 2022-06-04 18:58:58 +01:00
PurpleCrowbar
e065e77f7c Added NPH token images 2022-06-04 18:55:58 +01:00
PurpleCrowbar
4ea204ed05 Added DDG token images 2022-06-04 18:44:04 +01:00
PurpleCrowbar
bbbcde3561 Added MBS token images 2022-06-04 18:41:03 +01:00
PurpleCrowbar
1bf2889789 Added SOM token images 2022-06-04 18:34:20 +01:00
PurpleCrowbar
dfa1981a9e Added DDD token images 2022-06-04 18:25:23 +01:00
PurpleCrowbar
94e79644fe Added DDE token images 2022-06-04 18:21:42 +01:00
PurpleCrowbar
98b5cffd4e Added DDF token images 2022-06-04 18:15:07 +01:00
PurpleCrowbar
2ee43c261e Added ROE token images 2022-06-04 18:09:48 +01:00
PurpleCrowbar
c617e13675 Added WWK token images 2022-06-04 17:58:24 +01:00
PurpleCrowbar
5ab454ea63 Added ZEN token images 2022-06-04 17:51:50 +01:00
PurpleCrowbar
c813603647 Added 10E token images 2022-06-04 17:15:34 +01:00
PurpleCrowbar
4ba695e741 Added DD1 token images 2022-06-04 16:53:11 +01:00
PurpleCrowbar
a35e31ae56 Added MOR token images 2022-06-04 16:46:57 +01:00
PurpleCrowbar
bb3065afd9 Added ALA token images 2022-06-04 16:31:05 +01:00
PurpleCrowbar
e67ccc55fe Added CON token images 2022-06-04 15:58:37 +01:00
PurpleCrowbar
98f0ff8871 Added DDC token images 2022-06-04 15:53:39 +01:00
PurpleCrowbar
46396c36da Added ARB token images 2022-06-04 15:46:05 +01:00
PurpleCrowbar
3d8ab7f48c Added M10 token images 2022-06-04 15:34:02 +01:00
PurpleCrowbar
d138833029 Added M11 token images 2022-06-04 15:27:03 +01:00
PurpleCrowbar
4ca9ad700c Added M12 token images 2022-06-04 15:16:50 +01:00
PurpleCrowbar
804167c692 Added M13 token images 2022-06-04 15:06:14 +01:00
PurpleCrowbar
d95c2389ef Fixed and added Scryfall image downloads for M14 tokens 2022-06-02 01:14:04 +01:00
PurpleCrowbar
8982bb9fee Fixed and added Scryfall image downloads for M15 tokens 2022-06-02 00:52:48 +01:00
PurpleCrowbar
aacec6a89f Added support for and assigned PCA token images 2022-06-02 00:31:52 +01:00
PurpleCrowbar
8a4482ae93 Added support for and assigned CMA token images 2022-06-01 23:43:53 +01:00
PurpleCrowbar
a8309f38f7
Token images for a couple of sets (#9047)
* Added support for and assigned IMA token images

* Added support for and assigned CM2 token images

* Fixed M19 DragonEggDragonToken not displaying in game
2022-06-02 00:55:17 +04:00
PurpleCrowbar
9ed04cc3c5
Removed duplicate djinn monk token class, for #8996 (#9029) 2022-05-30 09:05:17 -06:00
PurpleCrowbar
cee6bc3cfe
Token images and fixes for some sets (#9027)
* Fixed CMR's phyrexian horror token not displaying in game

* Added support for and assigned MED token images

* Added support for and assigned BBD token images

* Added support for and assigned DDU token images

* Fixed some M19 tokens not displaying correctly
2022-05-29 09:08:09 +04:00
PurpleCrowbar
c667458198
Added NCC Token Images (#9026)
* Removed BOK as a token image source as it has no token images

* Fixed zombie tokens from C20 not showing in game

* Fixed alphabetically misplaced C21 token in card viewer

* Added support for and assigned NCC token images
2022-05-29 02:27:50 +04:00
DeepCrimson
9084180937
Fix 'chosen' spelling (#9021) 2022-05-27 21:45:07 -06:00
PurpleCrowbar
74a16d179f
Removed duplicate squid token class for #8996 (#9020) 2022-05-27 20:38:15 -06:00
PurpleCrowbar
f003c93cb2
Added / fixed token images for several commander sets (#9000)
* Stopped OGW tokens which don't have images being used as image sources

* Removed C13 as a token image source as it has no related token images

* Added support for and assigned C14 token images

* Added support for and assigned C15 token images

* Added support for and assigned C16 token images

* Added support for and assigned C17 token images

* Fixed C18 token images

* Fixed C19 token images
2022-05-26 20:34:45 +04:00
Alex Vasile
015cdf3136
Revert "Added missing fields to many copy constructors. (#8957)" (#8999)
This reverts commit 82708e4273.

Some of these (AI related result in bloated memory usage, needs more investigation).
2022-05-25 12:57:24 -06:00
Alex Vasile
82708e4273
Added missing fields to many copy constructors. (#8957) 2022-05-25 09:51:18 -06:00
Oleg Agafonov
e3332fbea8 Fixed miss image for FaerieDragonToken 2022-05-24 09:09:14 +04:00
PurpleCrowbar
4a167b3a17
Added token images for SNC (#8946)
* Fixed knight token images from the DOM set not displaying

* Fixed the name reference of RNA's thopter token

* Fixed misspelling regarding Tibalt, Cosmic Impostor's emblem token causing it not to show in game

* Updated Faerie Dragon token to be present in game

* Removed redundant code regarding KLD constructs and improved thematic consistency

* Added Scryfall token download links for DTK

* Added support for and assigned SNC token images
2022-05-24 09:06:51 +04:00
Evan Kranzler
a705064c67 [40K] added set and spoiler 2022-05-12 19:34:37 -04:00
sprangg
a115d1c542 Random pack selector dialog has space to show all the sets, also made resizeable 2022-04-28 02:36:39 +03:00
PurpleCrowbar
80f6ceccff
Add token images for several sets (#8873)
* Added support for and assigned UMA token images

* Added Scryfall token download links for MMA

* Added Scryfall token download links for SHM

* Fixed last commit and Oona token names

* Added support for and assigned NEO token images

* Added support for and assigned NEC token images

* Added support for and assigned SLD token images

* Added support for and assigned 2XM token images

* Fixed Tuktuk and some naming inconsistencies

* Fixed WalkerOfTheGroveToken's available image set codes

* Fixed WalkerOfTheGroveToken's available image set codes

* Fixed tokens with same names not displaying correctly
2022-04-26 18:34:21 +04:00
Evan Kranzler
92a9604ed4 [NCC] added set 2022-04-07 19:20:37 -04:00
Evan Kranzler
26ae7b7281 replaced various instances of instanceof lambda functions with 2022-04-03 11:11:07 -04:00
Evan Kranzler
9d46caee9c [CLB] added set 2022-03-25 07:37:05 -04:00
Alex W. Jackson
77433d7ee6 Remove more duplicate tokens and rename some tokens to more generic names 2022-03-15 04:23:10 -04:00
Evan Kranzler
9e0ea945ca
Refactoring token names to reflect new rule (ready for review) (#8446)
* updated Riptide Replicator and Volrath's Laboratory

* refactored token names

* some test fixes

* more test fixes

* even more test fixes

* the final test fixes

* fixed a few missed tokens

* merge fix

* fixed a test failure

* fixed test failure

* updated ignored verify test

* fixed token images not appearing

* updated tests
2022-03-14 22:37:21 -04:00
Evan Kranzler
db7eb398cc fixed multicolored split cards rendering 2022-03-11 09:25:54 -05:00
Daniel Bomar
e0008fdcb2
Remove dead image scaling library 2022-03-09 19:33:35 -06:00
Jeff Wadsworth
153998cae3 - text fixes CallbackClientImpl 2022-03-07 16:03:25 -06:00
Alex W. Jackson
baece6e241 [CON] Remove a duplicate token 2022-03-07 14:59:01 -05:00
Evan Kranzler
670c2a5615 [SLX] added set 2022-03-04 07:55:57 -05:00
Evan Kranzler
eb7ed69b5a [SNC] added set 2022-03-03 19:31:24 -05:00
Evan Kranzler
0d3c4a946b renamed WPN sets to match new scryfall names 2022-03-03 09:17:57 -05:00
Evan Kranzler
d21913c316 [Y22] added set 2022-03-01 17:46:52 -05:00
Evan Kranzler
4dfd0867ed [DBL] added image download 2022-02-18 23:39:39 -05:00
Evan Kranzler
cfc368692f [NEC] added image support 2022-02-18 22:27:03 -05:00
Evan Kranzler
54203c16d3
[NEO] Implementing Compleated mechanic and hybrid phyrexian mana (ready for review) (#8677)
* [NEO] Implemented Tamiyo, Compleated Sage

* replaced PhyrexianManaCost calls with ManaCostsImpl calls

* updated phyrexian mana implementation

* added phyrexian hybrid symbol support

* updated starting loyalty implementation for planeswalkers

* change compleated to singleton

* implemented Compleated ability

* added some missing loyalty setters

* changed when loyalty is added to a walker to fix bugs

* slight change to some tests to fix them from failing

* fixed token issue
2022-02-10 10:25:23 -05:00
Oleg Agafonov
e1f45fe787 [NEO] added images support 2022-02-07 09:16:59 +04:00
Oleg Agafonov
3cb721fbd9 [VOW] added tokens and images support 2022-02-05 14:44:46 +04:00
Oleg Agafonov
424fc919a7 [VOC] added tokens and images support 2022-02-05 13:03:35 +04:00
Oleg Agafonov
54a1efec63 [MID] added tokens and images support 2022-02-05 12:22:39 +04:00
Oleg Agafonov
be114bb592 [MIC] added tokens and images support 2022-02-03 21:40:34 +04:00
Oleg Agafonov
0cb9266a15 [AFC] added tokens and images support 2022-02-02 13:13:49 +04:00
Oleg Agafonov
a6b2bea8af Images: added direct image links support in scryfall, added SLD's alternative images from second sides (example: Zndrsplt, Eye of Wisdom); 2021-11-28 01:17:54 +04:00
Oleg Agafonov
903a9215cc * Images: fixed wrong token filter and stats in images download dialog (#8443); 2021-11-27 23:09:11 +04:00
Oleg Agafonov
afdae939c3 * Becomes a copy abilities: improved support with MDF cards (#8335); 2021-11-17 16:27:18 +04:00
Alex W. Jackson
c355834a4e Fix #8337, #8456 2021-11-14 14:13:31 -05:00
Oleg Agafonov
83d44b3e66 Dev: updated to latest ormlite lib, removed workaround for dirty logs from #8373; 2021-11-14 01:47:24 +04:00
Oleg Agafonov
23bcc9dbb5 * GUI: fixed that card viewer or deck editor doesn't show transform button for some cards (#8448); 2021-11-14 00:33:37 +04:00
Alex W. Jackson
5287e1aa4d CardCriteria: use constants instead of strings for supertype and subtype 2021-11-11 05:50:13 -05:00
Oleg Agafonov
3284cb5b24 GUI: fixed wrong card sides, data and errors for transform and double side cards; 2021-11-09 10:16:39 +04:00
Oleg Agafonov
1f381cffe5 GUI: improved cards with transform ability:
* added transform button to permanents on battlefield to view another card side;
* fixed wrong popup hints in some use cases (example: alternative side view by mouse wheel down, #8433);
2021-11-05 23:16:44 +04:00
Evan Kranzler
04646a5a62 [VOC] added set 2021-10-28 20:06:40 -04:00
Evan Kranzler
653df7737b [VOW] added set 2021-10-28 20:04:42 -04:00
Evan Kranzler
4c93eda485 removed obsolete todo 2021-10-14 08:12:00 -04:00
Evan Kranzler
cfef00f90b small rework of MageBook card stats, removed 500 number limit 2021-10-14 08:09:27 -04:00