2018-10-07 03:42:33 +00:00
|
|
|
#pragma once
|
2016-04-10 21:22:59 +00:00
|
|
|
|
2022-02-19 13:04:45 +00:00
|
|
|
#include "Runtime/Streams/IOStreams.hpp"
|
2019-09-28 02:53:03 +00:00
|
|
|
#include "Runtime/Character/CCharAnimTime.hpp"
|
|
|
|
#include "Runtime/Character/IMetaTrans.hpp"
|
2016-04-10 21:22:59 +00:00
|
|
|
|
2021-04-10 08:42:06 +00:00
|
|
|
namespace metaforce {
|
2018-12-08 05:30:43 +00:00
|
|
|
|
|
|
|
class CMetaTransTrans : public IMetaTrans {
|
|
|
|
CCharAnimTime x4_transDur;
|
|
|
|
bool xc_;
|
|
|
|
bool xd_runA;
|
|
|
|
u32 x10_flags;
|
2016-04-10 21:22:59 +00:00
|
|
|
|
|
|
|
public:
|
2020-03-31 03:52:22 +00:00
|
|
|
explicit CMetaTransTrans(CInputStream& in);
|
2019-08-09 19:46:49 +00:00
|
|
|
EMetaTransType GetType() const override { return EMetaTransType::Trans; }
|
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,
|
2019-08-09 19:46:49 +00:00
|
|
|
const CAnimSysContext& animSys) const override;
|
2016-04-10 21:22:59 +00:00
|
|
|
};
|
|
|
|
|
2021-04-10 08:42:06 +00:00
|
|
|
} // namespace metaforce
|