Engine: - SdlContext and Window: RAII, throwing constructors, non-movable - FrameClock (real time, clamped dt) and SimClock (fixed 1/60 s steps, speed 0 = planning phase, backlog capped per frame) - Application owns them in lifetime order, exposes EngineContext, and runs the fixed-timestep loop; AppConfig::FromArgs parses --frames, --seed and --fullscreen - Temporary window-surface fill so Wayland maps the window until RenderDevice lands in step 2 Build: - Split into the siege_engine static lib and the siege_deck exe - check_engine_deps fails the build if Engine/ includes Game/ - ctest smoke test: siege_deck --frames 30 on the offscreen driver - siege_tests on Catch2 v3.15.3 (nixpkgs + CPM pin), with SimClock, FrameClock and AppConfig tests Docs: - Decision Log: error handling split, Catch2 for unit tests - Build Order step 1 done; Engine Overview, Main Loop and Time and README updated to match - AGENTS.md with build, conventions and gotchas for coding agents - .gitignore: .mcp.json (local CLion MCP port) and Obsidian's workspace.json (tab/pane state), now untracked Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
55 lines
867 B
Plaintext
55 lines
867 B
Plaintext
# CMake build directories
|
|
cmake-build-*/
|
|
build/
|
|
out/
|
|
|
|
# CLion (.mcp.json points at the local CLion MCP server; its port is per machine)
|
|
.mcp.json
|
|
.idea/
|
|
|
|
# direnv
|
|
.direnv/
|
|
|
|
# Generated by the devShell on entry (see flake.nix)
|
|
.clangd
|
|
|
|
# Downloaded by cmake/Cpm.cmake when the nix devShell isn't providing it
|
|
cmake/CPM.cmake
|
|
cpm-package-lock.cmake
|
|
|
|
# CMake
|
|
CMakeCache.txt
|
|
CMakeFiles/
|
|
cmake_install.cmake
|
|
compile_commands.json
|
|
install_manifest.txt
|
|
_deps/
|
|
|
|
# Compiled output
|
|
*.o
|
|
*.obj
|
|
*.so
|
|
*.dylib
|
|
*.dll
|
|
*.a
|
|
*.lib
|
|
*.exe
|
|
*.gch
|
|
*.pch
|
|
|
|
# ImGui window layout, written at runtime next to the executable
|
|
imgui.ini
|
|
|
|
# Obsidian: open tabs and pane layout, rewritten on every use of the vault.
|
|
# The rest of .obsidian/ (settings, plugins) stays tracked.
|
|
Docs/SiegeDeck/.obsidian/workspace.json
|
|
|
|
# Editors / OS
|
|
.vscode/
|
|
*.code-workspace
|
|
.DS_Store
|
|
*~
|
|
*.swp
|
|
|
|
Docs/SiegeDeck/.trash/
|