Commit Graph

3539 Commits

Author SHA1 Message Date
tool4EvEr
664a3471c9 Add confirm when discarding hand as payment 2021-09-13 20:40:59 +02:00
tool4EvEr
4e2a6d3c24 Remove old code 2021-09-13 11:33:44 +02:00
Michael Kamensky
3d830f532e Merge branch 'fireball' into 'master'
Fix Fireball

Closes #1970

See merge request core-developers/forge!5333
2021-09-12 10:06:38 +00:00
tool4EvEr
df4c64070d Fix Fireball 2021-09-12 10:29:49 +02:00
Anthony Calosa
6f0ba03d24 [Mobile] Fix blinking card images while using online image fetcher
- also cache card list for faster lookup
2021-09-12 15:52:57 +08:00
Northmoc
6e0b6a2b9e counter name to lower case in prompt 2021-09-11 23:13:46 -04:00
Michael Kamensky
def434bdb7 Merge branch 'cleanup' into 'master'
Minor Cleanup

See merge request core-developers/forge!5322
2021-09-11 09:35:17 +00:00
Anthony Calosa
eddbc1e94a [Mobile] Disable cardBG Texture for Android 9 and below
on Android 10+ (4 GB RAM) it works fine however Android 9 and below with at least 4 GB RAM, it crashes at startup if it tries to read and load the big texture file. Needs investigation
2021-09-11 17:13:20 +08:00
tool4EvEr
052b73bda2 Minor Cleanup 2021-09-11 10:26:01 +02:00
leriomaggio
edfbbfb789 CardPreferences to work with latest setPreferredArt API in CardDb w/ backward compatibility 2021-09-10 14:10:21 +01:00
Anthony Calosa
ab14772304 Update CardBG for PW and NYX 2021-09-07 11:25:19 +08:00
Anthony Calosa
9c6f21adb4 fix classic module crop on "art" mode 2021-09-04 10:47:22 +08:00
Anthony Calosa
5690b0625c [Mobile] added "Art" Border Masking Option & Card BG Textures 2021-09-02 01:59:04 +08:00
Anthony Calosa
d19f30e9ab Update Venture Effect 2021-08-29 21:11:42 +08:00
leriomaggio
cb82fc2f4b Removed unused imports 2021-08-27 20:56:43 +01:00
leriomaggio
7a7b23e593 Replacing with Lists.sort for better performance 2021-08-27 20:02:47 +01:00
leriomaggio
8f9dfea099 FIX card hover switch for Split and Modal cards in Card Catalog (and removed unused preference settings)
This commit FIXES a bug in card catalog which did not allow to switch the view (on hover) on cards with backface that have more than one instance!

The implementation has been simplified, also removing an unused attr!
The corresponding related Preference in settings has been also simplified to two values (being the other not even used anywhere in the game).
Therefore, now in game settings it will be possible to choose between "NEVER" switch card states, and "SWITCH on HOVER".
The default value in Constant has been updated accordingly!
2021-08-27 17:38:20 +01:00
leriomaggio
e92871a3c7 Replacing all calls to ImageUtil.hasBackFacePicture to corresponding new methods in PaperCard class (hasBackFace)
The ImageUtil.hasBackFacePicture has been removed completely as not being in use anymore after the refactoring.
2021-08-27 17:30:32 +01:00
leriomaggio
68fc6b0fd6 Replacing all calls to ImageUtil.getImageKey to corresponding new methods in PaperCard class 2021-08-27 17:24:11 +01:00
Anthony Calosa
cb82d570eb Update FModel.java 2021-08-26 03:48:01 +00:00
Anthony Calosa
d62a6333a3 Update land watermarks 2021-08-20 19:11:18 +08:00
Anthony Calosa
b355d7fc84 Add Forge SetLogo for Desktop and Mobile
Common, Uncommon, Rare, Mythic and Special Forge logos
2021-08-20 13:22:09 +08:00
Anthony Calosa
3d322e47ee Support Set lookup for J21 and other future sets.
Forge loads all files found on the setlookup folder.
Example J21.txt (J21 set code) contains a list of set codes (sorted from Newest to Oldest beforehand) to lookup for images on other sets.
2021-08-16 12:06:20 +08:00
leriomaggio
258f57e080 Merge remote-tracking branch 'upstream/master' into collector-number-in-card-list-and-card-db-refactoring 2021-08-13 11:25:38 +01:00
leriomaggio
50be83ee9d Disabling Unique Cards Only filter for Deck Editors (completely useless and misleading) 2021-08-13 10:16:32 +01:00
leriomaggio
e71a44e76e FIX Issue #1949
All the NetDeckXX classes now traverse their corresponding download dir recursively to look for deck files to load.
So far, from what I can tell, this is only necessary to correctly (re)load Net Decks >> Pro Tour.

However, this opens up the possibility to enable Net Decks to be organised in subfolders that will still be loaded back into Forge.
2021-08-11 08:08:51 +01:00
tool4EvEr
41ce9920ae Fix Egon exiling single card 2021-08-10 19:28:38 +02:00
tool4EvEr
7afc17b514 Clean up 2021-08-08 17:09:58 +02:00
tool4EvEr
3bdbb5bfbf Clear manaPaid before Targeting 2021-08-08 15:09:51 +02:00
tool4EvEr
32cdb0b0f2 Clean up 2021-08-07 16:30:27 +02:00
tool4EvEr
f78c3ba441 Fix drawn card being revealed during ability resolve 2021-08-07 16:30:26 +02:00
tool4EvEr
d5fd5e5077 Fix MayLook revealing new library top before cast finishes 2021-08-07 16:30:23 +02:00
Lyu Zong-Hong
763d509638 Add pure Phyrexian mana symbol for Rage Extractor 2021-08-06 09:46:59 +09:00
leriomaggio
ead4d134ea Merge remote-tracking branch 'upstream/master' into collector-number-in-card-list-and-card-db-refactoring 2021-08-04 08:51:56 +01:00
Northmoc
db4ac4db9d add GameEventRollDie 2021-08-03 21:04:58 -04:00
Northmoc
5c033655c7 SoundEffectType.java add RollDie filename 2021-08-03 21:03:18 -04:00
Alumi
2c9b3f648d Support art crop in Card Image Renderer 2021-08-02 08:21:23 +00:00
leriomaggio
0e5611cfea Merge remote-tracking branch 'upstream/master' into collector-number-in-card-list-and-card-db-refactoring 2021-08-02 07:49:18 +01:00
Hans Mackowiak
c7e6076f8b Trample over PW as Variant of Trample 2021-08-01 01:40:26 +02:00
Bug Hunter
a9f5ab8772 Fix CostSacrifice paying from Effect 2021-07-31 04:47:23 +00:00
Michael Kamensky
e8113dc203 Merge branch 'costs' into 'master'
Some cost fixes

See merge request core-developers/forge!5135
2021-07-30 04:24:45 +00:00
tool4EvEr
39c7c18386 Fix Standstill 2021-07-29 22:01:47 +02:00
tool4EvEr
9bd67d1a17 Support UnlessCost for random Discard 2021-07-29 18:41:37 +02:00
Lyu Zong-Hong
72e734faba Add preferences for card text rendering 2021-07-29 21:47:09 +09:00
leriomaggio
5cc9ddb041 Accounting for any null in CardEdition - for those cards not having one. 2021-07-29 12:18:44 +01:00
leriomaggio
a9f64a52e0 Updating DeckProxy wit the new method on CardEdition.Collection used to determine the edition of a Deck
The edition (set) of a Deck corresponds to the LATEST edition found among the cards in the DECK, considering their ORIGINAL editions.
2021-07-29 12:17:56 +01:00
leriomaggio
556894296f Adding controls on ProgressBar that might avoid sudden NPE with downloading net decks.
I am still not sure how to reproduce the issue, but I do sometimes get a NPE on progress bar (directly raised by Java Swing, tbh) when downloading certain net decks.
I have the feeling there might be some sort of concurrency issue//race condition so just in case, any update to the progress bar is now surrounded by a check that's not null.
2021-07-29 12:14:55 +01:00
leriomaggio
b893283abc Merge remote-tracking branch 'upstream/master' into collector-number-in-card-list-and-card-db-refactoring 2021-07-28 01:14:00 +01:00
leriomaggio
b6bfa2fd16 Renamed Preference for Custom Card in Deck Conformance Check
Previous naming (pref and vars) was very confusing. Updated.
2021-07-27 10:48:03 +01:00
Michael Kamensky
c9036f90ef Merge branch 'mdfc' into 'master'
Correctly evaluate modal faces

See merge request core-developers/forge!5112
2021-07-27 04:53:19 +00:00