Ingame menu, camera pan & auto-alignment controls, profiles#28
Open
3phedra wants to merge 2 commits intoersh1:mainfrom
Open
Ingame menu, camera pan & auto-alignment controls, profiles#283phedra wants to merge 2 commits intoersh1:mainfrom
3phedra wants to merge 2 commits intoersh1:mainfrom
Conversation
added 2 commits
March 25, 2026 11:33
This was referenced Mar 26, 2026
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.
A bit belated, but here's the PR.
This adds an imgui ingame menu for all available configs; changes are immediate.
Beyond that, and per request, I've added a profile mechanism for the exploration and combat settings. These get stored in the usual toml file.
The code previously clamped min zoom, which I've changed to be more adaptive. E.g. there is now a guard preventing a min value to be higher than the max value.
I've added a camera pan control, which toggles intercepting button presses / function calls that would detach the camera from an actor. To complement this feature, another addition is the optional camera auto-alignment behind an actor. Technically meant to be used with the WASD mod.
Still needs testing with controllers, for which for now I left some debug logging in.
There's a debug toggle in the menu, which enables a new debug tab. I've used this to find the player entity heading and left it in for future use.
Note that the menu currently only works in the DX11 version of the game.