Commit Graph

61 Commits

Author SHA1 Message Date
2b19b4bece Add SerializeField private field support 2026-04-03 16:19:56 +08:00
76f1a8e9b2 Add enum script field support 2026-04-03 15:55:47 +08:00
aaeb885566 Refine scene view gizmo execution plan 2026-04-03 15:52:13 +08:00
24a200e126 Move scene viewport shaders into editor resources 2026-04-03 15:43:21 +08:00
19bd38ab15 docs: sync rendering pass execution docs 2026-04-03 15:10:37 +08:00
d4afa022c1 Add shader artifact import pipeline 2026-04-03 14:56:51 +08:00
0f51f553c8 Add Unity-style GetComponents scripting API 2026-04-03 14:51:52 +08:00
5225faff1d Align Unity-style object and hierarchy scripting APIs 2026-04-03 14:31:07 +08:00
608e0bc9d8 Refactor scene viewport render planning 2026-04-03 14:17:50 +08:00
3f9e286637 docs: update scripting API docs 2026-04-02 22:23:29 +08:00
ec2891b16b fix: respect dock layout for top run toolbar 2026-04-02 22:19:03 +08:00
00ce503762 docs: update API docs for rendering and script editors 2026-04-02 21:29:08 +08:00
f7d7d08d99 feat: add pause control to top run toolbar 2026-04-02 21:21:42 +08:00
8e362fc4c0 feat: add top run toolbar controls 2026-04-02 21:11:08 +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
e30f5d5ffa Split mesh artifacts into material and texture artifacts 2026-04-02 19:36:16 +08:00
a5d2058818 refactor: formalize scene viewport object-id picking 2026-04-02 15:23:25 +08:00
617b11f801 test: close renderer phase boundary 2026-04-02 15:03:31 +08:00
4c167bec0e Implement initial Unity-style asset library cache 2026-04-02 03:03:36 +08:00
784af81b07 docs: close editor viewport host phase 2026-04-01 21:50:58 +08:00
e5cb79f3ce chore: sync workspace state 2026-03-29 01:36:53 +08:00
fd0b19fd11 Document editor architecture finish state 2026-03-27 12:35:05 +08:00
4afe2f88ba Expand editor regression coverage 2026-03-27 12:18:40 +08:00
4b9a63098e Refine editor action shell and add regression tests 2026-03-27 12:06:24 +08:00
c97510ed5b Extract hierarchy and project drag semantics 2026-03-27 00:30:11 +08:00
6ec5f05601 Refactor main menu action shell 2026-03-27 00:15:38 +08:00
3ebad63874 Unify inspector and console panel actions 2026-03-27 00:08:46 +08:00
31675e00c8 Refactor editor shell host layers 2026-03-26 23:52:05 +08:00
f87bc53875 Extract editor edit action router 2026-03-26 22:31:22 +08:00
5735e769b0 Route editor actions by active target 2026-03-26 22:10:43 +08:00
f6286d432c Extract editor interaction states 2026-03-26 21:30:46 +08:00
6467d87b81 Refactor editor UI architecture 2026-03-26 21:18:33 +08:00
7a814c724d docs: add C# scripting design and editor issues 2026-03-26 17:23:30 +08:00
16e2065c6c Unified logging: Replace LogSystem with EditorConsoleSink
- Created EditorConsoleSink (implements ILogSink interface)
- EditorConsoleSink stores logs in memory buffer (max 1000 entries)
- Added to Debug::Logger in Application::Initialize()
- ConsolePanel now reads from EditorConsoleSink via static GetInstance()
- Removed separate LogSystem singleton
- Removed editor/src/Core/LogEntry.h (no longer needed)

Now Editor and Engine share the same Debug::Logger, with ConsolePanel
displaying logs via EditorConsoleSink.
2026-03-25 16:13:02 +08:00
600892bbe2 Refactor RHI documentation and remove unused files 2026-03-25 01:31:09 +08:00
9fae910854 Editor: 更新编辑器面板和UI控件系统
- 添加新的UI控件系统(Core.h, ScalarControls.h, VectorControls.h, UI.h)
- 更新SceneManager支持场景层级管理
- 优化SelectionManager选择管理
- 改进InspectorPanel/GameViewPanel/HierarchyPanel等面板
- 更新RHI文档说明Vulkan实现计划
2026-03-24 20:02:38 +08:00
6ed033890a docs: 整理 plan 文档,废弃文档移至 used 目录
- 废弃的计划文档移动到 docs/plan/used/
- 更新 RHI 抽象层设计文档
- 保留当前有效的计划文档
2026-03-24 18:21:53 +08:00
612342d170 docs: 更正 Editor 设计文档中的 Component 系统描述
- 更正: Engine 核心已有完整组件系统,Editor Inspector 只是未完善
- 补充: Editor 和 Engine 使用两套不同的 GameObject/Component 系统 (重大架构问题)
- 补充: Scene 序列化依赖描述修正
- 补充: 架构问题中新增 Editor/Engine 系统差异分析
2026-03-24 18:20:10 +08:00
4daed24a05 docs: 添加 Editor 设计与实现分析文档
- 对比分析 XCEngine Editor 与 Fermion Boson Editor 各面板功能
- 详细列出缺失的面板: SettingsPanel, OverlayRenderPanel, MaterialEditorPanel, TextureConfigPanel, AssetManagerPanel
- 分析核心系统差异: Application 架构、SceneManager、UI 控件封装、选择系统、资源系统
- 制定改进计划分阶段实施路线
2026-03-24 18:15:03 +08:00
0dde7234b7 refactor(RHI): remove void* from CommandList interfaces and fix OpenGL MRT bug
- Remove void* parameters from RHICommandList abstract interface
- TransitionBarrier, SetVertexBuffer, SetIndexBuffer, SetRenderTargets,
  ClearRenderTarget, ClearDepthStencil, CopyResource now use RHIResourceView*
- SetPipelineState now uses RHIPipelineState* instead of void*
- Simplified SetVertexBuffer to 3 params, SetIndexBuffer to 2 params
- Add internal D3D12 APIs for native type support (low-level escape hatch)
- Fix OpenGL SetRenderTargets to call glDrawBuffers for MRT support
- Update tests to match new interface signatures

All 289 RHI tests pass (158 unit + 64 OpenGL backend + 58 D3D12 backend + 8 integration + 1 disabled)
2026-03-24 17:20:51 +08:00
ac5c98584a refactor: rename ui_editor to editor for consistency 2026-03-24 16:23:04 +08:00
512161bf81 docs: Fix markdown formatting in RHIFence.md 2026-03-24 02:29:52 +08:00
08c01dd143 RHI: Refactor Fence module to pure timeline semantics
- Remove IsSignaled() from RHIFence interface (semantic inconsistency)
- Remove Reset() from OpenGL implementation (no D3D12 counterpart)
- OpenGL Fence now uses single GLsync + CPU counters for timeline simulation
- OpenGL Fence Initialize() now accepts uint64_t initialValue (was bool)
- Add comprehensive timeline semantics tests for all backends:
  - Signal increment/decrement scenarios
  - Multiple signals
  - Wait smaller than completed value
  - GetCompletedValue stages verification
- Update documentation to reflect actual implementation
2026-03-24 01:53:00 +08:00
36d3decef6 feat: 添加独立的输入系统和平台抽象层
- 新增 Platform 模块:PlatformTypes.h, Window.h, WindowsWindow
- 新增 Input 模块:InputTypes, InputEvent, InputAxis, InputModule, InputManager
- 新增 WindowsInputModule 处理 Win32 消息转换
- 将 RHI 集成测试从 render_model 迁移到 sphere
- 更新 CMakeLists.txt 添加 Platform 和 Input 模块
2026-03-22 15:21:52 +08:00
a172d75e36 Add Music fluctuations project and Chinese plan docs 2026-03-21 15:55:54 +08:00
810b0861c5 Docs: Add audio module architecture design document
- Add XCEngine音频模块架构设计.md
- Design audio system following Unity-style architecture
- Include AudioSourceComponent, AudioListenerComponent, AudioClip, AudioMixer
- Document DSP effect system (FFT, Reverb, EQ, Compressor)
- Document 3D spatial audio with HRTF support
- Define IAudioBackend abstraction layer with WASAPI/OpenAL backends
- Outline 5-phase implementation priorities
2026-03-20 19:59:06 +08:00
05a57addc7 Docs: Update UI-Editor GameObject system analysis 2026-03-20 19:43:24 +08:00
f1ad13430b Docs: Add UI-Editor design and implementation doc 2026-03-20 19:06:20 +08:00
761552273b Docs: Add UI-Editor design documents 2026-03-20 19:06:11 +08:00