metaforce/Runtime/Character/CMetaAnimPlay.hpp

30 lines
864 B
C++
Raw Normal View History

2016-04-10 21:22:59 +00:00
#ifndef __PSHAG_CMETAANIMPLAY_HPP__
#define __PSHAG_CMETAANIMPLAY_HPP__
#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;
float x1c_;
u32 x20_;
2016-04-10 21:22:59 +00:00
public:
CMetaAnimPlay(CInputStream& in);
EMetaAnimType GetType() const {return EMetaAnimType::Primitive;}
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_CMETAANIMPLAY_HPP__