Commit graph

1192 commits

Author SHA1 Message Date
Oleg Agafonov
7d675de876 server: fixed server app freeze on another instance already running, improved threads usage (related to #11285); 2024-06-23 15:58:25 +04:00
PurpleCrowbar
77aba627b0 Add all missing Secret Lairs 2024-06-22 16:26:50 +01:00
PurpleCrowbar
f83073081d Add M3C token images 2024-06-15 01:41:10 +01:00
PurpleCrowbar
993ffd8894 Add MH3 token images 2024-06-15 01:22:00 +01:00
Oleg Agafonov
1750797036 images: made normal images size as default download source, improved description and info messages 2024-06-13 01:04:30 +04:00
tiera3
b0f08d278f
images: added normal images size download from scryfall source - 2/3 of BIG sizes but with same quality (#12450) 2024-06-13 00:05:01 +04:00
tiera3
fb710f46be
images: improved download size calc for small scryfall images (#12441) 2024-06-09 10:32:10 +04:00
Oleg Agafonov
d2f5379d35 images: improved error message on miss symbols 2024-06-08 11:46:05 +04:00
Oleg Agafonov
c094e31760 images: fixed wrong errors on searching broken images files (closes #12430) 2024-06-08 07:28:17 +04:00
Evan Kranzler
27bea843a3
[M3C] Implement Ulalek, Fused Atrocity and new colorless hybrid mana (#12273)
* improved by (#12415)
* Added symbol downloads for new colorless hybrid
---------

Co-authored-by: Alexander Novotny <alexander_novo@mail.tmcc.edu>
Co-authored-by: Oleg Agafonov <jaydi85@gmail.com>
2024-06-06 23:43:45 +04:00
Oleg Agafonov
4635563f44 images: deleted outdated/closed images sources (closes #5767) 2024-06-06 22:10:46 +04:00
grimreap124
e0184197c8
GUI: fixed stacked permanents in some use cases (#12402) 2024-06-05 13:19:48 +04:00
Susucre
70a5a9a8cf add special guests for MH3 2024-06-04 20:49:44 +02:00
grimreap124
6498522b4e
gui: fix stacking of land creature tokens (#12318)
Moving land creatures into the creature row like they were pre-stacking update

related to #12242, #12248, #12256
2024-06-01 01:10:33 -04:00
tiera3
f253777f7c
Scryfall small images download (#12282)
- Add new option for downloading small images from scryfall

- Refactor/simplify CardImageUrls

---------

Co-authored-by: xenohedron <xenohedron@users.noreply.github.com>
2024-06-01 01:09:02 -04:00
tiera3
024291e057
add download option for all basic land images (#12283) 2024-05-26 19:59:33 -04:00
Oleg Agafonov
0e39d6a833 images: fixed miss token image in some use cases (if it was created from a card and a set contains multiple images); 2024-05-26 12:56:03 +04:00
tiera3
0152d2af1f
add download for ZNC/Germ Token Image (#12286) 2024-05-25 18:33:51 -04:00
tiera3
e3e5f3fa28
Rework Scryfall Image Downloads (#11926)
* Rework Scryfall Image Downloads

Now autoconverts collector numbers ending in "*" or "+" or "Ph" so not as many direct links required.
Uses a third attempt with &variation=true which is needed for the 79 cards that are marked as variations.
Fully tested image downloads with language set to russian to ensure fallbacks work correctly.

Restored comments to match scryfall names instead of the .java file names
Added check for api link ending in "/"
Added workaround comments.
Created prepareCardNumber in ScryfallImageSupportCards.java to use for the shared code.

A couple of comments of scryfall set names:
Commander Legends: Battle for Baldur's Gate
Game Night: Free-for-All

Comment for Viscera Seer re issue 11157
2024-05-25 18:33:23 -04:00
Oleg Agafonov
1b5f8ce1af GUI: fixed wrong background rendering of card's popup window (related to #12261), deleted un-used code; 2024-05-20 23:19:51 +04:00
grimreap124
f53c9da3e4
GUI: added stacked feature for a same creature tokens (#12256) 2024-05-20 09:15:15 +04:00
grimreap124
61b7918fe6
GUI: fixed bugs with some stacked tokens (closes #12246, related to #12242) (#12248) 2024-05-18 22:56:01 +04:00
PurpleCrowbar
a95b988ac7 Add SCD token images 2024-05-15 03:18:53 +01:00
grimreap124
7e7287e7eb
GUI: added stacked feature for a non-creature tokens like Food and Treasure (#12242) 2024-05-14 08:55:54 +04:00
karapuzz14
bb783a318e
Added [YDMU] Alchemy: Dominaria set. Implemented Vinesoul Spider, Slimefoot, Thallid Transplant. (#12157) 2024-05-04 17:34:25 -04:00
Susucre
85cad4ff1e
cleanup AbilityType for easier check that an ability is an activated ability (#12153)
* cleanup AbilityType

* further cleanup

* cleanup instanceof

* tweak formatting

* rework Rex

* fix mistake in PlayerImpl

* cleanup 'instanceof' for 'ActivatedManaAbilityImpl'
2024-05-03 22:13:34 -04:00
theelk801
daa8996398 [M3C] add set 2024-04-30 17:01:09 -04:00
PurpleCrowbar
66f09decfc Add OTP token images 2024-04-28 21:37:40 +01:00
PurpleCrowbar
fd6f2f48df Add BIG token images 2024-04-28 21:29:48 +01:00
PurpleCrowbar
7cbdef627c Add OTJ token images 2024-04-28 21:22:13 +01:00
PurpleCrowbar
371391b2e3 Add OTC token images 2024-04-28 21:09:06 +01:00
Susucre
a69583dbfc
images: added support of meld cards, fixed #11778 (#12083) 2024-04-08 23:57:13 +04:00
Susucre
3e75f93c20 [OTJ] Implement custom play booster generation
Much can be improved from there, but it is a rough
first implementation of a slot-based play booster.
2024-04-05 00:09:21 +02:00
theelk801
5af2762629 [OTP] add set 2024-04-02 21:29:30 -04:00
theelk801
83e2b9b492 [OTC] add set 2024-03-27 11:17:57 -04:00
PurpleCrowbar
e5759bbd9e
[PH17] Implement Inzerva, Master of Insights (#11774)
* Remove superfluous code from fateseal effect
2024-03-07 19:02:52 -05:00
tiera3
6a90e295a2
add set: [SLP] Secret Lair Showdown (#11908)
Commented out MB1 and FMB1 so they stop showing failed download errors due to #11806
2024-03-06 18:47:49 -05:00
tiera3
484ff1eaff
[SCD] added new set Starter Commander Decks (#11893, #11897) 2024-03-04 14:56:22 +04:00
tiera3
057fa2694d
images: fixed missing images download from SLD and other sets (#11883) 2024-02-29 17:21:04 +04:00
Oleg Agafonov
734e2fae0f refactor: removed outdated or un-used code (part of #11873) 2024-02-29 07:50:13 +04:00
Oleg Agafonov
2aea44da2c gui: fixed token render in mtgo mode (part of #11873) 2024-02-29 07:10:59 +04:00
PurpleCrowbar
3aa44bc7ef Add MKC token images 2024-02-29 02:02:03 +00:00
Oleg Agafonov
e38a79f231
Face down images and cards rework (#11873)
Face down changes:
* GUI: added visible face down type and real card name for controller/owner (opponent can see it after game ends);
* GUI: added day/night button to view real card for controller/owner (opponent can see it after game ends);
* game: fixed that faced-down card can render symbols, abilities and other hidden data from a real card;
* images: added image support for normal faced-down cards;
* images: added image support for morph and megamorph faced-down cards;
* images: added image support for foretell faced-down cards;

Other changes:
* images: fixed missing tokens from DDD set;
* images: no more client restart to apply newly downloaded images or render settings;
* images: improved backface image quality (use main menu -> symbols to download it);
2024-02-29 01:14:54 +04:00
tiera3
f84f871e57
add [ANB] Arena Beginner Set (#11868)
* Remove Shorecomber Crab from ArenaNewPlayerExperienceExtras where it was incorrectly listed
2024-02-27 22:42:33 -05:00
PurpleCrowbar
4235949c55 Add MKM token images 2024-02-28 01:07:04 +00:00
PurpleCrowbar
90aa4f84b8 Add RVR token images 2024-02-26 15:53:32 +00:00
PurpleCrowbar
b847e9d0d7 Add LCC token images 2024-02-26 15:22:23 +00:00
theelk801
99c4ab73c0 [ACR] add set 2024-02-24 09:46:41 -05:00
theelk801
41b443bf77 [BLB] add set 2024-02-24 09:44:44 -05:00
theelk801
71b524be1b [BIG] add set 2024-02-24 09:42:24 -05:00