mirror of https://github.com/AxioDL/metaforce.git
27 lines
681 B
C++
27 lines
681 B
C++
#ifndef __URDE_CMETAANIMPLAY_HPP__
|
|
#define __URDE_CMETAANIMPLAY_HPP__
|
|
|
|
#include "IMetaAnim.hpp"
|
|
#include "CPrimitive.hpp"
|
|
#include "IOStreams.hpp"
|
|
|
|
namespace urde
|
|
{
|
|
|
|
class CMetaAnimPlay : public IMetaAnim
|
|
{
|
|
CPrimitive x4_primitive;
|
|
CCharAnimTime x1c_startTime;
|
|
public:
|
|
CMetaAnimPlay(CInputStream& in);
|
|
EMetaAnimType GetType() const {return EMetaAnimType::Primitive;}
|
|
|
|
void GetUniquePrimitives(std::set<CPrimitive>& primsOut) const;
|
|
std::shared_ptr<CAnimTreeNode> VGetAnimationTree(const CAnimSysContext& animSys,
|
|
const CMetaAnimTreeBuildOrders& orders) const;
|
|
};
|
|
|
|
}
|
|
|
|
#endif // __URDE_CMETAANIMPLAY_HPP__
|