metaforce/Runtime/Character/CMetaAnimPlay.hpp

23 lines
615 B
C++
Raw Normal View History

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"
2018-12-08 05:30:43 +00:00
namespace urde {
class CMetaAnimPlay : public IMetaAnim {
CPrimitive x4_primitive;
CCharAnimTime x1c_startTime;
2016-04-10 21:22:59 +00:00
public:
2018-12-08 05:30:43 +00:00
CMetaAnimPlay(CInputStream& in);
EMetaAnimType GetType() const override { return EMetaAnimType::Play; }
2016-04-10 21:22:59 +00:00
void GetUniquePrimitives(std::set<CPrimitive>& primsOut) const override;
2018-12-08 05:30:43 +00:00
std::shared_ptr<CAnimTreeNode> VGetAnimationTree(const CAnimSysContext& animSys,
const CMetaAnimTreeBuildOrders& orders) const override;
2016-04-10 21:22:59 +00:00
};
2018-12-08 05:30:43 +00:00
} // namespace urde