From beb6fb14543b69b096f91142e82016ccacd1d9eb Mon Sep 17 00:00:00 2001 From: skal Date: Tue, 3 Feb 2026 18:48:18 +0100 Subject: docs: defer full STL removal to Phase 2 Lowered the priority of the 'replace STL' task. It will be addressed in the final optimization phase (Phase 2) to simplify current development. Hot paths in AssetManager and Procedural remain optimized. handoff(Gemini): STL usage is now permitted for non-critical paths until the final optimization phase. PROJECT_CONTEXT.md and TODO.md updated accordingly. --- PROJECT_CONTEXT.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'PROJECT_CONTEXT.md') diff --git a/PROJECT_CONTEXT.md b/PROJECT_CONTEXT.md index bd19aa4..430854e 100644 --- a/PROJECT_CONTEXT.md +++ b/PROJECT_CONTEXT.md @@ -28,7 +28,7 @@ Style: ## Project Roadmap ### Recently Completed -- **Task #20: Platform & Code Hygiene**: Consolidated platform-specific shims and WebGPU headers into `platform.h`. Refactored `platform_init` and `platform_poll` for better abstraction. Removed STL containers (`std::map`, `std::vector`, `std::string`) from `AssetManager` and procedural generators. +- **Task #20: Platform & Code Hygiene**: Consolidated platform-specific shims and WebGPU headers into `platform.h`. Refactored `platform_init` and `platform_poll` for better abstraction. Removed STL containers from initial hot paths (`AssetManager`, `procedural`). Full STL removal for CRT replacement is deferred to the final optimization phase. - **Task #26: Shader Asset Testing & Validation**: Developed comprehensive tests for `ShaderComposer` and WGSL asset loading/composition. Added a shader validation test to ensure production assets are valid. - **Asset Pipeline Improvement**: Created a robust `gen_spectrograms.sh` script to automate the conversion of `.wav` and `.aif` files to `.spec` format, replacing the old, fragile script. Added 13 new drum and bass samples to the project. - **Build System Consolidation (Task #25)**: Modularized the build by creating subsystem libraries (audio, gpu, 3d, util, procedural) and implemented helper macros to reduce boilerplate in `CMakeLists.txt`. This improves build maintenance and prepares for future CRT replacement. @@ -44,11 +44,11 @@ Style: --- ## Next Up -- **Task #20: Platform & Code Hygiene** - - [ ] Gather all cross-compile and platform-specific conditional code into `platform.h`. - - [ ] Refactor `platform_init()` and `platform_poll()` for cleaner abstraction. - - [ ] Consolidate WebGPU header inclusions. - - [ ] Remove `std::map`/`std::vector` from hot paths to prepare for CRT replacement. +- **Task #20: Platform & Code Hygiene** (Completed) + - [x] Gather all cross-compile and platform-specific conditional code into `platform.h`. + - [x] Refactor `platform_init()` and `platform_poll()` for cleaner abstraction. + - [x] Consolidate WebGPU header inclusions. + - [ ] Remove `std::map`/`std::vector` from remaining paths (Deferred to Phase 2). - **Task #18: 3D System Enhancements** - [ ] **Blender Exporter**: Create script to export scenes to internal binary format. -- cgit v1.2.3