2016-04-13 06:07:23 +00:00
|
|
|
#ifndef __URDE_CMETAANIMSEQUENCE_HPP__
|
|
|
|
#define __URDE_CMETAANIMSEQUENCE_HPP__
|
2016-04-10 21:22:59 +00:00
|
|
|
|
|
|
|
#include "IMetaAnim.hpp"
|
|
|
|
#include "IOStreams.hpp"
|
|
|
|
|
|
|
|
namespace urde
|
|
|
|
{
|
|
|
|
|
|
|
|
class CMetaAnimSequence : public IMetaAnim
|
|
|
|
{
|
2016-04-11 03:59:54 +00:00
|
|
|
std::vector<std::shared_ptr<IMetaAnim>> x4_sequence;
|
|
|
|
std::vector<std::shared_ptr<IMetaAnim>> CreateSequence(CInputStream& in);
|
2016-04-10 21:22:59 +00:00
|
|
|
public:
|
|
|
|
CMetaAnimSequence(CInputStream& in);
|
|
|
|
EMetaAnimType GetType() const {return EMetaAnimType::Sequence;}
|
|
|
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2016-04-13 06:07:23 +00:00
|
|
|
#endif // __URDE_CMETAANIMSEQUENCE_HPP__
|