mirror of
https://github.com/zeldaret/oot.git
synced 2025-08-15 11:30:30 +00:00
git subrepo pull --force tools/ZAPD (#1251)
subrepo: subdir: "tools/ZAPD" merged: "f54f2fa96" upstream: origin: "https://github.com/zeldaret/ZAPD.git" branch: "master" commit: "f54f2fa96" git-subrepo: version: "0.4.3" origin: "???" commit: "???"
This commit is contained in:
parent
0a95d17aa8
commit
5015af4c57
39 changed files with 3382 additions and 3094 deletions
|
@ -28,6 +28,7 @@ protected:
|
|||
std::vector<uint8_t> textureDataRaw; // When reading from a PNG file.
|
||||
uint32_t tlutOffset = static_cast<uint32_t>(-1);
|
||||
ZTexture* tlut = nullptr;
|
||||
bool splitTlut;
|
||||
|
||||
void PrepareBitmapRGBA16();
|
||||
void PrepareBitmapRGBA32();
|
||||
|
@ -40,15 +41,15 @@ protected:
|
|||
void PrepareBitmapPalette8();
|
||||
|
||||
void PrepareRawDataFromFile(const fs::path& inFolder);
|
||||
void PrepareRawDataRGBA16(const fs::path& rgbaPath);
|
||||
void PrepareRawDataRGBA32(const fs::path& rgbaPath);
|
||||
void PrepareRawDataGrayscale4(const fs::path& grayPath);
|
||||
void PrepareRawDataGrayscale8(const fs::path& grayPath);
|
||||
void PrepareRawDataGrayscaleAlpha4(const fs::path& grayAlphaPath);
|
||||
void PrepareRawDataGrayscaleAlpha8(const fs::path& grayAlphaPath);
|
||||
void PrepareRawDataGrayscaleAlpha16(const fs::path& grayAlphaPath);
|
||||
void PrepareRawDataPalette4(const fs::path& palPath);
|
||||
void PrepareRawDataPalette8(const fs::path& palPath);
|
||||
void PrepareRawDataRGBA16();
|
||||
void PrepareRawDataRGBA32();
|
||||
void PrepareRawDataGrayscale4();
|
||||
void PrepareRawDataGrayscale8();
|
||||
void PrepareRawDataGrayscaleAlpha4();
|
||||
void PrepareRawDataGrayscaleAlpha8();
|
||||
void PrepareRawDataGrayscaleAlpha16();
|
||||
void PrepareRawDataPalette4();
|
||||
void PrepareRawDataPalette8();
|
||||
|
||||
public:
|
||||
ZTexture(ZFile* nParent);
|
||||
|
@ -88,4 +89,5 @@ public:
|
|||
bool IsColorIndexed() const;
|
||||
void SetTlut(ZTexture* nTlut);
|
||||
bool HasTlut() const;
|
||||
void ParseRawDataLate() override;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue