Commit graph

2398 commits

Author SHA1 Message Date
Oleg Agafonov
572804732e GUI, deck: improved bracket level calculations (added tutors support, part of #13341) 2025-05-24 23:37:05 +04:00
Oleg Agafonov
7c5d4631a9 GUI, deck: improved bracket level calculations (added extra turn support, part of #13341) 2025-05-24 23:11:24 +04:00
Oleg Agafonov
e9a68744af merge fix 2025-05-24 22:42:56 +04:00
Oleg Agafonov
ea179b698e GUI, deck: added bracket level calculations in deck's validation panel (only game changers support yet, part of #13341) 2025-05-24 22:41:05 +04:00
Oleg Agafonov
ef4431e7f2 merge fix 2025-05-24 20:12:53 +04:00
Oleg Agafonov
f3ba897536 gui, deck: reworked edh power level (close #5361, close #11732, related to #13341):
* added power level info in deck validation panel;
* added detail calculation info (hint with cards and their power levels);
* fixed that deck's edh power level ignore individual card's levels and used only commanders;
* removed outdated deck restrictions by commander colors;
* now players can really limit allowed decks by edh power level;
2025-05-24 19:53:37 +04:00
Oleg Agafonov
6521f0b978 GUI, deck: improved cards search (close #6548):
- added non-strict search (enter multiple words in any order or case);
- added strict search (enter exact phrase inside quotes);
2025-05-24 02:41:12 +04:00
Oleg Agafonov
a42a4f7239 GUI, deck: improved grid padding for better cards selection by mouse 2025-05-24 01:26:24 +04:00
Oleg Agafonov
8b4c722ae2 GUI, deck: now a duplicated cards adds to the same place as original cards (close #3314); 2025-05-24 01:08:46 +04:00
Oleg Agafonov
8649869ed4 GUI, deck: improved random deck generation:
- added commander decks support (close #5680);
- fixed and improved cards searching due selected colors (now it search by color identity instead mana cost);
2025-05-24 00:21:23 +04:00
Oleg Agafonov
133e4fe425
other: reworked target selection: (#13638)
- WIP: AI and multi targets, human and X=0 use cases, human and impossible targets use cases;
- improved stability and shared logic (related to #13606, #11134, #11666, continue from a53eb66b58, close #13617, close #13613);
- improved test logs and debug info to show more target info on errors;
- improved test framework to support multiple addTarget calls;
- improved test framework to find bad commands order for targets (related to #11666);
- fixed game freezes on auto-choice usages with disconnected or under control players (related to #11285);
- gui, game: fixed that player doesn't mark avatar as selected/green in "up to" targeting;
- gui, game: fixed small font in some popup messages on big screens (related to #969);
- gui, game: added min targets info for target selection dialog;
- for devs: added new cheat option to call and test any game dialog (define own dialogs, targets, etc in HumanDialogsTester);
- for devs: now tests require complete an any or up to target selection by addTarget + TestPlayer.TARGET_SKIP or setChoice + TestPlayer.CHOICE_SKIP (if not all max/possible targets used);
- for devs: added detail targets info for activate/trigger/cast, can be useful to debug unit tests, auto-choose or AI (see DebugUtil.GAME_SHOW_CHOOSE_TARGET_LOGS)
2025-05-16 13:55:54 +04:00
Oleg Agafonov
db9bdc05c2 GUI, game: fixed that attacking creature draws a wrong colored arrow after blocked creature removed (must be gray, close #11894) 2025-04-26 00:07:41 +04:00
Jmlundeen
e34ebe740e
Feature: Retro Border Renderer (#13563)
* Add Retro Card Renderer

* Updated old sets with retro frames

Adds sets:
* 30th Anniversary Play Promos
* 30th Anniversary Misc Promos
* Eternal Weekend
* MagicFest 2025
* Modern Horizon 2 Timeshifts
2025-04-22 17:37:57 -05:00
Oleg Agafonov
30d44ce869 Improved server's reconnection and drafts stability:
* draft: fixed miss or empty draft panels on reconnect;
* draft: fixed tourney freezes for richman drafts on disconnects;
* draft: fixed tourney freezes on rare use cases with bad connection;
2025-04-18 09:38:52 +04:00
Oleg Agafonov
c3b57f1973 connection: fixed really disabled proxy usage (related to #13549); 2025-04-17 22:23:39 +04:00
Oleg Agafonov
571605e224 server: now it disable draft's clicks protection timeout in test mode; 2025-04-17 21:05:53 +04:00
PurpleCrowbar
dfb6896453
Skip prompting player with no blockers to select blockers (#13496)
* Don't prompt creatureless player to select blockers

* Move getting possible blockers back to while loop

* Several preferences text improvements, always skip select blockers prompt if no blockers
2025-04-03 18:34:04 +01:00
spjspj
b7bebfd93f
Update CardViewEDHPowerLevelComparator.java 2025-03-29 01:49:50 +11:00
PurpleCrowbar
f83a162d30 Achieve parity with 411100e, improve hints button text 2025-02-26 15:19:07 +00:00
PurpleCrowbar
411100e442 Minor grammar and text fixes 2025-02-25 02:23:37 +00:00
Johannes Wolf
216826b513
GUI, game: fixed game error in choose ability dialog on using CTRL and mouse wheel (#13186) 2025-02-16 23:33:47 +04:00
Oleg Agafonov
a102a7d614 GUI, game: added auto-resize to new popup windows like reveal/graveyard (#4351, #12281) 2025-02-13 08:01:29 +04:00
Oleg Agafonov
62ba9f02ba connection: disabled outdated proxy settings (#13323) 2025-02-09 19:51:10 +04:00
PurpleCrowbar
e1c114174b
Delete empty tooltips (#13276) 2025-01-30 23:26:23 +00:00
Oleg Agafonov
c076f4925f Turn under control reworked:
- game: added support for human games (cards like Emrakul, the Promised End, #12878);
 - game: added support of 720.1. to reset control in the turn beginning instead cleanup step (related to #12115);
 - game: added game logs for priorities in cleanup step;
 - game: fixed game freezes and wrong skip settings usages (related to #12878);
 - gui: added playable and choose-able marks for controlling player's cards and permanents, including switched hands;
 - gui: added controlling player name in all choice dialogs;
 - info: control of computer players is it not yet supported;
2025-01-07 12:38:01 +04:00
Oleg Agafonov
fbd5cca14a GUI: fixed rare error while draging/moving card on first play (close #13201) 2025-01-04 12:46:19 +04:00
Oleg Agafonov
7e0c9bb5c5 images: fixed symbols download from gatherer website, removed custom cacert key storage (close #13159, close #13157, related to #9266) 2025-01-02 02:11:23 +04:00
Oleg Agafonov
2955535927 tests: added tests for auto-lands suggestion in deck editor and tourney (related to #13127) 2024-12-16 21:50:27 +04:00
Oleg Agafonov
15a1e618fa client: improved default run scripts for better compatibility with non-ascii paths, increased default memory limit to 2 GB (#13121) 2024-12-10 18:17:55 +04:00
Oleg Agafonov
de34a98208 client: added java version and charset info to error report (related to #13121) 2024-12-07 14:54:02 +04:00
spjspj
7ae61944f5
Update ChatPanelBasic.java 2024-11-10 22:05:25 +11:00
Oleg Agafonov
1ec277631f GUI, game: added card popup support in choose target amount dialogs (example: damage distribution, related to #9827) 2024-10-24 16:30:17 +04:00
Oleg Agafonov
2b9ae8e0aa GUI, table: improved save/load table config for new tourney dialog (miss num seats, decks, skill, player types and other params, related to #12981) 2024-10-12 11:31:42 +04:00
Oleg Agafonov
3475249c99 GUI, table: improved save/load table config to support player types, AI skill level and deck files (closes #12981) 2024-10-11 17:09:15 +04:00
Oleg Agafonov
f652665f87 merge fix 2024-10-11 16:40:27 +04:00
Oleg Agafonov
bad782244f GUI: added new error dialog for more use cases 2024-10-11 16:38:46 +04:00
Oleg Agafonov
8d6ba84556 dev: added support of client code debugging without disconnection (no more connection/pings validation in server's test mode);
server: improved disconnection logs, fixed some race conditional bugs;
2024-10-09 16:03:38 +04:00
Oleg Agafonov
f0c6835d36 GUI, preferences: removed outdated settings with images download threads (it's 5 by default now) 2024-10-06 13:42:27 +04:00
Oleg Agafonov
5e1dace946 GUI: fixed black colored card hint popup on some systems (#12857) 2024-09-28 21:05:44 +04:00
TandEm
571eb69890
GUI, deck editor: improved toolbar icons in dark themes (#12873, #12920)
Co-authored-by: TandEm <tandem@users.noreply.github.com>
2024-09-28 19:44:19 +04:00
Oleg Agafonov
f7d702d5df images: added The Ring image support (part of #12274, #12899);
images: fixed miss dungeon image in choose dungeon dialog (part of #12274);
2024-09-21 18:41:53 +04:00
Oleg Agafonov
b40e7222b3 Dungeon improves:
* Dungeons: added dungeon name hint to room's game log and choices (part of #12274);
* GUI, game: added card popup hints support in feedback panel (yes/no choices);
* Images: fixed miss images for dungeons in command zone, game logs and choice dialogs;
2024-09-19 13:42:23 +04:00
Oleg Agafonov
cd51954208 tests: added verify check for wrong predicates usage in filters (ClassCastException errors like #12774) 2024-09-19 04:32:21 +04:00
Oleg Agafonov
6625db1be1 GUI: reworked GUI to support non-blocking UI:
- GUI: added non-blocking UI to almost all app and game dialogs;
- GUI: it allows to switch between UI dialogs and use any UI elements at any moment;
- GUI: it allows to use chat, card popup, battlefield, concede and other features while choosing (related to #12670);
- GUI: it allows to download images while playing (related to #4160, not fully tested);
- GUI: enabled by default, can be disabled by java option: -Dxmage.guiModalMode=true
- connection: auto-connect will be visible in main menu on startup;
- connection: removed some unused features (auto-connect by command line);
- connection: added <ESC> button to close connection dialog;
- download: added background images download (see non-blocking UI);
- download: improved cancel stability and fixes that it can't stop preparing/downloading process in some use cases;
- app: fixed freezes on macOS systems in some use cases (related to #12431, #11292, #9300, #4920);
2024-09-08 00:40:13 +04:00
xenohedron
54874a59b0
refactor: rename "remixed" to "reshuffled" (#12755) 2024-09-01 01:08:26 -04:00
TandEm
8b57b7ee75
GUI: fix some text colors not using the theme color (#12737)
Co-authored-by: TandEm <tandem@users.noreply.github.com>
2024-08-26 12:17:34 -04:00
TandEm
5cab53c848
New GUI theme: Carbon Fiber (#12733)
Co-authored-by: TandEm <tandem@users.noreply.github.com>
2024-08-25 23:14:02 -04:00
Oleg Agafonov
e386210b91 other: fixed rare errors on images download opening, fixed wrong code in chats and preferences store; 2024-08-16 17:42:33 +04:00
Oleg Agafonov
664ac24dfd GUI, preferences: added some docs/hints about DPI and rendering (part of #969) 2024-08-14 20:06:34 +04:00
Oleg Agafonov
3823e95c4f GUI, preferences: added default gui size settings on app's first run (preset selected due screen resolution, part of #969) 2024-08-14 13:31:47 +04:00