2016-04-10 21:22:59 +00:00
|
|
|
#ifndef __PSHAG_CMETAANIMBLEND_HPP__
|
|
|
|
#define __PSHAG_CMETAANIMBLEND_HPP__
|
|
|
|
|
|
|
|
#include "IMetaAnim.hpp"
|
|
|
|
#include "IOStreams.hpp"
|
|
|
|
|
|
|
|
namespace urde
|
|
|
|
{
|
|
|
|
|
|
|
|
class CMetaAnimBlend : public IMetaAnim
|
|
|
|
{
|
2016-04-11 03:59:54 +00:00
|
|
|
std::shared_ptr<IMetaAnim> x4_animA;
|
|
|
|
std::shared_ptr<IMetaAnim> x8_animB;
|
|
|
|
float xc_blend;
|
|
|
|
bool x10_;
|
2016-04-10 21:22:59 +00:00
|
|
|
public:
|
|
|
|
CMetaAnimBlend(CInputStream& in);
|
|
|
|
EMetaAnimType GetType() const {return EMetaAnimType::Blend;}
|
|
|
|
|
|
|
|
std::shared_ptr<CAnimTreeNode> GetAnimationTree(const CAnimSysContext& animSys,
|
|
|
|
const CMetaAnimTreeBuildOrders& orders) const;
|
|
|
|
void GetUniquePrimitives(std::set<CPrimitive>& primsOut) const;
|
|
|
|
std::shared_ptr<CAnimTreeNode> VGetAnimationTree(const CAnimSysContext& animSys,
|
|
|
|
const CMetaAnimTreeBuildOrders& orders) const;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif // __PSHAG_CMETAANIMBLEND_HPP__
|