Engine (headless construction, no display / no WSI):
- Graphics/Vulkan/Graphics.{h,cpp} + Graphics/Initializer.h: a 'headless' flag
skips surface/swapchain extension negotiation and the window path so a VkDevice
can be created with a driver present but no display.
- Scene/Scene.{h,cpp}: null-guards + PScene circular-include decoupling.
- Actor/Entity.{h,cpp}: hasComponent fix (handle-space component query).
Editor:
- Editor/Window/InspectorView.{h,cpp}: Unity-style entity/component inspector on a
fixed widget pool (no runtime tree mutation) driven by a UIPass in the render
graph; owns its UI::System via UI::OSystem.
- Editor/ComponentRegistry.{h,cpp}: type-erased component catalog (handle-space only,
no entt in the editor API) that drives the inspector's component pane.
- Editor/main.cpp: --headless / --dump-entities path (headless device + scene dump,
no window) and InspectorView wiring with a live PScene on the windowed path.
Compile-verified (-fsyntax-only, -std=c++23) across all touched TUs.
WindowManager.{h,cpp} -> Application.{h,cpp}
The Application class now owns the long-lived world (Scene, SystemGraph,
GameInterface) and is the single setup point. This removes the per-view
duplication where each GameView/PlayView loaded the binary and ran the
simulation independently, which double-simulated with two windows open.
Changes:
- WindowManager -> Application (class, files, includes, CMake)
- Application owns OScene scene_ / OSystemGraph graph_ (OwningPtr)
and GameInterface* gameInterface (raw, deleted in dtor)
- loadGame(graphics, path, name): single world-setup point
(dlopen -> setupScene -> append 5 editor systems)
- attachWorld(OScene, OSystemGraph): worldless hosts (benchmark)
hand ownership in via move
- Frame-loop fix: systemGraph->run() now runs ONCE per frame, before
the window loop (was per-window -> double-simulated with 2 windows)
- Editor/main.cpp + Benchmark/main.cpp rewired to the new API
- Window.h/.cpp: PWindowManager back-pointer -> PApplication
- 8 include paths updated to Window/Application.h
Compile-verified: Application.cpp, Editor/main.cpp, Benchmark/main.cpp
all pass g++ -std=c++23 -fsyntax-only against the full third-party
include set.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Engine (headless construction, no display / no WSI): - Graphics/Vulkan/Graphics.{h,cpp} + Graphics/Initializer.h: a 'headless' flag skips surface/swapchain extension negotiation and the window path so a VkDevice can be created with a driver present but no display. - Scene/Scene.{h,cpp}: null-guards + PScene circular-include decoupling. - Actor/Entity.{h,cpp}: hasComponent fix (handle-space component query). Editor: - Editor/Window/InspectorView.{h,cpp}: Unity-style entity/component inspector on a fixed widget pool (no runtime tree mutation) driven by a UIPass in the render graph; owns its UI::System via UI::OSystem. - Editor/ComponentRegistry.{h,cpp}: type-erased component catalog (handle-space only, no entt in the editor API) that drives the inspector's component pane. - Editor/main.cpp: --headless / --dump-entities path (headless device + scene dump, no window) and InspectorView wiring with a live PScene on the windowed path. Compile-verified (-fsyntax-only, -std=c++23) across all touched TUs.WindowManager.{h,cpp} -> Application.{h,cpp} The Application class now owns the long-lived world (Scene, SystemGraph, GameInterface) and is the single setup point. This removes the per-view duplication where each GameView/PlayView loaded the binary and ran the simulation independently, which double-simulated with two windows open. Changes: - WindowManager -> Application (class, files, includes, CMake) - Application owns OScene scene_ / OSystemGraph graph_ (OwningPtr) and GameInterface* gameInterface (raw, deleted in dtor) - loadGame(graphics, path, name): single world-setup point (dlopen -> setupScene -> append 5 editor systems) - attachWorld(OScene, OSystemGraph): worldless hosts (benchmark) hand ownership in via move - Frame-loop fix: systemGraph->run() now runs ONCE per frame, before the window loop (was per-window -> double-simulated with 2 windows) - Editor/main.cpp + Benchmark/main.cpp rewired to the new API - Window.h/.cpp: PWindowManager back-pointer -> PApplication - 8 include paths updated to Window/Application.h Compile-verified: Application.cpp, Editor/main.cpp, Benchmark/main.cpp all pass g++ -std=c++23 -fsyntax-only against the full third-party include set.e0c396b533to1f7e7e0541