2018-10-07 03:42:33 +00:00
|
|
|
#pragma once
|
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
|
|
|
|
2018-12-08 05:30:43 +00:00
|
|
|
namespace urde {
|
|
|
|
|
|
|
|
class CMetaTransPhaseTrans : public IMetaTrans {
|
|
|
|
CCharAnimTime x4_transDur;
|
|
|
|
bool xc_;
|
|
|
|
bool xd_runA;
|
|
|
|
u32 x10_flags;
|
2016-04-10 21:22:59 +00:00
|
|
|
|
|
|
|
public:
|
2018-12-08 05:30:43 +00:00
|
|
|
CMetaTransPhaseTrans(CInputStream& in);
|
|
|
|
EMetaTransType GetType() const { return EMetaTransType::PhaseTrans; }
|
2016-04-10 21:22:59 +00:00
|
|
|
|
2018-12-08 05:30:43 +00:00
|
|
|
std::shared_ptr<CAnimTreeNode> VGetTransitionTree(const std::weak_ptr<CAnimTreeNode>& a,
|
|
|
|
const std::weak_ptr<CAnimTreeNode>& b,
|
|
|
|
const CAnimSysContext& animSys) const;
|
2016-04-10 21:22:59 +00:00
|
|
|
};
|
|
|
|
|
2018-12-08 05:30:43 +00:00
|
|
|
} // namespace urde
|