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

Work on character animation

This commit is contained in:
Jack Andersen
2016-08-21 10:39:18 -10:00
parent d125b4769e
commit 670eb998d4
35 changed files with 460 additions and 102 deletions

View File

@@ -3,29 +3,29 @@
namespace urde
{
CPOINode::CPOINode(const std::string& name, u16 a, const CCharAnimTime& time,
CPOINode::CPOINode(const std::string& name, EPOIType type, const CCharAnimTime& time,
u32 index, bool c, float weight, u32 e, u32 f)
: x4_(1),
x8_name(name),
x18_(a),
x18_type(type),
x1c_time(time),
x24_index(index),
x28_(c),
x2c_weight(weight),
x30_(e),
x34_(f)
x30_charIdx(e),
x34_flags(f)
{}
CPOINode::CPOINode(CInputStream& in)
: x4_(in.readUint16Big()),
x8_name(in.readString()),
x18_(in.readUint16Big()),
x18_type(EPOIType(in.readUint16Big())),
x1c_time(in),
x24_index(in.readUint32Big()),
x28_(in.readBool()),
x2c_weight(in.readFloatBig()),
x30_(in.readUint32Big()),
x34_(in.readUint32Big())
x30_charIdx(in.readUint32Big()),
x34_flags(in.readUint32Big())
{}
}