2018-10-07 03:42:33 +00:00
|
|
|
#pragma once
|
2016-04-10 21:22:59 +00:00
|
|
|
|
|
|
|
#include "IMetaAnim.hpp"
|
2016-04-11 03:59:54 +00:00
|
|
|
#include "CPrimitive.hpp"
|
2016-04-10 21:22:59 +00:00
|
|
|
#include "IOStreams.hpp"
|
|
|
|
|
|
|
|
namespace urde
|
|
|
|
{
|
|
|
|
|
|
|
|
class CMetaAnimPlay : public IMetaAnim
|
|
|
|
{
|
2016-04-11 03:59:54 +00:00
|
|
|
CPrimitive x4_primitive;
|
2016-08-27 04:54:53 +00:00
|
|
|
CCharAnimTime x1c_startTime;
|
2016-04-10 21:22:59 +00:00
|
|
|
public:
|
|
|
|
CMetaAnimPlay(CInputStream& in);
|
2016-09-10 04:50:00 +00:00
|
|
|
EMetaAnimType GetType() const {return EMetaAnimType::Play;}
|
2016-04-10 21:22:59 +00:00
|
|
|
|
|
|
|
void GetUniquePrimitives(std::set<CPrimitive>& primsOut) const;
|
|
|
|
std::shared_ptr<CAnimTreeNode> VGetAnimationTree(const CAnimSysContext& animSys,
|
|
|
|
const CMetaAnimTreeBuildOrders& orders) const;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
|