[WIP] Debug map editor ImGui conversion#85599
Draft
ShnitzelX2 wants to merge 1 commit intoCleverRaven:masterfrom
Draft
[WIP] Debug map editor ImGui conversion#85599ShnitzelX2 wants to merge 1 commit intoCleverRaven:masterfrom
ShnitzelX2 wants to merge 1 commit intoCleverRaven:masterfrom
Conversation
Contributor
|
Spell checker encountered unrecognized words in the in-game text added in this pull request. See below for details. Click to expand
This alert is automatically generated. You can simply disregard if this is inaccurate, or (optionally) you can also add the new words to Hints for adding a new word to the dictionary
|
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.
Summary
Interface "debug map editor ImGui conversion"
Purpose of change
The debug map editor is currently difficult to use because the uilist prompts cover the control interface. Example:

Additionally, I found this UI difficult to use before ImGui was introduced, so I wanted to simplify it.
Describe the solution
Write a new interface for the debug map editor in ImGui.
Screenshots
General UI

"Point" brush with terrain enabled (t_wall)

"Rectangle" brush

Resizing brush


Enabling fields (along with terrain)

OMT mapgen editor


Major differences:
uilists are moved to the side of the screen to improve visibility.Describe alternatives you've considered
Any of the above warrant separate PR(s).
Testing
Mostly-functional, still very WIP.
Additional context
If you have suggestions, please comment. There are some QOL improvements I'm going to make, and there's a lot of commented blocks to remove.