Commit graph

3825 commits

Author SHA1 Message Date
Oleg Agafonov
0fc7e1afdc tests: added additional tests for images download 2024-01-20 15:59:15 +04:00
Oleg Agafonov
a81cb306d4 [LTR] fixed card number of The One Ring (0 number for tokens only); 2024-01-20 15:33:15 +04:00
Oleg Agafonov
258a98bddd images: added double faced images support from REX, improved errors processing; 2024-01-20 15:29:05 +04:00
Oleg Agafonov
402d049577 sound: now music settings will be applied after save (related to #11675); 2024-01-17 12:28:24 +04:00
theelk801
38da7770c1 [MKC] add set 2024-01-16 17:00:07 -05:00
Oleg Agafonov
7bda2d95d2 GUI: improved stability of popup hint window (fixed game freeze in some use cases, fixes #11595) 2024-01-15 19:57:33 +04:00
PurpleCrowbar
6439c97e82
[PH19] Implement The Cinematic Phoenix (#11657) 2024-01-14 22:34:37 -05:00
Oleg Agafonov
08b99fcbf7 AI: removed outdated AIMinimax project (#7075), removed some useless player classes, code and config files, improved docs; 2024-01-15 05:03:21 +04:00
Jeff Wadsworth
05e545efb2 Reverted pom.xml to original source. 2024-01-10 17:28:25 -06:00
Jeff Wadsworth
58739cf2d6 Fixed #11623 2024-01-10 17:24:42 -06:00
Oleg Agafonov
b3c55555a1 tests: fixed error on load tests end (related to #11572), improved logs, improved session lifecycle on load tests;
tests: added additional test for Mana Maze and deep copy (related to #11572);
docs: added more info to network related code;
2024-01-08 04:14:27 +04:00
PurpleCrowbar
41bdd5258c Add LCI token images 2024-01-07 19:19:34 +00:00
Oleg Agafonov
e79f562f4a server: improved logs for some use cases (related to #11572) 2024-01-05 23:13:20 +04:00
Oleg Agafonov
d4a1e27a44 GUI: improved choose X or number dialog (added source ability and card hint support, added limits info);
game: choose X - added source ability info to game logs;
2023-12-18 01:22:14 +04:00
Oleg Agafonov
60730dff47 Merge fix 2023-12-15 16:52:48 +04:00
Oleg Agafonov
d03ebad794 GUI: draft panel - added set code to booster names, improved text fonts and drawing; 2023-12-15 16:01:09 +04:00
Oleg Agafonov
c10ed215ab GUI: draft panel - added new timer (bigger size, diff color), migrated form structure to layout managers; 2023-12-15 15:44:33 +04:00
Oleg Agafonov
2541f67793 refactor: improved draft panel structure 2023-12-15 10:05:15 +04:00
Oleg Agafonov
df26ab5156 refactor: moved draft grid component to correct package, improved netbeans editor compatibility 2023-12-15 08:38:15 +04:00
Oleg Agafonov
10641f8d63 GUI: hand - added default card sorting on mulligan (lands > other > creatures; mana value, name); 2023-12-14 22:13:07 +04:00
theelk801
9df074880f [RVR] add set 2023-12-13 09:23:13 -05:00
Oleg Agafonov
00a7cc645d Copy abilities - fixed wrong copy of transformed tokens like Incubator/Phyrexian (related to #11535, #11307, #10801, #10263); 2023-12-10 14:49:47 +04:00
PurpleCrowbar
1006115912 Add Incubator token images. Related to #11535 2023-12-09 21:12:14 +00:00
ssk97
6cd8649857
GUI: lobby - improved details info about match (#11438) 2023-12-09 16:35:09 +04:00
Oleg Agafonov
6aaaa8cb46 GUI: improved main and battlefield menus (related to #11533):
- main menu: better naming for deck editor;
- battlefield menu: added deck view for computer players, better naming;
- network: improved experimental connection;
2023-12-09 15:20:29 +04:00
Oleg Agafonov
960e896903
Network upgrade and new reconnection mode (#11527)
Network upgrade and new reconnection mode:
* users can disconnect or close app without game progress loose now;
* disconnect dialog will show active tables stats and additional options;
* all active tables will be restored on reconnect (tables, tourneys, games, drafts, sideboarding, constructing);
* user must use same server and username on next connection;
* there are few minutes for reconnect until server kick off a disconnected player from all player's tables (concede/loose);
* now you can safety reconnect after IP change (after proxy/vpn/wifi/router restart);

Other improvements and fixes:
* gui: main menu - improved switch panel button, added stats about current tables/panels;
* gui: improved data sync and updates (fixes many use cases with empty battlefield, not started games/drafts/tourneys, not updatable drafts, etc);
* gui: improved stability on game updates (fixes some random errors related to wrong threads);
* server: fixed miss messages about player's disconnection problems for other players in the chat;
* refactor: simplified and improved connection and network related code, deleted outdated code, added docs;
* tests: improved load test to support lands only set for more stable performance/network testing (set TEST_AI_RANDOM_DECK_SETS = PELP and run test_TwoAIPlayGame_Multiple);
2023-12-07 20:56:52 +04:00
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
57a556105c Merge fix 2023-12-03 00:32:25 +04:00
Oleg Agafonov
eaa510b265 GUI: added restriction card icon to permanent (contains all applied restrictions and requirements, #7471) 2023-12-03 00:01:47 +04:00
Oleg Agafonov
6157dfed47 Merge fix 2023-12-01 00:02:00 +04:00
Oleg Agafonov
1777a45ee4 performance: fixed app freeze after first connection, moved sets and formats preload to client startup instead connection 2023-11-30 21:55:08 +04:00
Oleg Agafonov
0b0e947741 connection: improved error processing and stability in connect dialog 2023-11-30 21:52:47 +04:00
Oleg Agafonov
adf57a0677 fixed regression with clicks (closes #11493) 2023-11-30 11:20:05 +04:00
Oleg Agafonov
e534497834 GUI: hand zone - fixed wrong dragging effect while click on card, improved dragging animation, fixed wrong click if user return card to the original place 2023-11-30 09:21:53 +04:00
Oleg Agafonov
b695f8906c GUI: improved game logs, added mouse cursor and hover style over active card names like browsers 2023-11-29 03:10:53 +04:00
Oleg Agafonov
9c6fc4187f GUI: improved ability picker, added card popup support (closes #6678) 2023-11-29 03:08:48 +04:00
Oleg Agafonov
491c9cbe04 GUI: fixed empty battlefield/players after reconnection, if it still empties then press any skip button (closes #11201) 2023-11-29 03:02:47 +04:00
Oleg Agafonov
16d82e9049 gui: fixed wrong hands message with AI games (regression) 2023-11-28 22:18:08 +04:00
Oleg Agafonov
cacf8226aa refactor: fixed wrong random value usage 2023-11-28 21:48:41 +04:00
Oleg Agafonov
01dd8c33ba gui: fixed possible game error with player timer on client side 2023-11-28 21:48:41 +04:00
Tirth Bharatiya
8ad3238109
refactor: improved code usage in DeckGeneratorPool (#11479)
* moved generateSpells and generateLands method to DeckGeneratorPool.
* moved generateBasicLands method to DeckGeneratorPool.
2023-11-28 11:14:53 +04:00
Oleg Agafonov
2eac541b80 gui: fixed broken watcher view mode (closes #11481) 2023-11-28 08:04:14 +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
c5632f6868 refactor: removed client side threads from a server, improved test log files rotation; 2023-11-27 18:13:05 +04:00
Oleg Agafonov
0470ae9799 GUI: fixed wrong ability text format for stack objects in popup image mode (closes #4057) 2023-11-27 01:54:38 +04:00
Oleg Agafonov
6e3fe7ec46 Cascade and other "cast spell without paying" abilities - added card popup support for casting card (closes #11355) 2023-11-27 00:49:37 +04:00
Oleg Agafonov
1dc040a2c9 GUI: added card popup support in feedback/choice panel (related to #9609) 2023-11-27 00:22:39 +04:00
Oleg Agafonov
550e97e1e3 refactor: removed some outdated GUI components and code 2023-11-27 00:20:11 +04:00
Oleg Agafonov
d016e4c4c3 GUI: added starting chat hints about popup hotkeys (hold <ALT+E> to force image, press <ALT+D> to show/hide right card panel) 2023-11-26 22:48:24 +04:00