metaforce/Runtime/Character/CMetaTransPhaseTrans.hpp

25 lines
746 B
C++
Raw Normal View History

2018-10-06 20:42:33 -07:00
#pragma once
2016-04-10 14:22:59 -07:00
#include "Runtime/Streams/IOStreams.hpp"
#include "Runtime/Character/CCharAnimTime.hpp"
#include "Runtime/Character/IMetaTrans.hpp"
2016-04-10 14:22:59 -07:00
2021-04-10 01:42:06 -07:00
namespace metaforce {
2018-12-07 21:30:43 -08:00
class CMetaTransPhaseTrans : public IMetaTrans {
CCharAnimTime x4_transDur;
bool xc_;
bool xd_runA;
u32 x10_flags;
2016-04-10 14:22:59 -07:00
public:
explicit CMetaTransPhaseTrans(CInputStream& in);
EMetaTransType GetType() const override { return EMetaTransType::PhaseTrans; }
2016-04-10 14:22:59 -07:00
2018-12-07 21:30:43 -08:00
std::shared_ptr<CAnimTreeNode> VGetTransitionTree(const std::weak_ptr<CAnimTreeNode>& a,
const std::weak_ptr<CAnimTreeNode>& b,
const CAnimSysContext& animSys) const override;
2016-04-10 14:22:59 -07:00
};
2021-04-10 01:42:06 -07:00
} // namespace metaforce