2016-04-13 06:07:23 +00:00
|
|
|
#ifndef __URDE_CMETATRANSPHASETRANS_HPP__
|
|
|
|
#define __URDE_CMETATRANSPHASETRANS_HPP__
|
2016-04-10 21:22:59 +00:00
|
|
|
|
|
|
|
#include "IMetaTrans.hpp"
|
|
|
|
#include "IOStreams.hpp"
|
2018-01-30 01:04:01 +00:00
|
|
|
#include "CCharAnimTime.hpp"
|
2016-04-10 21:22:59 +00:00
|
|
|
|
|
|
|
namespace urde
|
|
|
|
{
|
|
|
|
|
|
|
|
class CMetaTransPhaseTrans : public IMetaTrans
|
|
|
|
{
|
2018-01-30 01:04:01 +00:00
|
|
|
CCharAnimTime x4_transDur;
|
2016-04-11 03:59:54 +00:00
|
|
|
bool xc_;
|
2018-01-30 01:04:01 +00:00
|
|
|
bool xd_runA;
|
|
|
|
u32 x10_flags;
|
2016-04-10 21:22:59 +00:00
|
|
|
public:
|
|
|
|
CMetaTransPhaseTrans(CInputStream& in);
|
|
|
|
EMetaTransType GetType() const {return EMetaTransType::PhaseTrans;}
|
|
|
|
|
|
|
|
std::shared_ptr<CAnimTreeNode> VGetTransitionTree(const std::weak_ptr<CAnimTreeNode>& a,
|
|
|
|
const std::weak_ptr<CAnimTreeNode>& b,
|
|
|
|
const CAnimSysContext& animSys) const;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2016-04-13 06:07:23 +00:00
|
|
|
#endif // __URDE_CMETATRANSPHASETRANS_HPP__
|