* 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
* Simplify AddOpens by including them in the manifest file
* Add 2 new add opens to fix issues with gson.toJson as listed below:
Failed making field 'java.lang.ref.Reference#referent' accessible
Failed making field 'java.util.concurrent.locks.ReentrantLock#sync' accessible
* Start work on RFB bundling/support
* Use the first RFB release
* Upgrade GSON, RFB, migrate lwjglx redirector to an rfb plugin
* Update rfb again
* Update to RFB 0.3 APIs
* Migrate LCL transformers to RFB
* Update release workflow
* Fix server main class name
* Update RFB with the server fix
* Forgot Spotless...
* Fix maven publishing of snapshots
* Prism: Use included forgePatches jar instead of downloading from Nexus
* Fix crash when config/ doesn't already exist
* Change server entry point to a custom class, remove SLW forge patch.
* Move ASM upgrade to a batch transformer in RFB
* Bump RFB
* Update Apache Commons Compress
* Start work on the relauncher coremod
* Update bs&rfb
* Fix latest GTNHGradle compat
* Update dep versions
* Kotlinify buildscript
* Fix some more kts bugs, make it easier to run with GT
* Fix coremod not loading
* Fix remaining LCL.getSources issues that caused e.g. broken NEI handlers
* RIP forge patches, you won't be missed
* Start on parsing version.json in the relauncher
* WIP library downloader
* Skip downloading existing files, exit without tripping the SecurityManager
* Add missing relauncher libraries, fix jvm arg order
* Fix lwjgl3ify not loading itself as a mod, not downloading the main client jar
* Progress bar dialog for library downloads
* Start work on relauncher guis
* Working java detection and selection on Linux
* Fix use of some library functions not present in a lwjgl3ify-less instance
* Include the ServerMain class in the forgepatches jar
* Relauncher stub + graphical console for the new instance
* Add a fallback $VALUES search loop
* Switch from Rhino to Nashorn for JS
* Update rfb and apache commons-lang3
* Fix ItemStackHolder setting, simplify both object holders
Closes#93
* Add missing lwjgl.util subpackages
Closes#92
* Bump RFB with more asm fixes
Closes#37
* Update RFB with the dragonapi fix
* Exclude nashorn from LCL to avoid coremods complaining about it
* Add proxy lwjglx calls to lwjgl dummy Keyboard/Mouse classes for reflection
* Add InputEvents API, handle Minecraft keybindings with it to fix dead key support
* Update RFB
* Fix some warnings
* Add OSX and Windows JVM installation scanning
* Start work on translatable strings in the relauncher GUI
* Spotless, fix being able to walk with inventory screen open
Closes#123
* Update rfb with the java.lang.Compiler fix
* Finish rest of gui translations, allow any whitespace to split args, assign very little ram to the bootstrapper process
* Add a manifest attribute to more conveniently opt-out of lwjgl3ify transformers
* Update RFB, commons-compress, shade in newer commons-io too
* Remove the server jar name from java9argx.txt
* Update RFB with the #127 fix
* Add LiteLoader compatibility, tested with Voxelmap
Closes#67
* GL tweaks: move glGetString safety check into bindings, fix GL debug log notification spam
* Implement custom OpenGL context version&profile settings via the LWJGL2 Display API
* Simple sharedDrawable implementation
* Downgrade the servlet api to fix journeymap's new webmap crash
* Add sun.awt opens
* README updates
* RFB 1.0.0 (no changes from 0.4.1)