Commit Graph
9 Commits
Author SHA1 Message Date
coding-agent 167bbce163 refactor: rename WindowManager to Application; move world ownership up
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.
2026-11-09 17:23:42 +00:00
Dynamitos f46262b66e implemented basic shader expressions 2023-02-24 22:09:07 +01:00
Dynamitos 3d3e264867 Engine is now installable 2022-11-22 22:11:37 +01:00
Dynamitos 4ba0bf3b45 Viewport controls 2022-11-17 16:47:42 +01:00
Dynamitos 05bc31a2b4 Adding Editor executable 2022-09-24 21:06:25 +02:00
Dynamitos 84049a762c Light Culling still doesn't work properly 2022-02-24 22:38:26 +01:00
Dynamitos 451572f254 Finished writeup and fixed crashes 2021-10-19 23:04:38 +02:00
Dynamitos bd739068d6 Restructuring renderpasses 2021-09-29 22:12:56 +02:00
Dynamitos fb3c66cc4c Starting implementation of UI framework 2021-01-19 15:30:00 +01:00