Files
siege_deck/Docs/SiegeDeck/Engine/Debug and Tooling.md
T
darman 45b246c1d7 docs: Initialize comprehensive project documentation
Migrates existing GDD and engine design notes from HacknPlan into a new Obsidian vault.

This establishes a centralized, version-controlled knowledge base covering engine architecture, game constraints, design decisions, and open questions.
2026-09-24 23:55:48 +02:00

28 lines
866 B
Markdown

---
tags:
- engine
- tooling
---
# Debug and Tooling
## ImGui layer
Debug only; the game UI is built separately on `Renderer2D`. Subsystems register panels:
- Entity inspector (components per entity)
- Simulation controls: pause, single-step, speed
- Script console and script error list (see [[Scripting]])
- Asset list with hot-reload status (see [[Assets]])
- Frame timings and draw and instance counts (see [[Rendering]])
- RNG stream states (see [[Randomness]])
## Logging
spdlog with per-subsystem loggers (`engine`, `render`, `script`, `game`) and levels adjustable at runtime.
## Profiling
Scoped CPU timers feed the timings panel. Tracy can be added later if needed.
## Headless and smoke runs
- `--frames N` renders N frames and exits (already supported).
- Later: a headless mode with no window that runs the simulation only, for `siege_tests`.