tool4ever
6c7600dd1b
Merge pull request #5895 from Jetz72/code-cleanup
...
Miscallaneous Cleanup Part 3
2024-08-11 19:30:21 +02:00
kevlahnota
af060121cf
Update Mobile Build ( #5813 )
...
* LibGDX Update
* unused import
* disable minimize on screen lock
2024-08-11 19:12:29 +02:00
Jetz
27046744a4
Cleanup - Unused imports
2024-08-10 13:14:53 -04:00
Jetz
2fb7ad0c7b
Cleanup - Statement lambda -> expression lambda
2024-08-10 12:58:32 -04:00
Jetz
f7d0929ea0
Cleanup - More Lambdas to method references
2024-08-10 12:54:16 -04:00
Jetz
4614c6c0c9
Cleanup - Map.getOrDefault and Map.computeIfAbsent
2024-08-10 12:48:52 -04:00
Jetz
bdc890c32c
Cleanup - Collections.sort -> list.sort
2024-08-10 12:43:38 -04:00
Jetz
0ee46ff6ef
Cleanup - .equals("") -> .isEmpty()
2024-08-10 12:28:18 -04:00
Jetz
9bbe4805a3
Cleanup - Redundant String.format
2024-08-10 12:21:50 -04:00
Jetz
daa9d59a67
Cleanup - addAll -> constructor parameter
2024-08-10 12:17:54 -04:00
Jetz
09c76a4dc8
Cleanup - File IO streams
2024-08-10 11:09:31 -04:00
Jetz
8e3d02f1aa
Cleanup - Collection.addAll
2024-08-10 10:30:05 -04:00
Jetz
ae9877ce3c
Cleanup - Collection.toArray
2024-08-10 10:25:35 -04:00
Anthony Calosa
157121f048
fix ToggleButton
2024-08-02 22:08:59 +08:00
Jetz72
d62dfe1c8c
Miscallaneous Cleanup Part 2 - Lambdas and Method References ( #5737 )
...
* Cleanup - Unnecessary Boxing
* Cleanup - Unnecessary Unboxing
* Cleanup - For-Each Loops
* Cleanup - `indexOf != -1` -> `contains`
* Cleanup - Merge identical catch blocks
* Cleanup - Try-with-resources
* Cleanup - System.lineSeparator
* Cleanup - Reference types to primitives
Some loops over Integers were switched to IntStreams to hopefully cut down on overall boxing.
* Cleanup - Manually filling and copying arrays
* Remove unused imports
* Switch a lambda to a method reference
* Cleanup - CardPredicate Aggregates to method references
* Cleanup - Other static functions to method references
* Cleanup - Ambiguous class reference
Unclear when or how this happened...
* Cleanup - Anonymous -> Method reference
* Cleanup - Anonymous -> Lambda
* Cleanup - Comparator helper methods
* Cleanup - final method in final class
* Cleanup - private final methods
* Remove unused imports
* Convert a couple more lambdas to comparators.
* Simplify creature type list comparison.
---------
Co-authored-by: Jetz <Jetz722@gmail.com >
Co-authored-by: tool4ever <therealtoolkit@hotmail.com >
2024-08-02 08:23:58 +03:00
Chris H
5fc6d38954
Autoclose FileOutputStreams ( #5753 )
2024-08-01 21:22:40 +03:00
Agetian
c081294f82
- Fix the AI sideboarding mode not loading on startup.
2024-08-01 08:56:50 -04:00
Jetz72
ec9f6e2d2b
Added attraction light icons ( #5663 )
...
Refactored functional variants to be merged in the card face rather than the card factory
Some variant characteristics now show in deck builder columns
Fixed loading progress amount
"[card] has neither ManaCost nor Color" warning now actually displays when these are missing.
Co-authored-by: Jetz <Jetz722@gmail.com >
Co-authored-by: tool4ever <therealtoolkit@hotmail.com >
2024-07-30 08:28:45 +03:00
Anthony Calosa
8f6f8175bb
Merge branch 'master' into master2
2024-07-30 06:03:56 +08:00
Anthony Calosa
07e2582063
update
2024-07-30 01:06:52 +08:00
Anthony Calosa
5797c7ee5f
Fix stuck dialogue when reloading save
2024-07-30 00:47:03 +08:00
Chris H
dad04b5fe7
Fix adventure draft not being able to draft your 5th card
2024-07-29 10:26:15 -04:00
Jetz72
3968c7e197
Miscallaneous Cleanup ( #5703 )
...
* Cleanup - Unnecessary Boxing
* Cleanup - Unnecessary Unboxing
* Cleanup - For-Each Loops
* Cleanup - `indexOf != -1` -> `contains`
* Cleanup - Merge identical catch blocks
* Cleanup - Try-with-resources
* Cleanup - System.lineSeparator
* Cleanup - Reference types to primitives
Some loops over Integers were switched to IntStreams to hopefully cut down on overall boxing.
* Cleanup - Manually filling and copying arrays
* Remove unused imports
* Switch a lambda to a method reference
---------
Co-authored-by: Jetz <Jetz722@gmail.com >
2024-07-29 17:23:43 +03:00
Anthony Calosa
5d202a65af
update Boss dialogue translations
2024-07-29 20:37:18 +08:00
Chris H
5c55d7b001
Set User agent to modern chrome ( #5708 )
2024-07-28 12:56:01 +03:00
Anthony Calosa
c9ee464b72
enable Boss dialogue
2024-07-28 15:19:18 +08:00
Jetz
983f2d2856
Fixed QuestCommander deck editor, hopefully.
2024-07-23 18:17:59 -04:00
Hans Mackowiak
1a0f025ca7
forge-gui-mobile: fix symbolLookup init too early
2024-07-21 07:51:40 +02:00
Anthony Calosa
1504f221fc
update prefs
2024-07-19 10:55:23 +08:00
Anthony Calosa
83e23e59e7
update
2024-07-19 10:23:09 +08:00
Anthony Calosa
8fe5891c61
prevent crash using invalid theme
2024-07-19 10:06:07 +08:00
kevlahnota
031fcf0fc9
update textrenderer ( #5641 )
...
try to prevent null
2024-07-18 14:27:44 +08:00
Simisays
d3e931cc37
Update AdventureEventController.java
2024-07-05 14:41:40 -04:00
Simisays
7046b108dd
update
2024-07-05 14:41:40 -04:00
Chris H
3a61118ade
Merge pull request #5357 from Jetz72/Attractions
...
Attraction Support
2024-07-02 11:02:43 -04:00
fernandomfgomes
214edcfe6d
Update AdventurePlayer.java
...
Both goldLoss and lifeLoss where not being set on creation + update difficulty. So regardless of difficulty chosen, on defeat the default value on the difficultyData class for the properties (0.2f) was being used
2024-07-01 08:46:34 -04:00
kevlahnota
d769da9b7d
fix UnsupportedOperationException ( #5488 )
2024-06-29 13:41:43 +08:00
GitHub Actions
64b4b58399
[maven-release-plugin] prepare for next development iteration
2024-06-28 13:06:40 -04:00
GitHub Actions
463e4b1267
[maven-release-plugin] prepare release forge-1.6.63
2024-06-28 13:06:40 -04:00
Chris H
b2dd1d6f21
Update Forge.java
2024-06-28 13:06:40 -04:00
Jetz
cfc33fd491
Cleanup a couple comments
2024-06-25 17:17:14 -04:00
Jetz
3e6871ce86
Merge branch 'master' into Attractions
...
# Conflicts:
# forge-core/src/main/java/forge/deck/DeckFormat.java
2024-06-19 22:58:49 -04:00
Jetz
88c9559eea
Mobile Deck Editor support for extra sections, including attractions.
2024-06-16 20:51:03 -04:00
Jetz
fbc475998e
Support for programmatically setting the advanced search filter for the mobile card manager.
2024-06-16 19:54:20 -04:00
kevlahnota
14be75e711
add annihilator & exalted icon and update toxic icon ( #5426 )
...
* add annihilator icon and update toxic icon
* add exalted icon
2024-06-14 15:58:36 +03:00
Anthony Calosa
b5c9dcbcb3
unused import
2024-06-12 19:17:53 +08:00
Anthony Calosa
37facd7e13
update selectbox BG
2024-06-12 19:03:16 +08:00
Anthony Calosa
50c008669d
update crack overlay simple progression
2024-06-12 11:42:29 +08:00
Jetz
614cc96f4f
Support for adding Tabs to TabPageScreen
2024-06-09 13:31:04 -04:00
Anthony Calosa
66f5704a8b
update
2024-06-09 18:43:14 +08:00