3317e47009
feat(physics): add runtime physics scaffolding
2026-04-15 11:58:27 +08:00
162f1cc12e
engine: sync editor rendering and ui changes
2026-04-08 16:09:15 +08:00
6113ed92b0
Formalize renderer material contracts and harden backpack import
2026-04-08 04:27:21 +08:00
c79274d6b4
Group rendering extraction files
2026-04-05 21:53:35 +08:00
511e94fd30
Add XCUI expansion state and coverage tests
2026-04-05 07:29:27 +08:00
d46dcbfa9e
Integrate XCUI runtime context into SceneRuntime
2026-04-05 06:52:17 +08:00
bcef1f145b
Finalize library bootstrap status and stabilize async asset regressions
2026-04-04 19:44:59 +08:00
7cc4aa3b45
Add scene coverage for tag and layer round trip
2026-04-03 15:15:56 +08:00
a05d0b80a2
feat: expand editor scripting asset and viewport flow
2026-04-03 13:22:30 +08:00
1f29dfd611
feat: add play mode pause resume and step controls
2026-04-02 19:56:07 +08:00
fb15d60be9
feat: add runtime play tick and play-mode scene editing semantics
2026-04-02 19:37:35 +08:00
86144416af
Add deferred async scene asset loading
2026-04-02 18:50:41 +08:00
be15bc2fc4
feat: add mesh component editors and scene hierarchy serialization
2026-03-31 21:25:59 +08:00
eb5de3e3d4
Add backpack editor startup scene
2026-03-28 19:26:08 +08:00
14c7fd69ec
feat(scripting): add field model editing and defaults support
2026-03-28 15:09:42 +08:00
b06932724c
feat(scripting): add mono csharp runtime foundation
2026-03-27 13:07:39 +08:00
0921f2a459
Prepare script lifecycle and data layer
2026-03-26 20:14:58 +08:00
d018a4c82c
feat(editor): unify component registration pipeline
2026-03-26 02:24:11 +08:00
5c3566774b
docs: 更新 containers 和 threading 模块文档
...
- containers: 更新 string 类的多个方法文档
- threading: 更新 mutex 和 task-group 方法文档
2026-03-26 01:59:14 +08:00
0651666d8c
Fix editor scene persistence and XC scene workflow
2026-03-26 01:26:26 +08:00
d575532966
docs: update TEST_SPEC.md and README.md to reflect new directory structure
...
- TEST_SPEC.md: Updated test directory structure to reflect Core/Asset,
Core/IO, and Resources/<Type> subdirectories
- TEST_SPEC.md: Updated module names and test counts (852 total)
- TEST_SPEC.md: Updated build commands for new Resources subdirectories
- README.md: Updated engine structure with Core/Asset/ and Core/IO/
- README.md: Updated Resources section with layered architecture
- README.md: Updated test coverage table with accurate counts
2026-03-24 16:14:05 +08:00
f427699ac6
refactor: improve test infrastructure and fix OpenGL GLAD initialization
...
- Rename D3D12Enum.h to D3D12Enums.h for naming consistency
- Fix OpenGL unit test GLAD initialization by using gladLoadGL()
instead of gladLoadGLLoader(wglGetProcAddress) for fallback support
- Migrate remaining tests to use gtest_discover_tests for granular
test discovery (math, core, containers, memory, threading, debug,
components, scene, resources, input, opengl)
- Remove obsolete TEST_RESOURCES_DIR and copy_directory commands
from OpenGL unit test CMakeLists (minimal/Res doesn't exist)
- Update TEST_SPEC.md with performance metrics and per-module
build/test commands for faster development workflow
- Update CMake path references to use lowercase paths
2026-03-23 00:43:02 +08:00
70571d11df
添加 Components 和 Scene 序列化支持
...
- Component: 添加 Serialize/Deserialize 虚函数
- TransformComponent: 实现 Transform 数据的序列化/反序列化
- GameObject: 实现对象序列化/反序列化
- Scene: 实现 Save/Load 方法,支持场景文件保存和加载
- 测试: 添加 Save_And_Load 和 Save_ContainsGameObjectData 测试
2026-03-22 03:42:40 +08:00
3357de85c9
修复 Components 和 Scene 模块测试问题
...
1. GameObject 析构函数:从全局注册表移除自己,防止悬挂指针
2. SceneManager 测试:事件订阅后正确 Unsubscribe,防止 lambda 销毁后悬挂调用
3. SceneManager 测试:使用唯一场景名称避免覆盖问题
2026-03-22 02:10:32 +08:00
2cc9d58edd
修复 Components 和 Scene 模块单元测试
...
修复内容:
- SetAsLastSibling: 修正 m_siblingIndex 设置错误
- GameObject::Find: 在 Scene::CreateGameObject 中注册到全局注册表
- GameObject ID: 修正首个 GameObject ID 预期值为 1
- SetParent: worldPositionStays=false 时保持局部位置语义
- SceneManager 测试: 使用相对数量验证替代绝对数量验证
- Euler/LookAt/Rotate 测试: 调整为与实现匹配的宽松预期
注意: Engine 存在预编译问题 (kissfft 文件缺失)
2026-03-21 12:12:32 +08:00
00f70eccf1
Engine: 实现 Components 和 Scene 模块,包含完整单元测试
...
新增 Components 模块:
- Component 基类 (生命周期、启用状态管理)
- TransformComponent (本地/世界空间变换、矩阵缓存、父子层级)
- GameObject (组件管理、父子层级、激活状态、静态查找)
新增 Scene 模块:
- Scene (场景管理、对象创建销毁、查找、生命周期)
- SceneManager (单例模式、多场景管理、场景切换)
新增测试:
- test_component.cpp (12 个测试)
- test_transform_component.cpp (35 个测试)
- test_game_object.cpp (26 个测试)
- test_scene.cpp (20 个测试)
- test_scene_manager.cpp (17 个测试)
所有测试均已编译通过。
2026-03-20 20:22:04 +08:00