Skip to content

[DRAFT] In-game dev tools with Dear ImGui#77

Draft
modawan wants to merge 12 commits intomasterfrom
imgui
Draft

[DRAFT] In-game dev tools with Dear ImGui#77
modawan wants to merge 12 commits intomasterfrom
imgui

Conversation

@modawan
Copy link
Copy Markdown
Owner

@modawan modawan commented Feb 11, 2026

The patchset adds Dear ImGui library as a dependency, and integrates it with the engine. This can be a basis for tools to assist development, such as a 2DA editor, a model viewer, object inspection, etc.

New Editor class has a full access to Engine, and therefore can access any subsystem in the game, and change it at run-time. No support for writing changes back to game files yet, but this can be added later.

Press F1 to toggle Editor window in game. So far there is only a demo, and stubs for a 2DA editor.

This design is not finalized. It can be changed, or scrapped completely if we find a better way. Feel free to comment here on Discord. This PR is going to stay open for now.

@modawan modawan changed the title In-game dev tools with Dear ImGui [DRAFT] In-game dev tools with Dear ImGui Feb 11, 2026
loudbytes and others added 12 commits February 18, 2026 11:04
If SDL3 is not available on the system, it can be built from source
with -DCMAKE_INSTALL_PREFIX=/path/to/sdl/install

Reone CMake can use it with -DCMAKE_PREFIX_PATH=/path/to/sdlinstall

The patch adds SDL3_LDFLAGS to provide search paths to the linker.
This targets OpenGL Core 4.0 with a minimal set of extensions.

GL_EXT_texture_compression_s3tc and GL_EXT_texture_filter_anisotropic are the only required ones.
Additionally I improved the error reporting if context creation fails. This should avoid any weirdness that GLEW brings on some platforms and is generally more maintained.
The game ignores some events such as SDL_TEXTINPUT, but we need to
register them in ImGui. This fixes all text input widgets.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants