Commit graph

1179 commits

Author SHA1 Message Date
theelk801
a242e2fa18 [CLU] add set 2023-12-05 22:10:41 -05:00
theelk801
115766df3d [MKM] add set 2023-12-05 21:47:03 -05:00
Oleg Agafonov
cacf8226aa refactor: fixed wrong random value usage 2023-11-28 21:48:41 +04:00
Tirth Bharatiya
6a1f4a35d4
refactor: extracted resource load methods from ModernCardRenderer to ModernCard (#11478) 2023-11-27 23:27:17 +04:00
Oleg Agafonov
550e97e1e3 refactor: removed some outdated GUI components and code 2023-11-27 00:20:11 +04:00
Oleg Agafonov
4500b79008 GUI: added changeable card popup mode for chats/logs by card name clicks (alternative to mouse wheel from game cards);
other: fixed duplicated chat popups in game, added miss error logs from popup related code, added additional checks for good code usage;
2023-11-26 12:48:41 +04:00
Oleg Agafonov
63290d3ed6 GUI: fixed not working card popup near screen border, improved card popup for chat and choose dialogs; 2023-11-25 17:27:59 +04:00
Oleg Agafonov
d1f9e9cc90 Improved stability and other related fixes:
* server: added limit to max chat message (related to #11285);
* gui: fixed possible error after auto-submit deck;
* gui: fixed possible error after end game dialog;
* refactor: other code improves;
2023-11-25 12:29:54 +04:00
Oleg Agafonov
53add71826 Improved network stability and other related fixes:
* server: fixed that a critical errors ignored in user commands threads (now it will be added to the logs);
* network: fixed frozen user responses in some use cases;
* network: fixed accidental and incorrect user responses (only latest response will be used now);
* network: improved freeze logs, added problem method name and code's line number;
* cheats: removed outdated deck and card load logic (only init.txt commands supports now);
* cheats: fixed wrong priority after add card dialog (closes #11437);
* cheats: improved stability and random errors on cheat executes (related to #11437);
* docs: added details on network and thread logic, human feedback life cycle, etc (see HumanPlayer, ThreadExecutorImpl);
2023-11-24 21:22:16 +04:00
Oleg Agafonov
4ba3e1fec5 images: improved support of scryfall download (added timeout for compatibility with api rate limits) 2023-11-23 14:00:38 +04:00
Oleg Agafonov
a0ed89035f GUI: fixed wrong clicks from additional mouse buttons (now only left clicks are allowed, closes #11455) 2023-11-23 09:23:01 +04:00
Tirth Bharatiya
44b8a0faf4
refactor: improved code to increase readability. (#11418)
Moved the cardViewEquals method from CardPanelRenderModeMTGO to CardView
Decomposed conditional to increase readability.
Changed the variable/constant names to increase the readability.
2023-11-17 10:47:53 +04:00
bobwoco
8bcff5841c
gui: improved svg Refactor css file URIs to comply with library change (#11366)
Co-authored-by: Ethan Ward <ethanandrewward@gmail.com>
2023-10-30 05:39:54 +04:00
PurpleCrowbar
8fc880c23b Remove several invalid sets from token image database 2023-10-20 17:32:38 +01:00
theelk801
5bed13eb9f [PIP] add set 2023-10-19 16:26:48 -04:00
PurpleCrowbar
dc7d1450f2 Fix text on DFC button's tooltip 2023-10-14 18:39:45 +01:00
Susucre
1acb1d6c9a
Tweak the Pillar of the Paruns format (#11197) 2023-09-24 22:09:38 -04:00
Susucre
35710efa60
Add new Set files, as well as add new entries to mtg-cards-data.txt (#11193)
[SPG] [LCI] [LCC] [REX]
2023-09-23 20:24:44 -04:00
Oleg Agafonov
0bb837cbe5 refactor: removed unused data from images download, improved code 2023-09-17 14:50:33 +04:00
xenohedron
e87bf3724c final cleanup for updated set names 2023-09-12 00:56:41 -04:00
xenohedron
94d65ddad1 set rename: PWCQ -> WMC 2023-09-12 00:42:23 -04:00
xenohedron
9922c5f7c1 reorganize sets: remaining DCI promos 2023-09-12 00:42:23 -04:00
xenohedron
97e17d7c3b rename sets: Gateway 2006-8 -> DCI Promos 2023-09-12 00:42:23 -04:00
xenohedron
fa34983cbc reorg sets: IDW Comics Inserts 2023-09-12 00:42:23 -04:00
chesse20
f4d6294148
images: added miss set's symbols past m20 (#11092) 2023-09-02 03:13:59 +04:00
PurpleCrowbar
5fd8255a8a Fix Teyo wall token color and add its image 2023-08-31 23:37:58 +01:00
PurpleCrowbar
43a2bf0d9a Add WOC token images 2023-08-31 23:37:58 +01:00
PurpleCrowbar
fb7e5a7688 Add WOE token images 2023-08-31 23:37:58 +01:00
Oleg Agafonov
aeea3857f4 [DMU] fixed game error on Karn, Living Legacy emblem usage (miss emblem in token database); 2023-08-25 18:09:26 +04:00
theelk801
d8cc16d4fc [WOT] add set 2023-08-24 17:29:57 -04:00
Susucre
5062c84098
Refactor: removed server side objects from a client side game's data (#10788)
* Clean original values transmitted with CardView.originalObject
* Move RateCard to mage.Common, support cardView as argument.
* Clean PermanentView constructor for TestCardRenderDialog
2023-08-24 12:04:07 +04:00
Susucre
ea6f3c05de
[GUI] Add Token on type line. (#10813)
* [GUI] Add Token on type line.

* rewrite comment.
2023-08-16 22:45:15 -04:00
theelk801
eeb0f9b7d8 [WOC] add set 2023-08-15 20:24:09 -04:00
PurpleCrowbar
6ea286eb89 Add CMM token images 2023-08-10 01:10:17 +01:00
theelk801
2633392807 [PL23] add set 2023-08-06 09:08:22 -04:00
theelk801
4242f2b226 [PL21] add set 2023-08-06 09:05:02 -04:00
theelk801
4fb0cc91d2 [PL22] add set 2023-08-06 08:55:05 -04:00
xenohedron
f1757e5628
Add {P} symbol for Rage Extractor (#10762) 2023-08-05 20:53:52 -04:00
theelk801
e138003eb0 [WOE] add set 2023-08-05 13:23:56 -04:00
theelk801
30966564cb [WHO] add set 2023-07-21 08:53:05 -04:00
PurpleCrowbar
375dfa86d9 Add LTC token images 2023-07-20 05:10:21 +01:00
PurpleCrowbar
e8d833f0ba Add LTR token images 2023-07-20 04:26:35 +01:00
xenohedron
45b54e8cc4 code style: private static final 2023-07-07 23:34:16 -04:00
Alexander Novotny
fae63d9d4b
Add additional ability icons (#10549)
* Slightly revamped basic card icons

All icon classes which were just static text have been removed, and instead replaced with a static instance.

A new icon for reach has been added

Some icons have been reused for new abilities (hexproof for shroud and ward, infect for toxic)

When a card would have two icons of the same type, the icons are instead combines into one with a combined hover tooltip.

* Fixed missing capitalization on ward, hexproof
2023-07-04 01:22:07 +04:00
PurpleCrowbar
63be7589ae Add MUL token images 2023-06-23 02:06:56 +01:00
Oleg Agafonov
afe89a1056 momir game: fixed game error on start, added momir emblem image 2023-06-17 09:29:47 +04:00
Evan Kranzler
60e488cf05
rename classes (#10383) 2023-05-17 18:49:30 -04:00
Oleg Agafonov
1f4dfd08ce docs: added some comments about tokens, verify, test mode, etc 2023-05-09 12:27:18 +04:00
Oleg Agafonov
1dea98cf1f Game: fixed that search by card name was able to return a wrong card (example: cheat command) 2023-05-08 22:58:30 +04:00
Oleg Agafonov
5f55c7c667 Tokens and command objects reworked (part 1 of 2):
- fixed that copy effect doesn't restore original image after effect's end;
 - removed outdated availableImageSetCodes (all images auto-selected from tokens database now, related to #10139);
 - refactor command objects to use CommandObjectImpl;
 - refactor planes/emblems/etc objects to use MageObjectImpl, added copyable support;
 - refactor another game objects to remove some duplicated fields;
2023-05-08 02:15:07 +04:00