218 Commits
Author SHA1 Message Date
Raven Szewczyk 3c95ff427e Fix key input handling in OpenComputers monitors (#290) 2026-01-05 13:04:15 +00:00
Raven Szewczyk 21a34f2b3e Remove the gtnhlib dependency (#288) 2026-01-05 12:16:38 +00:00
Raven Szewczyk 56d58696b2 Fix key display names in the settings menu (#287) 2026-01-05 12:02:08 +00:00
Raven Szewczyk 55807c8f6c Replace ProgressBar mixin with an asm transformer to load earlier (#283) 2026-01-03 11:10:59 +00:00
Raven Szewczyk d80fb62f98 SDL 3.4.0, display game loading progress in the taskbar on Windows and Linux (#281) 2026-01-02 21:13:10 +00:00
Raven Szewczyk 6d99d25b24 Remove usages of resources.text to make the build more cacheable by Gradle 2025-12-07 19:44:16 +00:00
Raven Szewczyk 2151c4e32d Fix missing HTTPS certificates on Java 8u51, closes #264 2025-12-07 19:35:05 +00:00
Raven Szewczyk 96f95105d2 Change Sys.getTime to return milliseconds to match lwjgl2 for buggy API users 2025-12-07 15:32:48 +00:00
Raven Szewczyk fe84ab00dd Enable mouse focus clickthrough, disable GL threaded optimizations on NVIDIA on Linux
Closes #265
2025-12-05 18:47:37 +00:00
nullBlade e4f5b82913 Added discrete scrolling option. (#251) 2025-12-05 18:47:06 +00:00
Raven Szewczyk 01f85d8e30 Fix fullscreen resolution under non-100% display scale 2025-11-30 22:10:27 +00:00
Raven Szewczyk 6201f783a9 Fix Display.setIcon not preferring the largest possible icon 2025-11-30 13:29:23 +00:00
Raven Szewczyk 11f4bcc7f6 Use float mouse dx/dy for smoother camera operation (close #143) 2025-11-30 10:32:29 +00:00
Raven Szewczyk dd67f5735a Add ModCropList to extensible enums (close #178) 2025-11-30 10:01:48 +00:00
Raven Szewczyk 529bc7883b Add another extensible enum (close #212) 2025-11-30 10:00:19 +00:00
Raven Szewczyk a596f8f1fa Properly fix xaeros' map mods scrolling this time 2025-11-30 09:56:10 +00:00
DialecticalMaterialist 28e4c3ba4b Fix SDL3 keycode regression (#257) 2025-11-29 21:57:01 +00:00
Raven Szewczyk 6bb017d991 Fix relauncher config symlink handling when making the config directory (closes #234) 2025-11-29 16:59:02 +00:00
Raven Szewczyk ab5ce54655 Properly accumulate small fractional mouse movements (closes 254) 2025-11-29 16:36:44 +00:00
Raven Szewczyk 0ba17a52d8 Fix xaero's map scrolling (closes #169) 2025-11-29 16:29:51 +00:00
Raven Szewczyk abd76cfe90 Increase max texture size limit to 2M*2M for chromaticraft to load 2025-11-29 16:05:50 +00:00
Raven Szewczyk cc0d8e5b27 fix: Display.destroy() deadlock on mc shutdown 2025-11-29 13:43:44 +00:00
Raven Szewczyk a15a129b7d More reliable center mouse warping on mouse ungrab 2025-11-27 20:05:26 +00:00
Raven Szewczyk b9f12d2d8f Major keyboard handling fixes 2025-11-27 19:59:42 +00:00
Raven Szewczyk f0b7d8783c Fix decoding of transparent indexed pngs in the spng loader 2025-11-27 19:17:45 +00:00
Raven Szewczyk 0fda85575f SDL3 Port for better keyboard&Wayland support - lwjgl3ify 3.0 (#202) 2025-11-27 18:18:54 +00:00
AlexdoruandMartin Robertz f0d0078c0f Convert to new IMixins and MixinsBuilder system (#228)
Co-authored-by: Martin Robertz <[email protected]>
2025-11-11 22:49:05 -05:00
danyadev ce6d2fd416 Properly fix mouse shift bug on retina displays and preserve HiDPI framebuffer (#244) 2025-10-22 08:35:35 +02:00
tilocih203andMartin Robertz 195c0fd6b7 Fix mouse issue for retina display mac users (#231)
Co-authored-by: Martin Robertz <[email protected]>
2025-10-03 20:07:44 +08:00
Raven Szewczyk 3c9fd06501 Fix mipmap generation crash due to a zero max texture size 2025-06-08 13:10:08 +01:00
Raven Szewczyk 3ed76f9cdb Reimplement MipMap to match lwjgl2's pixel store flag behaviour and not spam GC-freed memory buffers. 2025-06-07 13:04:29 +01:00
QuanhuZeYu 55377a8234 Fix UTF-32 codepoint input handling (#222) 2025-06-07 11:44:47 +00:00
Raven Szewczyk 8d5b556d79 RFB update, remove the superclass loader as it was a failed idea 2025-05-10 20:07:08 +01:00
Raven Szewczyk 58ca7c09d5 Add a superclass loader transformer to forcefully load superclasses like the pre-RFB asm version did 2025-03-14 21:18:42 +00:00
Raven Szewczyk 540896d2b2 Fix final modifier on ContextCapabilities virtual class confusing javac 2025-03-14 21:04:21 +00:00
Yannick Marcotte-Gourde 449cf730f0 Fix loading corrupted lwjgl3ify-early.json (#201) 2025-02-13 20:07:55 +00:00
Andrey 6df8300fd1 Fix LogisticsPipes BCCompat with Lwjgl3ify (#199) 2025-02-06 15:28:17 -06:00
DownerCaseandRaven Szewczyk c4bfbd537b Set wayland app_id (#196)
Co-authored-by: Raven Szewczyk <[email protected]>
2025-01-13 21:22:12 +00:00
ah-OOG-ah 6eb89d2cbf Reduce buffer allocations (#190) 2024-12-01 20:40:03 +00:00
kstvr32andkstvr32 9c10c03961 add null check to mimic behavior of lwjgl2 (#173)
fix error type

Co-authored-by: kstvr32 <[email protected]>
2024-09-13 17:51:28 +00:00
JL2210 bff02960e6 Fix scaling on HiDPI screens with Wayland (#171)
* Fix scaling on HiDPI screens with Wayland

The game expects getWidth and getHeight to return framebuffer
coordinates rather than screen-space coordinates (as shown by the
calls to glViewport). This was broken on scaling factors greater
than 1 but also masked by GL_SCALE_FRAMEBUFFER.

Additionally, the game's mouse code *also* expects framebuffer
coordinates to be returned. This fixes that by converting to and
from screen-space during calls to mouse code.

Disable GLFW_COCOA_RETINA_FRAMEBUFFER for now, it seems to not
play nice on non-MacOS systems. At least for me it makes the title
screen larger than the window when playing in fullscreen

* add back hack for macOS

I think their framebuffer implementation is buggy? I don't really
want to touch this since I don't have a Mac to test on

I think their GPUs are weak anyways and probably can't handle
rendering GTNH at 260 DPI or whatever Retina does

* Fix getPixelScaleFactor

Previous implementation was broken on hidpi platforms where the
size of the framebuffer and the size of the window correlate 1:1.
This manifested in the mouse code thinking the mouse was in a
different location than it actually was.

New implementation explicitly calculates the ratio between the
framebuffer size and the window size, rather than relying on
glfwGetWindowContentScale.

Remove GLFW_SCALE_FRAMEBUFFER/GLFW_COCOA_RETINA_FRAMEBUFFER,
it appears that it is not needed.

* fucking spotless
2024-09-13 17:36:14 +01:00
JL2210 86d9a76ae3 Better mixin infrastructure (#168)
* Better mixin infrastructure

* stiching -> stitching

* rework fastcraft compat
2024-08-04 09:22:39 +01:00
SKProCHandRaven Szewczyk 0e16c68235 Add borderless fullscreen, make fullscreen choose the appropriate monitor (#162)
* Add borderless fullscreen, make fullscreen choose the appropriate monitor

* Replace wildcard imports

---------

Co-authored-by: Raven Szewczyk <[email protected]>
2024-07-27 09:24:59 +00:00
Gravit c96a1f183c Make Sys.getClipboard() static. (#167) 2024-07-27 10:14:29 +01:00
Lily Autumn d1fe9ffc0f makeWritable private -> public (#163)
Fixes a rare crash with ASJCore
2024-07-12 07:43:11 +01:00
Raven Szewczyk 5b22a60984 Fix infinite loop in forge if patch parsing fails, fix compat with upgraded apache-compress 2024-06-30 10:10:44 +01:00
Raven Szewczyk 42dc98a743 Hotswap RFB transformer support 2024-06-30 09:36:23 +01:00
Raven Szewczyk cadb8f61e2 Start the game centered (toggleable in config)
Closes #151
2024-06-30 09:28:49 +01:00
Thorium0 f48c01bd9f Moved updateRawMouseMode to be called after displayCreated has been set to true. (#158) 2024-06-19 18:30:21 +01:00
Raven Szewczyk 93c5babdef Add more JAXB exclusions to fix asm crashes with some mods 2024-05-12 18:57:04 +01:00