2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-10 18:27:41 +00:00

Several CAnimData integrations

This commit is contained in:
Jack Andersen
2016-09-03 16:27:35 -10:00
parent c29013ba89
commit a349076740
37 changed files with 721 additions and 174 deletions

View File

@@ -37,9 +37,10 @@ void CCharLayoutNode::Bone::read(CInputStream& in)
}
CCharLayoutNode::CCharLayoutNode(CInputStream& in)
: x0_boneMap(in.readUint32Big())
{
u32 count = in.readUint32Big();
for (u32 i=0 ; i<count ; ++i)
u32 cap = x0_boneMap.GetCapacity();
for (u32 i=0 ; i<cap ; ++i)
{
u32 thisId = in.readUint32Big();
Bone& bone = x0_boneMap[thisId];