Commit Graph

1125 Commits

Author SHA1 Message Date
Agetian
9d43443ca4 - Add a FIXME comment for consideration. 2020-07-09 09:28:43 +03:00
Agetian
5df4902d3c - Minor stylistic fix. 2020-07-09 09:25:25 +03:00
Agetian
448de9b4a2 - Initial implementation for the RemoveDeck:NonCommander hint. 2020-07-09 09:22:47 +03:00
Blacksmith
91bc90f819 [maven-release-plugin] prepare for next development iteration 2020-06-29 02:47:45 +00:00
Blacksmith
4049d23562 [maven-release-plugin] prepare release forge-1.6.35 2020-06-29 02:47:40 +00:00
Hans Mackowiak
19c07f5bef Resolve "Avoid bad performance pattern involving Interger.parseInt" 2020-05-31 14:22:25 +00:00
Hans Mackowiak
57b4135f95 CardType: use stringTo Maps as Cache again 2020-05-29 09:44:59 +02:00
rory
4eb21594b4 Jegantha, the Wellspring 2020-05-10 11:34:07 -07:00
Blacksmith
98d80a1328 [maven-release-plugin] prepare for next development iteration 2020-05-05 16:05:39 +00:00
Blacksmith
2d3a538f6d [maven-release-plugin] prepare release forge-1.6.34 2020-05-05 16:05:31 +00:00
austinio7116
f6201d178e Alternative image lookup to avoid issues with multiple printings in a single edition - e.g. supporting loading *1.full.jpg if only .full.jpg is present, or loading the standard card if the promo is missing. 2020-04-13 17:47:30 +01:00
Anthony Calosa
5649ac6d7d Update ImageKeys.java 2020-04-13 12:55:13 +00:00
Anthony Calosa
d1cc547239 Update ImageKeys.java to support .full images first art variant renaming optional 2020-04-13 12:51:23 +00:00
Anthony Calosa
7c9849f845 Add preference to enable/disable loading of Unknown Cards.
If a user don't wants to load a certain cards from deleted set/s in edition folder,
you can do so by disabling this option.
2020-03-31 10:54:27 +08:00
CCTV-1
040b4cf7fb Merge remote-tracking branch 'upstream/master' into display_localization_cardname 2020-03-21 22:18:46 +08:00
Tim Mocny
7fb34b4887 MTGA Historic Format 2020-03-20 19:11:59 +00:00
Blacksmith
4cfcbaf603 [maven-release-plugin] prepare for next development iteration 2020-03-20 00:35:58 +00:00
Blacksmith
22dc1a27a0 [maven-release-plugin] prepare release forge-1.6.33 2020-03-20 00:35:52 +00:00
Jamin W. Collins
c0349d87fb implement and use new PredicateCard
This fixes the THB and ELD draft, possibly others

Signed-off-by: Jamin W. Collins <jamin.collins@gmail.com>
2020-03-13 18:45:36 -06:00
Hans Mackowiak
81dc9fecba Sage Trigger Combined 2020-03-13 15:11:05 +00:00
Tim Mocny
3be58fee75 Make Planeswalkers poss commander for Tiny Leaders, cleanup Brawl commander syntax
Legendary Planeswalkers only

Clean up Commander syntax for TL and Brawl
2020-03-12 16:00:03 +00:00
Anthony Calosa
14a40e493f Try first variant art for .fullborder images
(ie WAR variant has alternate art)
2020-03-12 08:54:08 +08:00
Anthony Calosa
1f4eff8b1c Adjust CroppedArea for Non Modern Card Frames
(fullborder images)
2020-03-10 16:45:08 +08:00
Jamin W. Collins
ecdea545fc simplify regex usage to group numbers, support Android 6
Signed-off-by: Jamin W. Collins <jamin.collins@gmail.com>
2020-03-07 09:01:57 -07:00
Jamin W. Collins
ff31718839 correct how collectorNumber is located
The existing logic will always return the first match for a given card
name, even if there are multiple different printings of the same card
name within a set. This change aligns the collectorNumber with the
alternate art index.

Signed-off-by: Jamin W. Collins <jamin.collins@gmail.com>
2020-03-03 21:27:05 -07:00
Jamin W. Collins
e325f42ca8 change collector number to be a String
This change moves the internal storage of collector number from Integer
to String.

The parsed pattern for valid collector numbers is any number of digits
followed by an optional single non-digit character. This follows the
format used by Scryfall for the alternate art WAR planeswalkers and
cards from older formats sucha as FEM.

Signed-off-by: Jamin W. Collins <jamin.collins@gmail.com>
2020-03-03 08:59:09 -07:00
Tim Mocny
12c705476d Tiny Leaders ban - Najeela 2020-02-29 21:50:28 +00:00
CCTV-1
4fde684e9b make desktop sideboard dialog show localization card name. 2020-02-25 12:27:36 +08:00
CCTV-1
661e41e220 Merge remote-tracking branch 'upstream/master' into display_localization_cardname 2020-02-17 11:37:34 +08:00
CCTV-1
b11cb78cd8 card catalog support use localization card text search. 2020-02-17 11:37:16 +08:00
CCTV-1
f2c0b0423f fix miss assigning replaceAll return value. 2020-02-16 13:44:22 +08:00
CCTV-1
f6509dd30e Merge remote-tracking branch 'upstream/master' 2020-02-03 18:40:13 +08:00
Hans Mackowiak
00c83f1d25 All basic land type and AdjustLandPlays 2020-02-03 10:09:45 +00:00
CCTV-1
95a5ba10a7 adjust indent 2020-01-29 09:00:19 +08:00
CCTV-1
723f366cc0 support save unicode name deck 2020-01-28 22:13:25 +08:00
CCTV-1
feae4ebf81 fix:charset detect don't work 2020-01-20 11:24:20 +08:00
CCTV-1
e97ca38cbe fix var name wrong 2020-01-20 09:35:06 +08:00
CCTV-1
eff1be31da fix:in desktop,use chinese,if translation text use placeholder strings, getMessage return a garbled string(a string,the content have two encoding) 2020-01-20 09:26:52 +08:00
Blacksmith
b8101d0387 [maven-release-plugin] prepare for next development iteration 2020-01-19 00:54:23 +00:00
Blacksmith
55d02d5adb [maven-release-plugin] prepare release forge-1.6.32 2020-01-19 00:54:18 +00:00
Blacksmith
1b130ab157 [maven-release-plugin] prepare for next development iteration 2020-01-08 02:20:36 +00:00
Blacksmith
74005529f5 [maven-release-plugin] prepare release forge-1.6.31 2020-01-08 02:20:31 +00:00
Sol
2cc39c2580 Prerelease standardization 2020-01-07 05:59:26 +00:00
Myrd
06fc409234 Merge branch 'optimize_param_parsing' into 'master'
Optimize FileSection.parse()/parseMap().

See merge request core-developers/forge!2340
2019-12-20 16:37:31 +00:00
Alexei Svitkine
dd4df9baaa Optimize FileSection.parse()/parseMap().
This was showing up in profiles with simulation AI. The change
makes constants for the patterns used, so they don't have to be
"compiled" each time and also introduces a cache for these.

With this change, a GameCopier operation is sped up by about 30%
from my local measurement (I tried with a modern deck I have).
2019-12-20 11:22:06 -05:00
Alexei Svitkine
4384b1621b Switch card types lists to sets to avoid costly look ups and
optimize getParamOrDefault() to do a single look up, instead of
two. These were showing up in profiles when using simulation AI.
2019-12-20 11:15:38 -05:00
Myrd
5cb8502566 Revert "Merge branch 'master' into 'master'"
This reverts merge request !2334
2019-12-20 15:48:04 +00:00
Alexei Svitkine
3d59118b94 Use Sets instead of Lists for card types to avoid slow lookups. 2019-12-19 20:49:29 -05:00
Anthony Calosa
c600dc3b4f Update 2019-11-17 08:10:29 +08:00
Anthony Calosa
1c19f36637 Fix cards like planes/phenomenon not loading an existing images that have .full/.fullborder 2019-11-17 08:02:11 +08:00