mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 00:27:42 +00:00
New code style refactor
This commit is contained in:
@@ -1,22 +1,20 @@
|
||||
#include "CMetaTransTrans.hpp"
|
||||
#include "CAnimTreeTransition.hpp"
|
||||
|
||||
namespace urde
|
||||
{
|
||||
namespace urde {
|
||||
|
||||
CMetaTransTrans::CMetaTransTrans(CInputStream& in)
|
||||
{
|
||||
x4_transDur = CCharAnimTime(in);
|
||||
xc_ = in.readBool();
|
||||
xd_runA = in.readBool();
|
||||
x10_flags = in.readUint32Big();
|
||||
CMetaTransTrans::CMetaTransTrans(CInputStream& in) {
|
||||
x4_transDur = CCharAnimTime(in);
|
||||
xc_ = in.readBool();
|
||||
xd_runA = in.readBool();
|
||||
x10_flags = in.readUint32Big();
|
||||
}
|
||||
|
||||
std::shared_ptr<CAnimTreeNode> CMetaTransTrans::VGetTransitionTree(const std::weak_ptr<CAnimTreeNode>& a,
|
||||
const std::weak_ptr<CAnimTreeNode>& b,
|
||||
const CAnimSysContext& animSys) const
|
||||
{
|
||||
return std::make_shared<CAnimTreeTransition>(xc_, a, b, x4_transDur, xd_runA, x10_flags,
|
||||
CAnimTreeTransition::CreatePrimitiveName(a, b, x4_transDur.GetSeconds()));
|
||||
}
|
||||
const CAnimSysContext& animSys) const {
|
||||
return std::make_shared<CAnimTreeTransition>(
|
||||
xc_, a, b, x4_transDur, xd_runA, x10_flags,
|
||||
CAnimTreeTransition::CreatePrimitiveName(a, b, x4_transDur.GetSeconds()));
|
||||
}
|
||||
} // namespace urde
|
||||
|
||||
Reference in New Issue
Block a user