- 新增Switch平台初始化与清理功能 - 实现Asset资源管理器类,提供文件读写、路径处理等功能 - 完善Window类的销毁逻辑,释放SDL资源 - 更新Switch平台编译配置,移除冗余标志 - 在主程序中集成资源管理器功能
19 lines
224 B
C++
19 lines
224 B
C++
#pragma once
|
|
|
|
#ifdef __SWITCH__
|
|
|
|
#include <switch.h>
|
|
#include <sys/socket.h>
|
|
|
|
namespace frostbite2D {
|
|
/**
|
|
* @brief Switch平台相关函数
|
|
*/
|
|
|
|
void switchInit();
|
|
void switchShutdown();
|
|
|
|
} // namespace frostbite2D
|
|
|
|
#endif
|