feat(平台): 添加Switch平台支持并实现资源管理器

- 新增Switch平台初始化与清理功能
- 实现Asset资源管理器类,提供文件读写、路径处理等功能
- 完善Window类的销毁逻辑,释放SDL资源
- 更新Switch平台编译配置,移除冗余标志
- 在主程序中集成资源管理器功能
This commit is contained in:
2026-02-21 03:34:48 +08:00
parent ce2cc4d210
commit 9f29192ae8
9 changed files with 905 additions and 8 deletions

View File

@@ -79,7 +79,7 @@ struct WindowConfig {
class Window {
public:
Window() = default;
virtual ~Window() = default;
~Window() = default;
/**
* @brief 创建窗口