2016-04-10 21:22:59 +00:00
|
|
|
#include "CMetaAnimBlend.hpp"
|
2016-04-11 03:59:54 +00:00
|
|
|
#include "CMetaAnimFactory.hpp"
|
2016-04-10 21:22:59 +00:00
|
|
|
|
2018-12-08 05:30:43 +00:00
|
|
|
namespace urde {
|
2016-04-10 21:22:59 +00:00
|
|
|
|
2018-12-08 05:30:43 +00:00
|
|
|
CMetaAnimBlend::CMetaAnimBlend(CInputStream& in) {
|
|
|
|
x4_animA = CMetaAnimFactory::CreateMetaAnim(in);
|
|
|
|
x8_animB = CMetaAnimFactory::CreateMetaAnim(in);
|
|
|
|
xc_blend = in.readFloatBig();
|
|
|
|
x10_ = in.readBool();
|
2016-04-10 21:22:59 +00:00
|
|
|
}
|
|
|
|
|
2018-12-08 05:30:43 +00:00
|
|
|
void CMetaAnimBlend::GetUniquePrimitives(std::set<CPrimitive>& primsOut) const {
|
|
|
|
x4_animA->GetUniquePrimitives(primsOut);
|
|
|
|
x4_animA->GetUniquePrimitives(primsOut);
|
2016-04-10 21:22:59 +00:00
|
|
|
}
|
|
|
|
|
2018-12-08 05:30:43 +00:00
|
|
|
std::shared_ptr<CAnimTreeNode> CMetaAnimBlend::VGetAnimationTree(const CAnimSysContext& animSys,
|
|
|
|
const CMetaAnimTreeBuildOrders& orders) const {
|
|
|
|
// CMetaAnimTreeBuildOrders buildOrders = CMetaAnimTreeBuildOrders::NoSpecialOrders();
|
|
|
|
return {};
|
2016-04-10 21:22:59 +00:00
|
|
|
}
|
|
|
|
|
2018-12-08 05:30:43 +00:00
|
|
|
} // namespace urde
|