Commit graph

3659 commits

Author SHA1 Message Date
PurpleCrowbar
aae793945d Add ODY token images 2023-04-24 01:20:57 +01:00
theelk801
1fab54772f [LTC] add set 2023-04-22 18:59:22 -04:00
theelk801
1e1890fc2c [LTR] add set 2023-04-22 18:59:11 -04:00
theelk801
7e3e430202 add lord of the rings set images 2023-04-22 18:41:55 -04:00
Oleg Agafonov
7d44057f93 Tokens rework:
- now token images chosen by tokens database instead availableImageSetCodes (related to #10139);
 - added additional verify checks for tokens database;
 - fixed some tokens;
2023-04-22 15:50:46 +04:00
Oleg Agafonov
24bd4315c6 Tokens rework:
- added tokens database (now all tokens store in tokens-database.txt, related to #10139);
 - added sets/cards/tokens stats on app's start;
2023-04-22 02:59:15 +04:00
Oleg Agafonov
df96b89610 Token: added check for required token's class, fixed outdated sets 2023-04-20 23:34:22 +04:00
Oleg Agafonov
5f31c061cf Tokens improved:
- removed outdated emblem formats;
 - simplified emblems definition;
 - improved tok-data structure;
 - improved tok-data read;
 - added additional checks for tok-data file;
 - prepare for tokens database (related to #10139);
2023-04-20 22:14:37 +04:00
PurpleCrowbar
89201937f7 Add MOC token images 2023-04-18 16:27:48 +01:00
PurpleCrowbar
d3d99d609b Add MOM token images (excluding Incubator tokens) 2023-04-18 15:38:36 +01:00
PurpleCrowbar
85c98bc239 Add 30A token images 2023-04-18 15:02:13 +01:00
Evan Kranzler
947351932b
Ready for Review: Implementing Battles (#10156)
* add types and subtypes

* add startingDefense attribute

* [MOM] Implement Invasion of Ravnica / Guildpact Paragon

* fix two small errors

* refactor various instances of "any target"

* fully implement defense counters

* battles can now be attacked

* [MOM] Implement Invasion of Dominaria / Serra Faithkeeper

* [MOM] Implement Invasion of Innistrad / Deluge of the Dead

* [MOM] Implement Invasion of Kaladesh / Aetherwing, Golden-Scale Flagship

* [MOM] Implement Invasion of Kamigawa / Rooftop Saboteurs

* [MOM] Implement Invasion of Karsus / Refraction Elemental

* [MOM] Implement Invasion of Tolvada / The Broken Sky

* simplify battle info ability

* fix verify failure

* some more fixes for attacking battles

* [MOM] Implement Invasion of Kaldheim / Pyre of the World Tree

* [MOM] Implement Invasion of Lorwyn / Winnowing Forces

* [MOM] Implement Invasion of Moag / Bloomwielder Dryads

* [MOM] Implement Invasion of Shandalar / Leyline Surge

* [MOM] Implement Invasion of Belenon / Belenon War Anthem

* [MOM] Implement Invasion of Pyrulea / Gargantuan Slabhorn

* [MOM] Implement Invasion of Vryn / Overloaded Mage-Ring

* [MOM] Implement Marshal of Zhalfir

* [MOM] Implement Sunfall

* implement protectors for sieges

* partially implement siege defeated trigger

* fix verify failure

* some updates to blocking

* [MOM] Implement Invasion of Mercadia / Kyren Flamewright

* [MOM] Implement Invasion of Theros / Ephara, Ever-Sheltering

* [MOM] Implement Invasion of Ulgrotha / Grandmother Ravi Sengir

* [MOM] Implement Invasion of Xerex / Vertex Paladin

* add initial battle test

* fix verify failure

* [MOM] Implement Invasion of Amonkhet / Lazotep Convert

* [MOM] update spoiler

* update how protectors are chosen

* update text

* battles can't block

* add control change test

* rename battle test for duel

* add multiplayer test

* [MOM] Implement Invasion of Alara / Awaken the Maelstrom

* [MOM] Implement Invasion of Eldraine

* [MOM] Implement Invasion of Ergamon / Truga Cliffhanger

* [MOM] Implement Invasion of Ixalan / Belligerent Regisaur

* battles now cast transformed (this is super hacky but we need to refactor TDFCs anyway)

* add TODO

* add ignore for randomly failing test

* a few small fixes

* add defense to MtgJsonCard (unused like loyalty)

* implement ProtectorIdPredicate

* small fixes
2023-04-13 20:03:16 -04:00
Oleg Agafonov
01caeed298 Merge fix 2023-04-13 17:06:22 +04:00
Oleg Agafonov
d17df585c5 Tokens reworked:
- removed outdated code;
 - updated logic to choose a set code for a tokens in different use cases (related to #10150);
 - added many tests for client and server token's data (related to #10139);
 - prepare for tokens database (related #6955);
2023-04-13 16:18:53 +04:00
Oleg Agafonov
ff15edbce8 Game: added new set Thirtieth Anniversary Edition (30A) 2023-04-13 14:38:03 +04:00
Oleg Agafonov
914cfc1d3a Refactor: fixed getRules usage, clean SplitCard code 2023-04-08 19:27:47 +04:00
Oleg Agafonov
202f3687e9 [DST] fixed wrong Wirefly token data 2023-04-07 17:27:46 +04:00
Oleg Agafonov
66d0ef4b35 Refactor cards and token images code (#10139):
- removed outdated token store format (example: BIRD.W.BIRD.CREATURE.1.1.full.jpg)
 - removed duplicated cache images code;
 - removed duplicated set code fields;
 - removed outdated auto-generated thumb files (also all *.thumb.zip files will be deleted on startup);
2023-03-24 06:44:11 +04:00
Oleg Agafonov
6200b43a8d Refactor: improved images download logs 2023-03-21 16:31:33 +04:00
Oleg Agafonov
a7480aeab1 * Game: fixed random sort order of choices in choose dialogs 2023-03-21 03:11:55 +04:00
Oleg Agafonov
ce06ed62b0 * Images: fixed miss cards from Alchemy: Innistrad, Secret Lair Drop, PMEI and PRES (#9249); 2023-03-20 22:31:26 +04:00
Oleg Agafonov
ca993eae39 * GUI: added visual progress bar in download images dialog (#8566) 2023-03-19 21:53:53 +04:00
Oleg Agafonov
00ebef654f * GUI: fixed random/richman tourney settings that allows to freeze the client (#8224); 2023-03-17 23:04:11 +04:00
Oleg Agafonov
e2271d79fb Refactor: added auto-generated readable readme file to releases 2023-03-12 13:56:29 +04:00
Oleg Agafonov
7880d6cc43 Refactor: removed outdated files, added actual license and readme to releases 2023-03-11 21:20:16 +04:00
Oleg Agafonov
4e9ffdfaf9 * GUI: double faced cards improves:
* fixed images download for alternative prints (#9826, #9701);
 * fixed wrong pair of main and second side arts for alternative prints;
2023-03-11 17:35:18 +04:00
Oleg Agafonov
18a3ec5247 DB: fixed wrong result for night cards search (fixed double faced cards in test render dialog) 2023-03-11 12:28:58 +04:00
Oleg Agafonov
d67376641a GUI: fixed wrong card icon rendering after theme change 2023-03-09 22:07:21 +04:00
Oleg Agafonov
743143acde * GUI: meld cards improves:
* added images download for melds cards (#9660);
 * added switch card side button to view a meld part;
 * fixed NPE and other errors on card side switching;
 * added meld cards support in test render dialog;
2023-03-09 21:36:39 +04:00
Oleg Agafonov
1b54659c7d Improved thread code 2023-03-04 21:23:03 +04:00
Oleg Agafonov
409f4eb36c
Merge pull request #9814 from Merlingilb/add-set-expansion-star-wars-rise-of-skywalker
Added set expansion star wars "rise of skywalker"
2023-03-04 16:48:38 +04:00
Oleg Agafonov
4274b75225 * GUI: fixed hybrid mana symbols download and render (#10082); 2023-02-27 14:48:01 +04:00
PurpleCrowbar
84ca77f5cb Fix Phyrexian Wurm token name 2023-02-25 14:43:58 +00:00
PurpleCrowbar
580a69782c Add ONC token images 2023-02-25 14:40:29 +00:00
PurpleCrowbar
afde23e803 Add ONE token images 2023-02-25 14:06:06 +00:00
Zach Sorenson
aecb205eaf
Remove slash breaking non-english releases 2023-02-23 19:46:33 -06:00
theelk801
c9d3e98fbc [MAT] add set 2023-02-19 16:38:31 -05:00
theelk801
9b52701338 [MOC] add set 2023-02-19 16:29:51 -05:00
theelk801
daf943a56e [MOM] add set 2023-02-19 16:24:26 -05:00
theelk801
5b3df8c032 [DMR] add image source 2023-01-26 09:04:30 -05:00
PurpleCrowbar
de3efda5ce Remove APC (Apocalypse) as a token image source 2023-01-26 03:55:47 +00:00
PurpleCrowbar
112f7af0fb Add DMR token images 2023-01-26 03:55:05 +00:00
theelk801
c9bcc82994 [ONC] add set 2023-01-18 09:43:20 -05:00
theelk801
630617b6d0 [ONE] Implement Ovika, Enigma Goliath 2023-01-15 11:54:53 -05:00
sprangg
d604f04b79
Button focus adjustments for yes/no dialogs (#9828)
* UserRequestDialog buttons can't be pressed with spacebar anymore

* Pressing spacebar when drafting no longer brings up the quit menu

* Revert DraftPanel and TournamentPanel quit dialog buttons to their original positions

Co-authored-by: sprangg <a@b.c>
2022-12-26 20:09:41 +04:00
Daniel Eberhard
9662e64019 Fixed Images 2022-12-18 03:15:49 +01:00
Evan Kranzler
de7ce610dc [ONE] add set 2022-12-13 16:40:28 -05:00
Daniel Eberhard
7dca71997a added cards and placeholder class files from risoofskywalker extension from star wars 2022-12-10 08:28:55 +01:00
sprangg
0627dc4640
More draft stability (#9718) 2022-11-25 11:44:14 -05:00
PurpleCrowbar
5784532484 Add BRC token images 2022-11-19 02:34:56 +00:00