Commit Graph
533 Commits
Author SHA1 Message Date
Dynamitos 949a6738bd Merge pull request 'Application refactor' (#2) from coding-agent/Seele:application-refactor into master
Reviewed-on: Dynamitos/Seele#2
2026-11-09 20:07:56 +01:00
Dynamitos 1f7e7e0541 Engine is up and running 2026-11-09 20:07:40 +01:00
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 803531c608 Fix miscellaneus errors 2026-11-09 20:07:40 +01:00
coding-agent c5c66f8cf3 Editor: headless Vulkan graphics + entity/component InspectorView + --headless CLI
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.
2026-11-09 20:07:40 +01:00
Dynamitos 499407d366 Merge pull request 'docs: add per-subsystem deep-dives + cross-repo orientation (for coding agents)' (#1) from coding-agent/Seele:docs/engine-orientation into master
Reviewed-on: Dynamitos/Seele#1
Reviewed-by: Dynamitos <[email protected]>
2026-11-07 23:18:19 +01:00
coding-agent 1324d903cb docs: add per-subsystem deep-dives + cross-repo orientation (for coding agents)
Adds docs/ — a navigation layer on top of AGENTS.md for future coding
agents working on the Seele engine and the MeshShadingDemo harness.

- docs/README.md: index + 30-second orientation + how-to-use workflow.
- docs/cross-repo.md: the engine<->demo contract (2-symbol ABI, the
  ComponentSystem<...> demo pattern with the FlyCamSystem example, the
  CMake in-tree vs install(EXPORT) split, a where-to-look task map).
- docs/subsystems/*.md: 16 per-subsystem deep-dives (scene/ECS, systems,
  game-interface, window, graphics backends, render graph, materials,
  physics, UI, assets, platform, core utils). Each maps public types to
  their defining headers and gives file:line pointers + gotchas.

All cross-links verified resolving. This is documentation only — no source
changes.
2026-11-07 22:08:50 +00:00
Dynamitos d3ed573405 Initial editor draft 2026-11-07 16:52:38 +01:00
Dynamitos 3317705d9c Fixing depth clashing and struct padding 2026-11-05 22:31:04 +01:00
Dynamitos ff2e4e642d Adding agents.md, fixing long-broken initializer list constructor 2026-10-25 22:50:20 +01:00
Dynamitos 6a6294c67d Fixing semaphore waiting logic 2026-10-25 19:18:57 +01:00
Dynamitos bcb9a7b148 Initial flexbox implementation 2026-10-25 07:34:05 +01:00
Dynamitos 1bc73b6d2f Delete invasive font atlas tests 2026-10-22 21:53:33 +02:00
Dynamitos 22a90fe07c Implement texture atlas for fonts 2026-10-21 21:21:49 +02:00
Dynamitos 17dc1e4d88 Remote TextPass, merged with UIPass 2026-10-20 22:01:51 +02:00
Dynamitos 332c47fc9d Make style initially dirty so the styles get applied on first frame 2026-10-15 21:14:07 +02:00
Dynamitos ca69fc7dbc Re-enable ray tracing and adding inspector view to editor for testing 2026-10-13 22:12:30 +02:00
Dynamitos 908b52441f Initial UI implementation by AI 2026-10-13 21:49:28 +02:00
Dynamitos f2a3f59ab1 More fluid simulation settings 2026-10-13 17:24:55 +02:00
Dynamitos b1004d5c80 Still dont know 2026-09-03 20:08:45 +02:00
Dynamitos bedeb8f059 idk 2026-04-21 22:00:00 +02:00
Dynamitos 424dea0012 So many changes again 2026-04-15 16:56:19 +02:00
Dynamitos 495e683522 Trying to fix fluid pass 2026-04-12 21:39:31 +02:00
Dynamitos ac317a3829 Trying to add fluid simulation 2026-04-12 20:49:02 +02:00
Dynamitos 056589a6f9 Changed key and mouse button callback signatures 2026-04-11 10:15:35 +02:00
Dynamitos b6a449d8e3 More windowing changes for renderdoc 2026-04-07 22:25:13 +02:00
Dynamitos 7af42b9bad I dont know anymore 2026-04-06 20:35:02 +02:00
Dynamitos ace1554020 Fixing glfw package breaking changes 2026-04-06 17:29:55 +02:00
Dynamitos 87390db80d Adding more Window validation 2026-04-06 14:28:58 +02:00
Dynamitos 7271fe8a0b new compute dispatch 2026-04-06 09:54:04 +02:00
Dynamitos 925537dcb3 Macos changes 2026-03-16 16:54:30 +01:00
Dynamitos 4fd44b075f reintroducing vulkan 2026-03-16 16:54:14 +01:00
Dynamitos e2296cada2 Metal changes 2026-03-16 16:53:30 +01:00
Dynamitos 54106e6fef removing vulkan references from mac builds 2026-03-16 16:52:43 +01:00
Dynamitos 9109baad18 shader adjustments 2026-03-15 22:37:08 +01:00
Dynamitos cd0f6d038f Reorganize includes 2026-03-14 13:53:04 +01:00
Dynamitos df5b2b6795 Minor changes 2026-03-13 22:30:46 +01:00
Dynamitos 661c91401f adding proper window close functionality 2026-03-09 22:28:21 +01:00
Dynamitos 61dcb0430a Fixed shadow pass and physics system a little bit 2026-02-25 07:13:54 +01:00
Dynamitos 2e63b3cb83 Shadow mapping works 99% 2026-02-24 22:52:21 +01:00
Dynamitos 2f146445a4 update vcpkg 2026-02-22 20:26:39 +01:00
Dynamitos 4a66b5d18d Compatibility changes with macos 2026-02-22 20:26:25 +01:00
Dynamitos 4eacda2ae0 Fixed array includes 2026-02-18 22:10:39 +01:00
Dynamitos c8ee843a09 Changes to shadowpass 2026-02-15 21:17:09 +01:00
Dynamitos 9f9663fb47 some things work, others dont 2025-09-27 22:29:04 +02:00
Dynamitos a2f1e0bd8c Reverse depth is now working in the shadow pass 2025-09-27 21:50:01 +02:00
Dynamitos ed69a21b80 Something about shadowpass 2025-09-21 22:09:24 +02:00
Dynamitos 209780cd54 Idk 2025-09-20 12:42:42 +02:00
Dynamitos 7d4cd26c31 Fixing perspective matrices 2025-09-07 20:13:26 +02:00
Dynamitos e97beda2bc Fixing command resource binding 2025-09-05 07:10:27 +02:00