From 5934e4e0772eb910536e566728e14d3537d8e412 Mon Sep 17 00:00:00 2001 From: louist103 <35883445+louist103@users.noreply.github.com> Date: Sat, 28 Oct 2023 01:06:21 -0400 Subject: MM --- ZAPD/ZTextureAnimation.cpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'ZAPD/ZTextureAnimation.cpp') 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* nameSet) +//{ +// return std::string(); +//} + Declaration* ZTextureAnimation::DeclareVar(const std::string& prefix, const std::string& bodyStr) { std::string auxName = name; -- cgit v1.2.3