Commit Graph

7383 Commits

Author SHA1 Message Date
alexytomi
12e0e49785 GLFW/SDL: Enabled together 2025-09-14 01:40:31 +08:00
alexytomi
24ea0c77d6 fix: Legacy4J GLFW controller enable
Legacy4J previously was not being detected by the GLFW implementation as
a mod that was using GLFW controllers, thus leading it to use vanilla
keyboard+mouse emulation. This fixes that.

This is still kinda bugged on L4J settings menu but this only applies
when outside of a world. I can't figure out why L4J does this only on
their menus, I probably wont either, SDL doesn't have this.
2025-09-13 21:36:06 +08:00
alexytomi
70cd97127c [BROKEN][FIXME]SDL: Add SDL2 compatibility layer
This doesn't actually work, it needs modifying in SDL_dynapi.h so we can
select our libSDL3.so ourselves.

Forking SDL3 sounds like a horrible idea just to change the module name.
2025-09-13 19:59:37 +08:00
alexytomi
b161cb2e40 SDL: Refactor and remove useless code 2025-09-13 01:31:55 +08:00
alexytomi
bbcbeeb4df [HACK][REVERTME] fix: l4j doesn't init SDL
Legacy4J has code that traps us inside GLFW only, soo this is a hacky
workaround. It works but I'd prefer we don't have it at all.
2025-09-13 00:52:13 +08:00
alexytomi
83de94ec73 SDL: Reorganize code a bit 2025-09-13 00:50:38 +08:00
alexytomi
07f23b938b Merge pull request #89 from AngelAuraMC/fix/l4j-glfw-controller-detection
fix: Legacy4J GLFW controller enable
2025-09-12 21:08:12 +08:00
alexytomi
e403bab275 fix: Legacy4J GLFW controller enable
Legacy4J previously was not being detected by the GLFW implementation as
a mod that was using GLFW controllers, thus leading it to use vanilla
keyboard+mouse emulation. This fixes that.

This is still kinda bugged on L4J settings menu but this only applies
when outside of a world. I can't figure out why L4J does this only on
their menus, I probably wont either, SDL doesn't have this.
2025-09-12 20:47:54 +08:00
alexytomi
fe677bc619 Merge pull request #41 from sa1672ndo/v3_openjdk
Update Turnip
2025-09-11 20:33:47 +08:00
alexytomi
df916b7fbd Merge pull request #86 from AngelAuraMC/fix/mitigate-mcl-3732
fix(MCL-3732): Crash on server resource pack in old versions
2025-09-04 10:03:33 +08:00
alexytomi
b7fbf946ad fix(MCL-3732): Crash on server resource pack in old versions 2025-09-03 12:08:02 +08:00
alexytomi
172dfb1ce1 Merge pull request #85 from AngelAuraMC/feat/mic-prompt-in-settings
feat(settings): Add microphone permission prompt
2025-09-03 10:55:28 +08:00
alexytomi
53b4310804 feat(settings): Add microphone permission prompt 2025-09-02 00:27:41 +08:00
alexytomi
6618192c77 SDL: Add some attribution to android-project source files
This isn't required but it seems like a good idea
2025-09-01 23:33:22 +08:00
alexytomi
9ef79f4efb SDL: Use stable version 3.2.20 2025-09-01 23:33:17 +08:00
alexytomi
f59aeb1013 fix(actions): Build with SDL properly 2025-09-01 23:19:29 +08:00
alexytomi
46bb92e651 SDL: Better docs on pref and why we dont use HIDDevice 2025-09-01 23:19:27 +08:00
alexytomi
d05e50e642 SDL: Add switch to swap between GLFW and SDL 2025-09-01 22:34:09 +08:00
alexytomi
16eb54ca25 Revert "[REVERTME]: Break GLFW fto test SDL"
This reverts commit 60f05781f9120ec0e1136c67fcc859b652215766.
2025-09-01 22:33:57 +08:00
alexytomi
be665c9c21 SDL: Use SDL latest and passthru input 2025-09-01 22:33:57 +08:00
alexytomi
0135991824 SDL: Make it compile with SDL submodule instead of AAR
Uses personal repo for testing
2025-09-01 22:33:57 +08:00
alexytomi
7c50052ff5 [REVERTME]: Break GLFW fto test SDL 2025-09-01 22:33:57 +08:00
alexytomi
99546e033c fix(InputDevice): Oculus controller getName nullptr crash
Oculus controllers makes a motion event that doesn't have a device
attached to it. Weird but ok.
2025-09-01 22:33:57 +08:00
alexytomi
5befc690a1 fix(SDL): Rewrite Android to SDL passthru code 2025-09-01 22:33:52 +08:00
alexytomi
3e81b15169 fix(MainActivity): Fix not being in fullscreen
For some reason it was no longer in full screen when starting the game,
this fixes that
2025-09-01 22:32:42 +08:00
alexytomi
26d936ffcc [WIP] Merge pull request #6462 from isXander/sdl
This depends on the specific version of SDL shipped here, the changes to
SDL required to make this work has been reverted due to being a breaking
change.

See here for more info:
https://github.com/libsdl-org/SDL/pull/11891

fix(workflow): Use Java 21 for the entire build

remove overkill checks

add checks for instantiation and static method calls

feat(SDL): Update strings

fix(SDL): Include libSDL3.so

This was put in the ANGLE module by the original commit which now
doesn't exist so it had to be readded.
2025-09-01 22:32:38 +08:00
sa1672ndo
cde6fcb0d7 update turnip to mesa 25.2.1
source: https://github.com/v3kt0r-87/Mesa-Turnip-Builder/releases/tag/22_aug_2025

Signed-off-by: sa1672ndo <87911255+sa1672ndo@users.noreply.github.com>
2025-08-25 22:16:09 +03:00
sa1672ndo
790c324fdf bruh3
Signed-off-by: sa1672ndo <87911255+sa1672ndo@users.noreply.github.com>
2025-08-25 22:14:06 +03:00
sa1672ndo
76b4bafe68 bruh2
Signed-off-by: sa1672ndo <87911255+sa1672ndo@users.noreply.github.com>
2025-08-25 22:13:49 +03:00
sa1672ndo
c2eb5cc680 okay NOW it should hopefully be the last change
Signed-off-by: sa1672ndo <87911255+sa1672ndo@users.noreply.github.com>
2025-08-25 22:02:11 +03:00
sa1672ndo
441a1349c2 bruh
Signed-off-by: sa1672ndo <87911255+sa1672ndo@users.noreply.github.com>
2025-08-25 22:01:17 +03:00
sa1672ndo
e7362b7464 hopefully last change
mesa 25.2.1
https://github.com/v3kt0r-87/Mesa-Turnip-Builder/releases/tag/22_aug_2025

Signed-off-by: sa1672ndo <87911255+sa1672ndo@users.noreply.github.com>
2025-08-25 21:32:07 +03:00
sa1672ndo
f58fb4a64f update turnip
Signed-off-by: sa1672ndo <87911255+sa1672ndo@users.noreply.github.com>
2025-08-25 20:36:05 +03:00
alexytomi
e1acd3da95 Merge pull request #82 from AngelAuraMC/fix/f3-crash-switch
fix(Settings/MG): Fix incorrect value for F3 FPS disable switch
2025-08-25 19:22:34 +08:00
alexytomi
b3c8d0d231 Merge pull request #81 from AngelAuraMC/feat/use-controlmap-for-chat
[REGRESSION] fix: tab completion breaking in 1.8.9
2025-08-25 19:17:49 +08:00
alexytomi
b18ea2c8ea fix(Settings/MG): Fix incorrect value for F3 FPS disable switch 2025-08-25 19:12:57 +08:00
alexytomi
df2e2dcdbc Merge pull request #78 from AngelAuraMC/bump/openal-soft
bump(openal-soft): 1.24.3
2025-08-25 13:37:56 +08:00
alexytomi
477252c6b0 [REGRESSION] fix: tab completion breaking in 1.8.9
The typable controlmaps PR triggered old incorrect logic to break, that
is now fixed and documented

It broke because all controlmap inputs sent no characters, now they do,
and the only filter they had against sending non-character codepoints
was checking if the codepoint was null, which it always was, because
they never sent any.

Now we check if its actually a non-character codepoint.
2025-08-25 13:36:43 +08:00
alexytomi
7641ba9c4f fix(openal-soft/lwjgl): PolyPatcher crash/audio Part 2
The actual fix
2025-08-24 17:59:21 +08:00
alexytomi
5a4a060a2e fix(openal-soft/lwjgl): PolyPatcher crash/audio Part 1
Copy paste from
39272d4d0c/modules/lwjgl/openal/src/main/java/org/lwjgl/openal/AL.java
2025-08-24 17:37:03 +08:00
alexytomi
5afee23cbb fix(gl0.0-crash): Swap to an if-else because its better 2025-08-24 12:23:17 +08:00
alexytomi
5288257df8 fix(README): Add more copyright stuff 2025-08-24 09:57:03 +08:00
alexytomi
f1bb5ab9a6 bump(OpenAL-Soft): Update to 1.24.3, add Oboe backend
Now based on
1e3764ed06
2025-08-24 09:57:03 +08:00
alexytomi
126884cf49 Merge pull request #79 from AngelAuraMC/fix/gradle-build
fix(gradle): Finally fix getGitHash once and for all
2025-08-24 09:55:59 +08:00
alexytomi
751b5abf57 Merge pull request #74 from AngelAuraMC/fix/gl0.0-fix-crash
fix(GLFW): Fixx NullPtr when using zink without turnip
2025-08-24 09:55:46 +08:00
alexytomi
694505de22 fix(gradle): Finally fix getGitHash once and for all
Hopefully
2025-08-23 22:49:23 +08:00
alexytomi
3798dec08f fix(GLFW): Fixx NullPtr when using zink without turnip 2025-08-22 00:08:20 +08:00
alexytomi
57cb617a15 Merge pull request #70 from AngelAuraMC/feat/use-controlmap-for-chat
[Feat] Use controlmap for chat
2025-08-17 18:14:35 +08:00
alexytomi
f395edda95 etc(ControlMap): Remove unneccessary code
Was used to fix an issue with something before with the entire
nativeSendChar/Mods being frozen up, no longer needed

Also removing the unused imports n ControlButton
2025-08-15 23:01:26 +08:00
alexytomi
947afefbd9 etc(ControlMap): Minor touchups on documentation and names 2025-08-15 23:00:54 +08:00