mirror of
https://github.com/zeldaret/mm.git
synced 2026-06-10 20:58:22 -04:00
bbfbc4073e
* git subrepo pull --force tools/ZAPD subrepo: subdir: "tools/ZAPD" merged: "cb0342425" upstream: origin: "https://github.com/zeldaret/ZAPD.git" branch: "master" commit: "cb0342425" git-subrepo: version: "0.4.6" origin: "https://github.com/ingydotnet/git-subrepo" commit: "110b9eb" * git subrepo pull --force tools/ZAPD subrepo: subdir: "tools/ZAPD" merged: "505024b33" upstream: origin: "https://github.com/zeldaret/ZAPD.git" branch: "master" commit: "505024b33" git-subrepo: version: "0.4.6" origin: "https://github.com/ingydotnet/git-subrepo" commit: "110b9eb" * Disable Wno-hardcoded-pointer for `make assets`
29 lines
675 B
C++
29 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;
|
|
};
|