Commit Graph
182 Commits
Author SHA1 Message Date
Raven Szewczyk fc73dc2cc2 Add missing lwjgl.util subpackages
Closes #92
2024-02-14 21:12:44 +00:00
Raven Szewczyk e15dbe1209 Fix ItemStackHolder setting, simplify both object holders
Closes #93
2024-02-14 21:00:49 +00:00
Raven Szewczyk 71d703cfcd Switch from Rhino to Nashorn for JS 2024-02-14 20:33:14 +00:00
Raven Szewczyk 2757703d0e Add a fallback $VALUES search loop 2024-02-14 20:12:45 +00:00
Raven Szewczyk f693d1bc75 Relauncher stub + graphical console for the new instance 2024-02-13 22:31:27 +00:00
Raven Szewczyk 19c857a44e Fix use of some library functions not present in a lwjgl3ify-less instance 2024-02-12 21:51:33 +00:00
Raven Szewczyk 6862c989bd Working java detection and selection on Linux 2024-02-12 21:35:52 +00:00
Raven Szewczyk c92458f7f3 Start work on relauncher guis 2024-02-11 17:06:32 +00:00
Raven Szewczyk 388af5035f Progress bar dialog for library downloads 2024-02-11 14:34:21 +00:00
Raven Szewczyk 724eee756e Fix lwjgl3ify not loading itself as a mod, not downloading the main client jar 2024-02-11 12:28:48 +00:00
Raven Szewczyk 8fd8769110 Add missing relauncher libraries, fix jvm arg order 2024-02-11 11:40:23 +00:00
Raven Szewczyk 8a860fa64e Skip downloading existing files, exit without tripping the SecurityManager 2024-02-10 18:47:55 +00:00
Raven Szewczyk b5d4849931 WIP library downloader 2024-02-10 18:26:42 +00:00
Raven Szewczyk a315c8295b Start on parsing version.json in the relauncher 2024-02-10 17:38:42 +00:00
Raven Szewczyk a523448462 RIP forge patches, you won't be missed 2024-02-10 15:26:53 +00:00
Raven Szewczyk 3febafc9ca Fix remaining LCL.getSources issues that caused e.g. broken NEI handlers 2024-02-09 22:36:37 +00:00
Raven Szewczyk 0469e8f6a5 Fix coremod not loading 2024-02-09 21:46:02 +00:00
Raven Szewczyk ad1b9998aa Merge remote-tracking branch 'origin/master' into rfb 2024-02-09 17:41:27 +00:00
Kam 2229295b9f Add Config Toggle to Enable / Disable HRTF Bools in OpenAl (#119)
* Add Config Toggle to Enable / Disable HRTF Bools in OpenAl

* Import from Config without Static Import
2024-02-07 21:24:03 +00:00
Kam 7fff831dfb Add Enum Map to keep track of all Enum Names associated with their Enum Classes (#118)
- $1, $2, $3, $4.... and so on will be appended to the Enum Name until the Duplication clause is satisfied.

Closes #115
2024-02-07 17:36:26 +00:00
Raven Szewczyk 6f0e9e7d28 Start work on the relauncher coremod 2024-02-02 21:37:21 +00:00
Raven Szewczyk a86a07411e Move ASM upgrade to a batch transformer in RFB 2024-01-28 13:34:45 +00:00
Raven Szewczyk 2308d7807e Change server entry point to a custom class, remove SLW forge patch. 2024-01-28 11:35:51 +00:00
Raven Szewczyk 015eae5016 Fix crash when config/ doesn't already exist 2024-01-27 16:50:36 +00:00
Raven Szewczyk 8499ccb9f6 Forgot Spotless... 2024-01-27 15:41:19 +00:00
Raven Szewczyk c6521951f6 Fix server main class name 2024-01-27 15:27:41 +00:00
Raven Szewczyk 3b2744ecb3 Migrate LCL transformers to RFB 2024-01-27 15:21:34 +00:00
Raven Szewczyk 8a4be5c30c Update to RFB 0.3 APIs 2024-01-27 13:45:47 +00:00
Raven Szewczyk f69c4622a3 Upgrade GSON, RFB, migrate lwjglx redirector to an rfb plugin 2024-01-23 22:50:35 +00:00
Raven Szewczyk 5233fafe33 Start work on RFB bundling/support 2024-01-21 21:23:14 +00:00
Raven Szewczyk 786d3c4c8b Fix null safety in AL.destroy 2024-01-20 18:35:53 +00:00
Raven Szewczykandkappa_maintainer c95fa5f315 Set OpenAL EFX max aux sends to 4 (#111)
Co-Authored-By: kappa_maintainer <[email protected]>
2024-01-20 09:36:15 +00:00
Raven Szewczyk 3c03c17404 Fix missing key index mappings (#110)
* Fix missing key index->name mappings at runtime

* Update dependencies

* Keyboard init goes into ClientProxy

* Spotless
2024-01-20 09:27:09 +00:00
Raven Szewczyk b4b733ceb2 Fix handling of null device/context in ALC bindings (#108)
Closes #100
2024-01-11 22:18:54 +00:00
Raven Szewczyk 8e5ce1ec21 Fix handling of Ctrl+Alt vs AltGr on Windows (#107)
Closes #91
2024-01-11 22:06:51 +00:00
Raven Szewczyk f67c0091c0 Remove the need for lwjgl package transformer exclusions (#106)
* Remove the need for lwjgl package transformer exclusions

* fix derp
2024-01-07 20:06:19 +00:00
Raven Szewczyk 7bd0ab589d Fix key name display on non-QWERTY keyboard layouts (#105)
Closes #103
2024-01-05 21:13:44 +00:00
makamys d79565c56f Disable STB stitching if FC 1.23 is present even with OF (#97)
(cc https://github.com/GTNewHorizons/lwjgl3ify/issues/47)
2023-11-29 21:15:24 +00:00
Katherine ecdd15f325 Fix for horizontal scrolling (#96)
* Account for horizontal mouse wheel scrolling

Display$Window#scrollCallback: when the vertical scrolling offset (yoffset) is 0, pass the horizontal scrolling offset (xoffset) to Mouse#addWheelEvent instead

Fixes #90

Signed-off-by: unilock <[email protected]>

* Allow inverting horizontal scrolling via config

Respects "invertScrollWheel", in that horizontal scrolling will be double-inverted if both config options are enabled. (thus: not inverted)

Disabled by default.

(Technically, when horizontal scrolling was fixed in Minecraft 1.20.2, it was made to be inverted by default.)

(However, all mods that implemented the same fix before Mojang did (EmuNO, MacOS Input Fixes, McMouser, etc.) do *not* invert horizontal scrolling by default - LWJGL3ify follows this standard.)

Signed-off-by: unilock <[email protected]>

* SPOTLESS...

Signed-off-by: unilock <[email protected]>

---------

Signed-off-by: unilock <[email protected]>
2023-11-26 17:59:52 +00:00
Jason Mitchell c218cb06ae Add missing GL_ARB_direct_state_access needed for osx 2023-11-25 05:31:20 -08:00
Jason Mitchell 7ba5867a7c Check for GLFW_KEY_UNKNOWN (#94) 2023-11-24 11:49:24 -08:00
Jason MitchellandRaven Szewczyk f8c4a5e330 Adjustments needed to get Angelica (Iris/Oculus backport) working (#88)
* WIP Adjustments needed to get Angelica (Iris/Oculus backport) working

* Move to GL20

* Hacky lwjglx.debug support since its transformer doesn't like lwjgl3ify's init call

* Don't submit invalid keycodes

* Add missing glTextureParameter

* Update buildscript

* Better setupDebugMessageCallback.

* Fix up the isKeyDown patch

* Better glGetActiveUniform sizetype impl

* Clean up the debug handler code

* Update the buildscript

---------

Co-authored-by: Raven Szewczyk <[email protected]>
2023-11-23 20:58:11 +00:00
Raven Szewczyk ba6e459fdd Fix Display.isCloseRequested not resetting the flag upon call like in lwjgl2 (#83) 2023-09-24 17:46:44 +01:00
Raven Szewczyk 03c6021fca Installation simplification and ASM upgrade (#82)
* Upstream TerminalTransformer

* TerminalTransformer: support ASM9 opcodes

* Mod*Visitor: accept newer asm (mixin)

* Gradle fix: disable runClient17/runServer17 as the regular tasks already use java 17 in this repo

* Update to asm 9.5 for better Java 21 support

* Installation overhaul: embed the modified libraries in the forgePatches jar to remove a complex installation step of merging libraries folders.
2023-09-23 13:38:17 +01:00
Raven Szewczyk 16fae70244 [ci skip] Update the spotless config 2023-09-23 11:47:09 +01:00
Raven Szewczyk f06ec1ec18 Synthesize ASCII escape codes for ctrl+alt+CHAR inputs too (#76) 2023-09-23 11:21:17 +01:00
ghostflybyandRaven Szewczyk be28e276b8 Fix macOS cmd + <key> not sending <key> pressed (#79)
* Fix macOS cmd + <key> not sending <key> pressed

* Cancel Super+key char events on non-mac platforms

* Update buildscript and fix wildcard imports

---------

Co-authored-by: Raven Szewczyk <[email protected]>
2023-09-23 11:17:20 +01:00
Raven Szewczyk 4cf597e9b3 Add missing OpenAL bindings to fix SoundPhysics (#75)
* Add missing OpenAL EFX bindings and a couple of AL/ALC10 functions

* Log the classloader and transformer exclusions for easier post-mortem debugging.
2023-09-04 17:16:13 +01:00
Raven Szewczyk 3bb91b8631 Fix mouse delta inputs (#70)
* Update buildscript

* Fix implementation of getDX/getDY/getDWheel to reset the value to 0 after a call.
2023-08-03 18:19:46 +01:00
Raven Szewczyk 520487da25 Patch compiler errors in generated code again 2023-06-03 10:42:08 +01:00