mirror of
https://github.com/zeldaret/oot.git
synced 2024-11-13 12:59:59 +00:00
4e55168eaa
* git subrepo pull --force tools/ZAPD subrepo: subdir: "tools/ZAPD" merged: "094e79734" upstream: origin: "https://github.com/zeldaret/ZAPD.git" branch: "master" commit: "094e79734" git-subrepo: version: "0.4.6" origin: "https://github.com/ingydotnet/git-subrepo" commit: "110b9eb" * Add EnumData.xml where some names are now externalized * Remove legacy typedefs for zapd, no longer needed!
28 lines
675 B
C++
28 lines
675 B
C++
#pragma once
|
|
|
|
#include <cstdint>
|
|
#include <vector>
|
|
|
|
#include "ZResource.h"
|
|
|
|
class ZPlayerAnimationData : public ZResource
|
|
{
|
|
public:
|
|
int16_t frameCount = 0;
|
|
std::vector<int16_t> limbRotData;
|
|
|
|
ZPlayerAnimationData(ZFile* nParent);
|
|
|
|
void ParseXML(tinyxml2::XMLElement* reader) override;
|
|
void ParseRawData() override;
|
|
|
|
Declaration* DeclareVar(const std::string& prefix, const std::string& bodyStr) override;
|
|
|
|
std::string GetBodySourceCode() const override;
|
|
std::string GetDefaultName(const std::string& prefix) const override;
|
|
|
|
std::string GetSourceTypeName() const override;
|
|
ZResourceType GetResourceType() const override;
|
|
|
|
size_t GetRawDataSize() const override;
|
|
};
|