mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2024-11-02 08:35:08 -04:00
d24c8453db
subrepo: subdir: "libultraship" merged: "a484cda98" upstream: origin: "https://github.com/HarbourMasters/libultraship.git" branch: "main" commit: "a484cda98" git-subrepo: version: "0.4.1" origin: "???" commit: "???"
31 lines
459 B
C++
31 lines
459 B
C++
#pragma once
|
|
|
|
#include "Resource.h"
|
|
#include "SkeletonLimb.h"
|
|
|
|
namespace Ship
|
|
{
|
|
enum class SkeletonType
|
|
{
|
|
Normal,
|
|
Flex,
|
|
Curve,
|
|
};
|
|
|
|
class SkeletonV0 : public ResourceFile
|
|
{
|
|
public:
|
|
void ParseFileBinary(BinaryReader* reader, Resource* res) override;
|
|
};
|
|
|
|
class Skeleton : public Resource
|
|
{
|
|
public:
|
|
SkeletonType type;
|
|
LimbType limbType;
|
|
int limbCount;
|
|
int dListCount;
|
|
LimbType limbTableType;
|
|
std::vector<std::string> limbTable;
|
|
};
|
|
} |