mirror of
https://github.com/zeldaret/oot.git
synced 2025-08-13 10:21:18 +00:00
ZAPD update: Gotta go fast! (#877)
* copy over the xml * Rename anims * A bunch of renames * minor extract_assets fixes * git subrepo pull --force tools/ZAPD subrepo: subdir: "tools/ZAPD" merged: "820678b4e" upstream: origin: "https://github.com/zeldaret/ZAPD.git" branch: "master" commit: "820678b4e" git-subrepo: version: "0.4.3" origin: "???" commit: "???" * Change rgb5a1 to rgba16 * eye and eyebrows * some dlists * git subrepo pull --force tools/ZAPD subrepo: subdir: "tools/ZAPD" merged: "6be9af65d" upstream: origin: "https://github.com/zeldaret/ZAPD.git" branch: "master" commit: "6be9af65d" git-subrepo: version: "0.4.3" origin: "???" commit: "???"
This commit is contained in:
parent
d1a5ea5110
commit
5c147e5e03
226 changed files with 2350 additions and 1492 deletions
|
@ -13,7 +13,8 @@ ZString::ZString(ZFile* nParent) : ZResource(nParent)
|
|||
void ZString::ParseRawData()
|
||||
{
|
||||
size_t size = 0;
|
||||
uint8_t* rawDataArr = rawData.data();
|
||||
const auto& rawData = parent->GetRawData();
|
||||
const auto& rawDataArr = rawData.data();
|
||||
size_t rawDataSize = rawData.size();
|
||||
for (size_t i = rawDataIndex; i < rawDataSize; ++i)
|
||||
{
|
||||
|
@ -43,7 +44,7 @@ std::string ZString::GetSourceOutputCode(const std::string& prefix)
|
|||
|
||||
std::string ZString::GetSourceOutputHeader(const std::string& prefix)
|
||||
{
|
||||
return StringHelper::Sprintf("#define %s_macro \"%s\"", name.c_str(), rawData.data());
|
||||
return StringHelper::Sprintf("#define %s_macro \"%s\"", name.c_str(), strData.data());
|
||||
}
|
||||
|
||||
std::string ZString::GetSourceTypeName() const
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue