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

Add CPOINode family of classes

This commit is contained in:
Jack Andersen
2016-04-10 21:10:28 -10:00
parent 8242c3edda
commit 64d85d7427
28 changed files with 351 additions and 14 deletions

View File

@@ -0,0 +1,35 @@
#include "IMetaAnim.hpp"
#include "CCharAnimTime.hpp"
#include "IAnimReader.hpp"
#include "CBoolPOINode.hpp"
namespace urde
{
std::shared_ptr<CAnimTreeNode>
IMetaAnim::GetAnimationTree(const CAnimSysContext& animSys,
const CMetaAnimTreeBuildOrders& orders) const
{
}
void IMetaAnim::AdvanceAnim(IAnimReader& anim, const CCharAnimTime& dt)
{
CCharAnimTime remDt = dt;
while (remDt > CCharAnimTime())
{
SAdvancementResults res = anim.VAdvanceView(remDt);
remDt = res.x0_remTime;
}
}
CCharAnimTime IMetaAnim::GetTime(const CPreAdvanceIndicator& ind, const IAnimReader& anim)
{
if (ind.IsTime())
return ind.GetTime();
CBoolPOINode nodes[64];
}
}