[OTR] Initial support for PNG textures (#1634)

This commit is contained in:
Garrett Cox 2022-10-01 15:33:29 -05:00 committed by GitHub
commit ec88b90ed8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
15 changed files with 59 additions and 327 deletions

View file

@ -64,6 +64,7 @@ public:
bool forceStatic = false;
bool forceUnaccountedStatic = false;
bool otrMode = true;
bool buildRawTexture = false;
ZRom* rom;
std::vector<ZFile*> files;
@ -85,6 +86,7 @@ public:
std::map<int32_t, std::vector<ZFile*>> GetSegmentRefFiles(int workerID);
void AddFile(ZFile* file, int workerID);
void AddExternalFile(ZFile* file, int workerID);
void BuildAssetTexture(const fs::path& pngFilePath, TextureType texType, const fs::path& outPath);
ZResourceExporter* GetExporter(ZResourceType resType);
ExporterSet* GetExporterSet();