diff options
| author | skal <pascal.massimino@gmail.com> | 2026-02-07 09:20:19 +0100 |
|---|---|---|
| committer | skal <pascal.massimino@gmail.com> | 2026-02-07 09:20:19 +0100 |
| commit | 17b8ffac48643040cddfb0a51025bab62245326f (patch) | |
| tree | 6b3be53f32acd8ec28c057172f0cc91c1bd62838 /src/main.cc | |
| parent | 5d19168436e64d1b33fecc48e1790f20847078f2 (diff) | |
refactor: Move platform files to src/platform/ subdirectory
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.
Diffstat (limited to 'src/main.cc')
| -rw-r--r-- | src/main.cc | 2 |
1 files changed, 1 insertions, 1 deletions
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 <cmath> #include <cstdio> |
