feat: Add ImGui-based developer console overlay
Integrates Dear ImGui for an in-game debug console that replaces the blocking Python REPL. Press ~ (grave/tilde) to toggle the console. Features: - Python code execution without blocking the game loop - Output capture with color coding (yellow=input, red=errors, gray=output) - Expression results show repr() automatically - Command history navigation with up/down arrows - Word wrapping for long output lines - Auto-scroll that doesn't fight manual scrolling - mcrfpy.setDevConsole(bool) API to disable for shipping Technical changes: - Update imgui submodule to v1.89.9 (stable) - Update imgui-sfml submodule to 2.6.x branch (SFML 2.x compatible) - Add ImGui sources to CMakeLists.txt with OpenGL dependency - Integrate ImGui lifecycle into GameEngine - Add ImGuiConsole class for console overlay closes #36, closes #65, closes #75 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
8e2c603c54
commit
3f6ea4fe33
9 changed files with 405 additions and 10 deletions
|
|
@ -1 +1 @@
|
|||
Subproject commit 313676d200f093e2694b5cfca574f72a2b116c85
|
||||
Subproject commit c6e0284ac58b3f205c95365478888f7b53b077e2
|
||||
|
|
@ -1 +1 @@
|
|||
Subproject commit de565ac8f2b795dedc0307b60830cb006afd2ecd
|
||||
Subproject commit bf9023d1bc6ec422769559a5eff60bd00597354f
|
||||
Loading…
Add table
Add a link
Reference in a new issue