Commit Graph

3419 Commits

Author SHA1 Message Date
Anthony Calosa
3c4f31d37c remove extra 2022-07-09 17:17:07 +08:00
Anthony Calosa
2b9fa901c6 unused import 2022-07-09 17:15:36 +08:00
Anthony Calosa
2f4481e76f Merge branch 'master' into newmaster 2022-07-09 17:08:43 +08:00
Anthony Calosa
3e3abed344 misc moved to Assets 2022-07-09 17:01:20 +08:00
Anthony Calosa
fe5cc6f829 missing import 2022-07-09 16:54:55 +08:00
Anthony Calosa
e5727c60d5 revert override 2022-07-09 16:53:45 +08:00
Anthony Calosa
24069c2b2a Update SplashScreen.java 2022-07-09 16:45:45 +08:00
Anthony Calosa
b385fe8033 remove unused function 2022-07-09 16:40:07 +08:00
Anthony Calosa
4b5ebf2575 refactor libgdx static objects to be disposed
-fixes memory leaks since these objects are not properly disposed by the GC
-Textures, BitmapFonts and others should be disposed manually if not loaded in the assetmanager
2022-07-09 15:53:19 +08:00
Anthony Calosa
77678b4cbc Fix loading fallback_skin, delay setlookup file 2022-07-08 14:38:43 +08:00
Anthony Calosa
fed4ab99c1 add EvictingQueue for loaded images
-use the Queue as reference for removing old entries on the AssetManager
-fix cardArtCache storing forgeArt, should fix missing cardArt
2022-07-08 11:04:53 +08:00
Anthony Calosa
8e4cca7fe8 Update ImageCache.java 2022-07-07 21:37:05 +08:00
Anthony Calosa
acea266dc0 remove extra entries 2022-07-07 21:27:13 +08:00
Anthony Calosa
18e3def8b7 Refactor FSkin to use Assetmanager 2022-07-07 21:07:40 +08:00
Anthony Calosa
51b1391aee prevent NPE 2022-07-06 22:09:01 +08:00
Anthony Calosa
8ca8e145e4 remove static reference 2022-07-06 21:53:14 +08:00
Anthony Calosa
c838b60b7a Assets class 2022-07-06 21:32:37 +08:00
Anthony Calosa
b65c7607d4 clear generated cards 2022-07-06 17:55:47 +08:00
Anthony Calosa
b1e307747f remove loadingCache and use card assetmanager exclusively 2022-07-06 16:29:57 +08:00
Anthony Calosa
c81158530f add otherTextureManager 2022-07-06 15:10:00 +08:00
Anthony Calosa
616637d160 [Mobile] Assetmanager for card texture & texture atlas
- texture atlas manager for adventure & card texture manager for card images
- Assetmanager is automatically used except when UI_ENABLE_BORDER_MASKING = Full
- makes dispose textures option effective (free up some RAM)
2022-07-06 08:42:54 +08:00
Magpie
7667c4522d Adventure mode - Adjustments
* Fixed gold display on SpellSmithScene.java.
* Added Spirit Guard icon.
2022-06-24 09:23:01 +02:00
Magpie
d2fddb3ac5 Adventure mode - Adjustments
Reformatted Reward.java so it's cleaner to modify.
2022-06-24 08:22:04 +02:00
Magpie
babca60f2f Adventure mode - Adjustments
* Easy mode starts with Leather Boots instead of a Jungle Shield.
* Added boss flag for enemies.
* Fixed fences without collision.
* Purge all reward objects after leaving reward scenes, might fix reported leaks.
* Added spellsmith.
* Renamed Steel gear to Iron, renamed Mithril gear to Steel.
* Catch incorrect or non-existent items on load.
* Added ability to blacklist cards and editions from the card pool. This allows removing the Power Nine and other powerful or useless cards (like Commander specific ones).
* UI: Gave selectbox a 9patch background.
* Removed basic lands from rewards.
* Some adjustments to player and enemy avatars.
* Cleaning up of maps and removal of multi-area maps (cemeteries and crypt remain).
* Better cleanup of stale data in NG+ and on loading saved games.
* Random ColorID for fantasy mode.
* Reorganized AdventurePlayer.java so it's easier to modify.
* Colored bosses now give Moxen cards as opposed to items. The two final bosses still drop items.
* Colorless Castle moved to closer to the center of the map.
* Removed unused items.
* Tweaked value for sold items.
* Added Golem and Sliver shops.
* Corrected some misaligned sprites in the shop atlas.
* Added Skep with boss.
* Added mage tower in blue areas that requires the blue key for some good treasure.
* Update wastes and plains towns.
2022-06-24 08:20:22 +02:00
Anthony Calosa
64580cb7f3 refactor typo UI_APPLIED_VARIANTS 2022-06-23 10:40:34 +08:00
Anthony Calosa
a73ff0427c PlayerPanel sort by variant
- sort initialize method by last used variant on startup
2022-06-23 10:37:03 +08:00
Chris H
fb918a0cf4 Merge pull request #157 from paulsnoops/archive_formats
"Historic" formats re-work - Part 2: Re-name to "Archived"
2022-06-22 08:37:17 -04:00
paul_snoops
712372063d archive to archived 2022-06-20 19:49:33 +01:00
paul_snoops
7dfeb79618 WIP: "Historic" formats re-work - Part 2: Re-name to Archive 2022-06-20 19:49:09 +01:00
Anthony Calosa
c48de6afe1 [Mobile] Update LobbyScreen variants
- apply last used variants on LobbyScreen on startup
2022-06-21 02:35:53 +08:00
Anthony Calosa
14904be5e4 fix duplicate deck storage 2022-06-20 18:31:27 +08:00
Anthony Calosa
48264dfed9 Add Exit Dialog on Adventure StartScene 2022-06-18 17:31:01 +08:00
Anthony Calosa
aab450767c clear generated rewards
- add touch listener for RewardActor for android
2022-06-14 19:38:36 +08:00
Anthony Calosa
3ce1b2858c update fix 2022-06-14 16:22:50 +08:00
Anthony Calosa
09682ecf3a clear holdToolTip
-should fix stuck card background on RewardScene
2022-06-14 14:00:02 +08:00
Anthony Calosa
3c9d2e47e1 add default startup 2022-06-12 08:14:42 +08:00
Michael Kamensky
693152cda6 - Prepare Forge for Android publish 1.6.53.001 [incremental]. 2022-06-11 13:18:25 +03:00
Michael Kamensky
cff5e36d9e [maven-release-plugin] prepare for next development iteration 2022-06-11 13:06:54 +03:00
Michael Kamensky
d3c411d097 [maven-release-plugin] prepare release forge-1.6.53 2022-06-11 13:06:46 +03:00
Michael Kamensky
761b10eba4 [maven-release-plugin] prepare for next development iteration 2022-06-11 12:55:35 +03:00
Michael Kamensky
bd2a42b435 [maven-release-plugin] prepare release forge-1.6.52 2022-06-11 12:55:27 +03:00
Michael Kamensky
20de403e64 [maven-release-plugin] prepare for next development iteration 2022-06-11 12:50:40 +03:00
Michael Kamensky
6c1fe344e1 [maven-release-plugin] prepare release forge-1.6.51 2022-06-11 12:48:23 +03:00
Anthony Calosa
77e1621932 catch exception 2022-06-10 08:09:08 +08:00
Anthony Calosa
dff30a09c6 cleanup 2022-06-05 00:29:01 +08:00
Anthony Calosa
5c96a624f2 Fix Continue button
-refactor some collection for FSkinFont & ImageCache
2022-06-05 00:21:58 +08:00
Alexander Jones
fae435a29f Remove logging imports 2022-05-31 19:33:42 +08:00
Alexander Jones
139160c32d [Adv] Add a continue button to the main menu 2022-05-31 19:29:23 +08:00
Anthony Calosa
44d45cef91 add Selector Mode option
- Default enables the selector, Adventure or Classic will open their main screen at startup.
2022-05-31 11:46:13 +08:00
Michael Kamensky
888d49a43f [maven-release-plugin] prepare for next development iteration 2022-05-30 20:40:26 +03:00