Skip to content

Convert minimap rendering to ImGui#1502

Merged
chreden merged 5 commits intomasterfrom
issue/1497
Oct 2, 2025
Merged

Convert minimap rendering to ImGui#1502
chreden merged 5 commits intomasterfrom
issue/1497

Conversation

@chreden
Copy link
Owner

@chreden chreden commented Oct 1, 2025

Convert the minimap rendering to ImGui instead of the old sprite and spritefont method. A lot of input/clicking code moves from the ViewerUI/Viewer/RoomsWindow into the MapRenderer which now just passes events out.
This means all the old sprite font loading and rendering can be removed as well as a support project.
There's some slightly confusing code around anchoring the minimap window so it stays relative to the edges but it seems to work OK - hopefully it never needs touching.
This should mean the minimap can get new features at some point.
Closes #1497

Still need to do hovering

Tooltip into renderer

Selection, events

Remove old stuff

load settinsg

Size/position sticking

Stay in position
@chreden chreden added this to the Next milestone Oct 1, 2025
@chreden chreden requested review from lahm86 and makotocchi October 1, 2025 22:21
@chreden chreden self-assigned this Oct 1, 2025
@chreden chreden added the ui label Oct 1, 2025
@chreden chreden enabled auto-merge (squash) October 1, 2025 22:24
@chreden chreden merged commit d64decf into master Oct 2, 2025
1 check passed
@chreden chreden deleted the issue/1497 branch October 2, 2025 08:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Render minimap using imgui

2 participants