Add desktop launcher tuning flags and modernization roadmap#1
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation
-helpcommand and windowed/quality flags.Description
DesktopLauncherto accept and apply new CLI options including-help/--help/-h,-windowed [width height](alias-windowpreserved),-vsync/-novsync,-fps <value>, and-msaa <samples>, with defaults and safe parsing fallbacks.DEFAULT_WINDOWED_WIDTH/DEFAULT_WINDOWED_HEIGHTconstants and utility methodsisIntegerandparseIntWithFallbackto validate numeric arguments and print fallback warnings.LwjglApplicationConfiguration(width,height,fullscreen,vSyncEnabled,samples,foregroundFPS,backgroundFPS) so users can tune MSAA, FPS caps, and VSync from the launcher.README.mdto document the new launcher flags and addeddocs/ENGINE_MODERNIZATION_ANALYSIS.mdcontaining a phased roadmap for modernization, compatibility, performance, and QoL improvements.Testing
./gradlew :desktop:compileJavato validate the change in this environment, but the build failed due to a local Gradle/Groovy vs JDK mismatch (Unsupported class file major version 65) unrelated to the launcher logic.Codex Task