summaryrefslogtreecommitdiff
path: root/ZAPD/ZTextureAnimation.cpp
diff options
context:
space:
mode:
authorlouist103 <35883445+louist103@users.noreply.github.com>2023-10-28 01:06:21 -0400
committerlouist103 <35883445+louist103@users.noreply.github.com>2023-10-28 01:06:21 -0400
commit5934e4e0772eb910536e566728e14d3537d8e412 (patch)
treee4065cf06b22a4e2ec1f6da2a4e99568f3c86246 /ZAPD/ZTextureAnimation.cpp
parentcc8bd2fd01672446bb2f4613f402f2310f5ce62d (diff)
MM
Diffstat (limited to 'ZAPD/ZTextureAnimation.cpp')
-rw-r--r--ZAPD/ZTextureAnimation.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/ZAPD/ZTextureAnimation.cpp b/ZAPD/ZTextureAnimation.cpp
index e254635..239cdd9 100644
--- a/ZAPD/ZTextureAnimation.cpp
+++ b/ZAPD/ZTextureAnimation.cpp
@@ -496,6 +496,7 @@ std::string TextureCyclingParams::GetBodySourceCode() const
ZTextureAnimation::ZTextureAnimation(ZFile* nParent) : ZResource(nParent)
{
+ genOTRDef = true;
}
/**
@@ -638,6 +639,12 @@ std::string ZTextureAnimation::GetDefaultName(const std::string& prefix) const
return StringHelper::Sprintf("%sTexAnim_%06X", prefix.c_str(), rawDataIndex);
}
+//std::string ZTextureAnimation::GetSourceOutputHeader(const std::string& prefix,
+// std::set<std::string>* nameSet)
+//{
+// return std::string();
+//}
+
Declaration* ZTextureAnimation::DeclareVar(const std::string& prefix, const std::string& bodyStr)
{
std::string auxName = name;