2018-10-07 03:42:33 +00:00
|
|
|
#pragma once
|
2016-04-10 21:22:59 +00:00
|
|
|
|
|
|
|
#include "IMetaTrans.hpp"
|
2016-04-11 03:59:54 +00:00
|
|
|
#include "IMetaAnim.hpp"
|
2016-04-10 21:22:59 +00:00
|
|
|
#include "IOStreams.hpp"
|
|
|
|
|
|
|
|
namespace urde
|
|
|
|
{
|
|
|
|
|
|
|
|
class CMetaTransMetaAnim : public IMetaTrans
|
|
|
|
{
|
2016-04-11 03:59:54 +00:00
|
|
|
std::shared_ptr<IMetaAnim> x4_metaAnim;
|
2016-04-10 21:22:59 +00:00
|
|
|
public:
|
|
|
|
CMetaTransMetaAnim(CInputStream& in);
|
|
|
|
EMetaTransType GetType() const {return EMetaTransType::MetaAnim;}
|
|
|
|
|
|
|
|
std::shared_ptr<CAnimTreeNode> VGetTransitionTree(const std::weak_ptr<CAnimTreeNode>& a,
|
|
|
|
const std::weak_ptr<CAnimTreeNode>& b,
|
|
|
|
const CAnimSysContext& animSys) const;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
|