feat(资源管理): 添加NPK文件格式支持及精灵创建功能

实现NPK文件格式的解析和缓存管理,支持从NPK文件中加载精灵图像
添加Sprite::createFromNpk方法用于从NPK创建精灵
修改Texture和Sprite相关方法以支持const数据
添加zlib依赖用于NPK文件解压
优化Asset::listFilesWithExtension的扩展名匹配逻辑
This commit is contained in:
2026-03-20 04:21:42 +08:00
parent 29dec1f64b
commit 18111dae6b
11 changed files with 646 additions and 55 deletions

Binary file not shown.