mirror of
https://github.com/zeldaret/oot.git
synced 2025-08-14 19:10:25 +00:00
ZAPD update (#612)
* remove roompoly * git subrepo pull --force tools/ZAPD subrepo: subdir: "tools/ZAPD" merged: "fd4d53a26" upstream: origin: "https://github.com/zeldaret/ZAPD.git" branch: "master" commit: "fd4d53a26" git-subrepo: version: "0.4.3" origin: "https://github.com/ingydotnet/git-subrepo.git" commit: "2f68596"
This commit is contained in:
parent
5c6335f9fb
commit
1ff2f0f849
171 changed files with 1567 additions and 826 deletions
|
@ -60,6 +60,8 @@ public:
|
|||
ZTexture();
|
||||
~ZTexture();
|
||||
|
||||
bool isPalette;
|
||||
|
||||
static ZTexture* BuildFromXML(tinyxml2::XMLElement* reader, std::string inFolder, bool readFile);
|
||||
static ZTexture* ExtractFromXML(tinyxml2::XMLElement* reader, std::vector<uint8_t> nRawData, int rawDataIndex, std::string nRelPath);
|
||||
static ZTexture* FromBinary(TextureType nType, std::vector<uint8_t> nRawData, int rawDataIndex, std::string nName, int nWidth, int nHeight);
|
||||
|
@ -67,8 +69,8 @@ public:
|
|||
static ZTexture* FromHLTexture(HLTexture* hlTex);
|
||||
static TextureType GetTextureTypeFromString(std::string str);
|
||||
|
||||
std::string GetSourceOutputCode(std::string prefix);
|
||||
std::string GetSourceOutputHeader(std::string prefix);
|
||||
std::string GetSourceOutputCode(const std::string& prefix) override;
|
||||
std::string GetSourceOutputHeader(const std::string& prefix) override;
|
||||
|
||||
std::vector<uint8_t> GetRawData();
|
||||
int GetRawDataSize();
|
||||
|
@ -76,6 +78,9 @@ public:
|
|||
std::string GetIMSizFromType();
|
||||
int GetWidth();
|
||||
int GetHeight();
|
||||
void Save(std::string outFolder);
|
||||
void SetWidth(int nWidth);
|
||||
void SetHeight(int nHeight);
|
||||
TextureType GetTextureType();
|
||||
void Save(const std::string& outFolder);
|
||||
std::string GetExternalExtension();
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue