From 17b8ffac48643040cddfb0a51025bab62245326f Mon Sep 17 00:00:00 2001 From: skal Date: Sat, 7 Feb 2026 09:20:19 +0100 Subject: refactor: Move platform files to src/platform/ subdirectory MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reorganized platform windowing code into dedicated subdirectory for better organization and consistency with other subsystems (audio/, gpu/, 3d/). Changes: - Created src/platform/ directory - Moved src/platform.{h,cc} → src/platform/platform.{h,cc} - Updated 11 include paths: "platform.h" → "platform/platform.h" - src/main.cc, src/test_demo.cc - src/gpu/gpu.{h,cc} - src/platform/platform.cc (self-include) - 6 test files - Updated CMakeLists.txt PLATFORM_SOURCES variable Verification: ✓ All targets build successfully (demo64k, test_demo, test_platform) ✓ test_platform passes (70% coverage maintained) ✓ demo64k smoke test passed This completes the platform code reorganization side quest. No functional changes, purely organizational. --- src/main.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main.cc') diff --git a/src/main.cc b/src/main.cc index 978a34e..0fb0fb6 100644 --- a/src/main.cc +++ b/src/main.cc @@ -14,7 +14,7 @@ #include "generated/assets.h" // Include generated asset header #include "gpu/demo_effects.h" // For GetDemoDuration() #include "gpu/gpu.h" -#include "platform.h" +#include "platform/platform.h" #include "util/math.h" #include #include -- cgit v1.2.3