2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-09 17:47:43 +00:00

Fix CAnimSource reader POI handling

This commit is contained in:
Jack Andersen
2018-11-20 14:51:15 -10:00
parent 925464dd56
commit e736d8fa83
5 changed files with 31 additions and 32 deletions

View File

@@ -27,13 +27,13 @@ protected:
EPOIType x18_type;
CCharAnimTime x1c_time;
s32 x24_index;
bool x28_;
bool x28_unique;
float x2c_weight;
s32 x30_charIdx = -1;
s32 x34_flags;
public:
CPOINode(std::string_view name, EPOIType type, const CCharAnimTime& time,
s32 index, bool, float weight, s32 charIdx, s32 flags);
s32 index, bool unique, float weight, s32 charIdx, s32 flags);
CPOINode(CInputStream& in);
virtual ~CPOINode() = default;
@@ -42,6 +42,7 @@ public:
void SetTime(const CCharAnimTime& time) { x1c_time = time; }
EPOIType GetPoiType() const { return x18_type; }
s32 GetIndex() const { return x24_index; }
bool GetUnique() const { return x28_unique; }
float GetWeight() const { return x2c_weight; }
s32 GetCharacterIndex() const { return x30_charIdx; }
s32 GetFlags() const { return x34_flags; }