Commit Graph

4198 Commits

Author SHA1 Message Date
Anthony Calosa
a2419137e1 fix timestamp differences on build.txt 2024-10-30 00:57:56 +08:00
Anthony Calosa
1ef0656495 fix android updater, add fallback to android check
- copy build.txt to assets (gdx.files.internal looks only inside assets folder)
2024-10-29 16:44:29 +08:00
Anthony Calosa
b3c867e326 prevent NPE 2024-10-29 14:41:25 +08:00
Anthony Calosa
51e0f37a14 update constant name 2024-10-28 20:10:33 +08:00
Anthony Calosa
f663fc52dc update release parsing 2024-10-28 20:04:47 +08:00
Anthony Calosa
9d569b4538 fix missing filename 2024-10-28 19:42:22 +08:00
Anthony Calosa
ad9b6e57bd move hardcoded url to ForgeConstants 2024-10-28 19:27:41 +08:00
Anthony Calosa
0bac8ea04d format message 2024-10-28 12:19:50 +08:00
Anthony Calosa
20db37477f missing space 2024-10-28 12:12:17 +08:00
Anthony Calosa
b807c604e3 update mobile timestamp check 2024-10-28 12:07:22 +08:00
Anthony Calosa
e97b77cc8f missing return 2024-10-28 11:49:08 +08:00
Anthony Calosa
9bde207575 add settings for snapshot notification, removed obsolote java 8 check 2024-10-27 11:39:28 +08:00
Anthony Calosa
720ac7f8ca fix uncommited changes 2024-10-27 09:38:53 +08:00
Anthony Calosa
6fb600e6fb refactor mobile ImageCache, ImageView, FChoiceList
removed method to generate borderless card since we used shader as default method
Texture, TextureRegion and other LibGDX objects that are disposable should be nonstatic
show Morph image on FChoiceList
2024-10-27 08:52:58 +08:00
Anthony Calosa
4ae88ae6ba update static 2024-10-26 06:27:30 +08:00
Anthony Calosa
4f23a6026e update prevent NPE 2024-10-26 06:23:14 +08:00
Anthony Calosa
e6e6a6e0a4 prevent NPE 2024-10-26 06:05:03 +08:00
Anthony Calosa
ca6c105aff move check 2024-10-25 19:50:44 +08:00
Anthony Calosa
6334c9f922 update AtomReader, add support releaseTag on android 2024-10-25 18:03:46 +08:00
Anthony Calosa
07bb0e6fe3 update check for release tag 2024-10-25 17:32:05 +08:00
Anthony Calosa
9897c85559 use release tag for downloading latest github releases... 2024-10-25 17:24:48 +08:00
Anthony Calosa
dcbd25d00e move shaders to Shaders class 2024-10-25 13:26:57 +08:00
Anthony Calosa
8c085bbd33 add mobile updater, update gdx natives 2024-10-25 11:41:06 +08:00
Anthony Calosa
07d2d0a023 update splash closing 2024-10-24 07:30:16 +08:00
kevlahnota
8568498b69 Merge pull request #6412 from kevlahnota/master2
display locked room, fix nonrotated card panels
2024-10-23 05:49:21 +08:00
CollinJ
a02a0a25fc Merge branch 'master' into master 2024-10-22 10:12:12 -07:00
Anthony Calosa
310f0ea352 incorporate emptyroom 2024-10-22 23:28:49 +08:00
Anthony Calosa
f7f9943436 update code as suggested 2024-10-22 23:05:47 +08:00
Anthony Calosa
b9a06e14a4 update better fix and replace rotate transform to spiral image (so it will not conflict with the existing rotate transform) 2024-10-22 22:36:05 +08:00
Anthony Calosa
1b3e3f7f7c display locked room, fix nonrotated card panels 2024-10-22 21:38:23 +08:00
Anthony Calosa
2aa6d9a6e6 add manifest entries to forge desktop/mobile jar
allow launching the jar without launcher if possible
2024-10-22 10:18:07 +08:00
kevlahnota
b4bffe93f1 Update AudioClip.java
Surround audio clip with try catch, seems accessing audio in lwjgl3 produce invalidid, could be thread problem.
2024-10-22 00:15:27 +08:00
Anthony Calosa
21a738e616 delete version.txt if res folder is incomplete to allow redownload 2024-10-21 11:16:55 -04:00
Anthony Calosa
ca5b0683d1 update version code, remove redundant CURRENT_VERSION 2024-10-21 15:01:39 +08:00
CollinJ
94c75f1e71 Merge branch 'master' into master 2024-10-20 22:05:24 -07:00
Anthony Calosa
f82236cc4f fix updater versionstring 2024-10-21 12:14:17 +08:00
Collin
5de234aacb Fix the SpellSmith missing some cards.
The main issues is that getAllCards returns a card list that is unique
by name. That menas each card only has a single rarity. In this case,
cards like "Forbidden Orchard" and "Choke" de-deuplicate to a version of
the card with 'S' rarity. This means that when filtering by rarity, the
'S' rarity will be filtered out.
Another similar issue is that when a card exists in multiple sets with
different rarities, you might filter to a set in which the card is 'R',
but the de-duped version in allCards has rarity 'U', so using the cardDB
to check the rarity to filter on doesn't work.

When filtering by a specific set, the solution is to use the rarity of
the card in that set.
When not filtering by a set but filtering by rarity, we have to address
the root cause of the de-duping.

WHen de-duping, I changed the logic to ignore 'S' rarities. This fixes
the rarity filter when not filtering by an edition (although if there
are multiple rarities you still have to kind of guess).
This has the side-effect of making the card image used something more
legible. Before 'Choke' de-duped to the MPS_AHK set which has illegible
text. By ignoring 'S' rarities, it not de-dups to 8ED.

More work could probably be done to improve de-duping, but perfect
correctness would probably involve de-duping only after filtering, which
is likely too slow.
2024-10-20 12:29:11 -07:00
Anthony Calosa
c1779a55d5 update to LibGDX 1.13.0, add ForgeAndroidApplication (modified AndroidApplication) 2024-10-18 19:44:30 +08:00
Anthony Calosa
e0639ba33a Merge branch 'master' into master2 2024-10-18 05:23:38 +08:00
JMAilan
2571aff4c8 Constructed as default mode (#6358)
Co-authored-by: Agetian <stavdev@mail.ru>
2024-10-17 17:58:01 +02:00
Anthony Calosa
24638ecfce Merge branch 'master' into master2 2024-10-17 15:56:46 +08:00
Jetz72
54ecbeef6e Fix IndexOutOfBoundsException in generateParticipants (#6359)
Co-authored-by: Jetz <Jetz722@gmail.com>
2024-10-17 08:03:11 +03:00
Anthony Calosa
d66a7ba604 Merge branch 'master' into master2 2024-10-16 20:45:48 +08:00
Hans Mackowiak
a1f425a803 Merge pull request #6337 from nwg5817/rewardRaritySort
Adventure: Reward Scene Sort by Rarity
2024-10-16 13:13:32 +02:00
JMAilan
38d8761fe3 Merge branch 'master' into rewardRaritySort 2024-10-15 11:46:19 -04:00
JMAilan
965dd136bb Merge branch 'master' into boosterQoL 2024-10-15 11:36:57 -04:00
Meta
0a08650393 Booster QoL
Remove open confirmation and disable leaving inventory scene when opening boosters.

Change Booster Pack Inventory Name

Old:
Booster Pack: WAR

New:
War of the Sparks Booster

Final

Tweak
2024-10-15 11:26:00 -04:00
Anthony Calosa
8fc3b45b12 quick fix for black texture 2024-10-15 10:55:56 +08:00
Meta
5b62a1ffb5 Fixed non-cards for rarity sorting
import
2024-10-14 21:56:30 -04:00
Chris H
0475f4bafa Manually update files that need to be updated 2024-10-14 21:53:45 -04:00