coding-agent
1e34f0e67b
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 20:07:40 +01:00
Dynamitos
757b75aaf3
Implementing graphics layer changes in metal
2025-08-14 18:28:33 +02:00
Dynamitos
56ec1aa97a
Fixing missing includes
2025-05-16 13:04:43 +02:00
Dynamitos
e355f3e703
Fixing some potential crashes
2025-04-08 22:01:42 +02:00
Dynamitos
aa1f037cb5
Initial environment loading (not working)
2025-04-04 14:44:53 +02:00
Dynamitos
a91aeab309
maps dont work
2025-03-25 09:17:08 +01:00
Dynamitos
4e6eb02e74
More text changes
2025-01-19 16:07:38 +01:00
Dynamitos
64a26bfd57
Reducing memory usage
2024-08-07 21:19:33 +02:00
Dynamitos
819b541ff2
Fixing some stuff
2024-07-19 10:42:59 +02:00
Dynamitos
3b6eb3ebcc
Fixing destruction
2024-07-18 11:45:56 +02:00
Dynamitos
d95dab850c
Formatted EVERYTHING
2024-06-09 12:20:53 +02:00
Dynamitos
2c1669aab4
Reworked mesh asset loading
2024-05-01 14:10:52 +02:00
Dynamitos
80963edfd4
Fixing a refactor error
2024-04-23 17:08:39 +02:00
Dynamitos
89571e5298
Fixing vulkan
2024-04-23 08:11:44 +02:00
Dynamitos
0f6dabde86
Fixing more macos things
2024-01-18 18:39:44 +01:00
Dynamitos
00672cf08e
Fixing VMA improper destruction
2024-01-17 19:34:38 +01:00
Dynamitos
1ae8d68838
Fixing mesh rendering
2023-12-24 21:49:49 +01:00
Dynamitos
35966cb5b7
More Refactoring
2023-11-15 17:42:57 +01:00
Dynamitos
ecb5050dc7
Forgetting to delete leads to memoryleaks
2023-11-07 16:55:13 +01:00
Dynamitos
4c567b60f3
Fixing staging buffers not getting deleted
...
remove vgcore
2023-11-06 15:08:27 +01:00
Dynamitos
77eb92838c
compiles again
2023-11-05 10:36:01 +01:00
Dynamitos
dcbce27fb2
Changing engine to shared library
2023-08-26 15:19:12 +02:00
Dynamitos
4ab924f251
Decent asset loading
2023-07-31 21:43:20 +02:00
Dynamitos
f46262b66e
implemented basic shader expressions
2023-02-24 22:09:07 +01:00
Dynamitos
48fa098546
Implementing basic asset serialization
2023-02-13 14:56:13 +01:00
Dynamitos
9e1e4076f0
New game interface
2023-02-01 22:13:04 +01:00
Dynamitos
0dce84459e
Implemented basic game dll interaction
2023-01-29 18:58:59 +01:00
Dynamitos
2208ab438a
overhauled physics engine
2023-01-21 18:43:21 +01:00
Dynamitos
f635ee2100
Implementing ECS SystemBase and updating slang
2022-11-15 12:19:11 +01:00
Dynamitos
3fec36295a
Trying ttf loading
2022-04-13 13:01:46 +02:00
Dynamitos
cd28e433cc
Somewhat working camera
2022-03-19 22:45:30 +01:00
Dynamitos
42b0d5034c
looks like command buffers need to be externally synchronized
2021-11-14 20:36:53 +01:00
Dynamitos
01049019fd
coroutines truly are cursed
2021-11-11 20:12:50 +01:00
Dynamitos
451572f254
Finished writeup and fixed crashes
2021-10-19 23:04:38 +02:00
Dynamitos
b1d8ef4120
Preparing for Writeup
2021-10-15 23:12:29 +02:00
Dynamitos
7f019a28b4
Basic light culling but without the culling
2021-06-12 18:51:29 +02:00
Dynamitos
4a078bd24c
3700 FPS here we go
2021-04-25 23:43:40 +02:00
Dynamitos
312ae2af9a
3700 FPS here we go
2021-04-13 23:09:16 +02:00
Stefan Högler
d5f0fe644f
Fixing a boatload of warnings
2021-04-01 16:40:14 +02:00
Dynamitos
fb3c66cc4c
Starting implementation of UI framework
2021-01-19 15:30:00 +01:00
Dynamitos
ceee96b462
Trying to fix invalid descriptorlayout
2020-10-03 11:00:10 +02:00
Dynamitos
facbfed79c
Improving Material shader code generation
2020-09-19 14:36:50 +02:00
Dynamitos
6814587b54
Fixing build for the millionth time
2020-08-11 22:38:19 +02:00
Dynamitos
f27859a02c
Fixing slang compilation temporarily, renaming vertexfactory
2020-08-06 00:54:43 +02:00
Dynamitos
ab4a3b5e23
Loading logic moved to Asset classes
2020-06-08 01:44:47 +02:00
Dynamitos
356e6058fe
Redo of render paths
2020-06-02 11:46:18 +02:00