mirror of
https://github.com/zeldaret/oot.git
synced 2025-08-14 19:10:25 +00:00
git subrepo pull --force tools/ZAPD (#727)
subrepo: subdir: "tools/ZAPD" merged: "4751db5c9" upstream: origin: "https://github.com/zeldaret/ZAPD.git" branch: "master" commit: "4751db5c9" git-subrepo: version: "0.4.3" origin: "https://github.com/ingydotnet/git-subrepo.git" commit: "2f68596"
This commit is contained in:
parent
77ec4d4916
commit
493bdbc3c6
115 changed files with 16370 additions and 2789 deletions
|
@ -1,16 +1,17 @@
|
|||
#pragma once
|
||||
|
||||
#include <vector>
|
||||
#include <string>
|
||||
#include <cstdint>
|
||||
#include "ZFile.h"
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include "ZDisplayList.h"
|
||||
#include "ZFile.h"
|
||||
#include "ZLimb.h"
|
||||
|
||||
enum ZSkeletonType
|
||||
{
|
||||
Normal,
|
||||
Flex
|
||||
Flex,
|
||||
Curve,
|
||||
};
|
||||
|
||||
class ZSkeleton : public ZResource
|
||||
|
@ -21,13 +22,18 @@ public:
|
|||
std::vector<ZLimb*> limbs;
|
||||
segptr_t limbsArrayAddress;
|
||||
uint8_t limbCount;
|
||||
uint8_t dListCount; // FLEX SKELETON ONLY
|
||||
uint8_t dListCount; // FLEX SKELETON ONLY
|
||||
|
||||
ZSkeleton(tinyxml2::XMLElement* reader, const std::vector<uint8_t>& nRawData, int nRawDataIndex, ZFile* nParent);
|
||||
ZSkeleton() = default;
|
||||
ZSkeleton(tinyxml2::XMLElement* reader, const std::vector<uint8_t>& nRawData, int nRawDataIndex,
|
||||
ZFile* nParent);
|
||||
ZSkeleton(ZSkeletonType nType, ZLimbType nLimbType, const std::string& prefix,
|
||||
const std::vector<uint8_t>& nRawData, int nRawDataIndex, ZFile* nParent);
|
||||
~ZSkeleton();
|
||||
void ParseXML(tinyxml2::XMLElement* reader) override;
|
||||
void ParseRawData() override;
|
||||
static ZSkeleton* FromXML(tinyxml2::XMLElement* reader, std::vector<uint8_t> nRawData, int rawDataIndex, std::string nRelPath, ZFile* nParent);
|
||||
static ZSkeleton* FromXML(tinyxml2::XMLElement* reader, std::vector<uint8_t> nRawData,
|
||||
int rawDataIndex, std::string nRelPath, ZFile* nParent);
|
||||
void Save(const std::string& outFolder) override;
|
||||
void GenerateHLIntermediette(HLFileIntermediette& hlFile) override;
|
||||
|
||||
|
@ -38,4 +44,5 @@ public:
|
|||
ZResourceType GetResourceType() override;
|
||||
|
||||
segptr_t GetAddress();
|
||||
uint8_t GetLimbCount();
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue