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

Added binarySize method to DNA implementations

This commit is contained in:
Jack Andersen
2015-10-17 18:08:45 -10:00
parent 6bd5c42a9e
commit 9529fad78f
21 changed files with 668 additions and 15 deletions

View File

@@ -132,6 +132,13 @@ struct ANIM : BigDNA
writer.writeUByte(qTZ);
}
}
size_t binarySize(size_t __isz) const
{
__isz += 17;
if (keyCount2)
__isz += 9;
return __isz;
}
};
};
@@ -161,6 +168,11 @@ struct ANIM : BigDNA
m_anim->write(writer);
}
size_t binarySize(size_t __isz) const
{
return m_anim->binarySize(__isz + 4);
}
void sendANIMToBlender(HECL::BlenderConnection::PyOutStream& os, const CINF& cinf, bool) const
{
m_anim->sendANIMToBlender(os, cinf);