Commit Graph

2168 Commits

Author SHA1 Message Date
Leandro Doctors
530d419649 format: replace tabs with spaces 2022-04-22 11:33:46 -03:00
Leandro Doctors
629c232f92 forge-gui-desktop: tests: refactor (format)
Affected namespaces:
forge.card
2022-04-22 11:33:46 -03:00
Leandro Doctors
e585756676 forge-gui-desktop: tests: refactor (organize imports)
Affected namespaces:
forge.card
2022-04-22 11:33:46 -03:00
Leandro Doctors
bb9af66a44 forge-gui-desktop: tests: refactor (rename)
Affected namespaces:
forge.card
(referenced by forge.deck and forge.gamesimulationtests)
2022-04-22 11:33:46 -03:00
Chris H
096032e6b7 Merge pull request #76 from allentiak/migrate-junit3-tests-to-testng
Migrate all remaining JUnit3 tests to TestNG
2022-04-21 20:26:40 -04:00
Alumi
f0762b3bdc Better fix for card list dancing light issue. 2022-04-20 17:49:51 +09:00
Leandro Doctors
e570222e31 format: convert tabs to spaces 2022-04-19 15:35:31 -03:00
Leandro Doctors
1a57bee27f forge-gui-desktop: tests: refactor (format)
Affected namespace:
forge.ai.simulation
2022-04-19 15:35:31 -03:00
Leandro Doctors
efa45f8889 forge-gui-desktop: tests: refactor (rename)
Affected namespace:
forge.ai.simulation
2022-04-19 15:35:31 -03:00
Leandro Doctors
c7d0dde3e7 forge-gui-desktop: tests: migrate from JUnit3 to TestNG
Affected namespace:
forge.ai.simulation
2022-04-19 15:35:30 -03:00
pfirpfel
daa6feef30 Fix checkstyle error 2022-04-19 18:54:18 +02:00
Anthony Calosa
bd0238a93d disable BaseMultiResolutionImage 2022-04-19 23:01:52 +08:00
Anthony Calosa
22069e6abd Fix Desktop ImageView
- reduce width and height by 1
2022-04-19 09:53:38 +08:00
Alumi
48f3ae1315 Detect Screen DPI and scale images accordingly 2022-04-16 21:34:12 +09:00
Magpie
4e49db1d56 Custom content fixes
Allows loading of custom tokens and unifies the databases so it doesn't require workarounds to find everything.
2022-03-23 05:54:36 +01:00
Hans Mackowiak
2a7db08900 removes compatqual.NullableDecl 2022-03-21 12:34:20 +00:00
Hans Mackowiak
c8e5a02487 Sentry upgrade 2022-03-21 05:11:36 +00:00
Anthony Calosa
368acd1c59 [Mobile] Update netcode, fix swapped players
-update CObjectInputStream to use DecompressibleInputStream method
2022-03-08 10:43:53 +08:00
Paco Ito
6b24d956f6 feat: make icons scale using SCALE_SMOOTH 2022-02-23 19:52:41 +00:00
Anthony Calosa
1eb4aa5647 Draft Ranking on ImageView
- add an option to show draft card rankings
2022-02-11 14:12:44 +08:00
Tim Mocny
a7f2d8f31e add new Phyrexian/color pair hybrid mana shards 2022-02-11 04:23:04 +00:00
Sol
ba45327912 Merge branch 'paco_unifiedaihintrender' into 'master'
Unified Deck AI Hints

See merge request core-developers/forge!6113
2022-02-03 17:42:09 +00:00
Paco Ito
cde80c9c6e Unified Deck AI Hints 2022-02-03 17:42:08 +00:00
tool4EvEr
63ca64c4cc WithCounters$ -> WithCountersType$ 2022-02-02 21:10:37 +01:00
tool4EvEr
d27552dd25 Clean up 2022-02-01 17:51:19 +01:00
Paco Ito
0a396a44d8 [Desktop] Display which DeckZone the unplayable cards are from 2022-01-29 05:24:16 +00:00
Tim Mocny
fbb7308747 Revert "Merge branch 'paco-aicannotplaybyarea' into 'master'"
This reverts merge request !6085
2022-01-27 21:48:54 +00:00
Paco Ito
2493b08093 [Desktop] Display which DeckZone the unplayable cards are from 2022-01-27 05:08:33 +00:00
Michael Kamensky
70c1e39e2a Merge branch 'assignattackers' into 'master'
Add Skip button to allow arbitrary order when assigning attackers dmg

Closes #2059

See merge request core-developers/forge!6050
2022-01-16 17:46:49 +00:00
tool4EvEr
9e8d366026 Add Skip button to allow arbitrary order when assigning attackers dmg 2022-01-16 11:43:20 +01:00
pakoito
c15109da30 Add cmd file 2022-01-14 17:40:29 +01:00
TRT
94f54f8e71 Fix crash when assigning damage to defender 2022-01-12 13:57:50 +01:00
Bug Hunter
151742f4fd Fix War's Toll + Dueling Grounds 2022-01-12 05:05:24 +00:00
Anthony Calosa
1a57684a44 Disable missingcards cache for desktop
- for compatibility with autodownloader
2022-01-09 19:06:26 +08:00
tool4EvEr
c09301bcea Fix getLethalDamage 2022-01-06 15:43:44 +01:00
Hans Mackowiak
f2d77ab77b ReplaceAddCounter: do adding multiple counters as one replacement 2021-12-26 16:11:35 +01:00
tool4EvEr
68fe6ec7e3 Remove some redundancy 2021-12-15 22:14:56 +01:00
Hans Mackowiak
aa6f2e3b6c Cost: rework param that says if it's by effect or by Spell/ActivatedAbility cost 2021-12-12 05:36:39 +00:00
Michael Kamensky
67072c96cd Merge branch 'bo1' into 'master'
Add "best of 1 (or 5)" option to Constructed

See merge request core-developers/forge!5871
2021-11-25 18:18:48 +00:00
Northmoc
eecb7a120e VLobby - add option for # of matches 2021-11-22 15:50:05 -05:00
leriomaggio
6c8427bfe6 Updated Oracle for MaxArtCount test for Island
This time the test consider a lower-bound to avoid similar cases in the future :)
2021-11-19 19:18:20 +00:00
Hans Mackowiak
53b000515b Token Scripts: add Token to Name 2021-11-19 10:26:46 +01:00
Northmoc
e141ceb3c3 add VOW/VOC to formats 2021-11-15 11:48:01 -05:00
Anthony Calosa
6454fd579d Add "Deck: " string for deck export
- fixes exporting a deck and re importing
2021-11-09 22:04:58 +08:00
Anthony Calosa
d5462db931 unused import 2021-11-09 13:42:14 +08:00
Michael Kamensky
dafee0535f Merge branch 'daynight' into 'master'
Move daynight prompt where it should be

See merge request core-developers/forge!5765
2021-11-09 03:53:28 +00:00
friarsol
bbbf7ec53c Move daynight prompt where it should be 2021-11-08 22:08:34 -05:00
leriomaggio
e86745fb34 Merge remote-tracking branch 'upstream/master' into smart-card-art-deck-import-desktop-and-mobile 2021-11-08 07:20:07 +00:00
Michael Kamensky
d942f89162 - Add support for multiple music sets. 2021-11-04 08:09:36 +03:00
leriomaggio
9f563616e4 Card Art optimisation algorithm for DeckImport
The card art optimisation algorithm integrated into DeckImportController leverages (in terms of general logic) on the card art optimisation in Deck.
However, several are differences in terms of context and interactions so a specialised implementation is needed.

First, the smart card art optimisation has been added as an option in DeckImport. Therefore, smart card art is not a static game option to be used when loading decks with cards with no edition, but also as an option to tweak the deck list.

The second specialisation required is that this implementation takes into account any game format constraint (in terms of allowed sets for optimisation).

Last but not least, the current deck in editor (if any) will be also considered during optimisation.
In particular, when _importing cards_ in current deck (therefore, when not creating a new deck with the deck list) will also take into account the pools of current deck so that harmonisation will already consider where cards will be imported to.
2021-11-03 16:46:30 +00:00