mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 03:07:41 +00:00
New code style refactor
This commit is contained in:
@@ -3,24 +3,18 @@
|
||||
#include "CTransitionDatabaseGame.hpp"
|
||||
#include "IMetaAnim.hpp"
|
||||
|
||||
namespace urde
|
||||
{
|
||||
namespace urde {
|
||||
|
||||
const CAnimationDatabaseGame* CAnimationManager::GetAnimationDatabase() const
|
||||
{
|
||||
return x0_animDB.GetObj();
|
||||
const CAnimationDatabaseGame* CAnimationManager::GetAnimationDatabase() const { return x0_animDB.GetObj(); }
|
||||
|
||||
std::shared_ptr<CAnimTreeNode> CAnimationManager::GetAnimationTree(u32 animIdx,
|
||||
const CMetaAnimTreeBuildOrders& orders) const {
|
||||
const std::shared_ptr<IMetaAnim>& anim = x0_animDB->GetMetaAnim(animIdx);
|
||||
return anim->GetAnimationTree(x8_sysCtx, orders);
|
||||
}
|
||||
|
||||
std::shared_ptr<CAnimTreeNode>
|
||||
CAnimationManager::GetAnimationTree(u32 animIdx, const CMetaAnimTreeBuildOrders& orders) const
|
||||
{
|
||||
const std::shared_ptr<IMetaAnim>& anim = x0_animDB->GetMetaAnim(animIdx);
|
||||
return anim->GetAnimationTree(x8_sysCtx, orders);
|
||||
const std::shared_ptr<IMetaAnim>& CAnimationManager::GetMetaAnimation(u32 idx) const {
|
||||
return x0_animDB->GetMetaAnim(idx);
|
||||
}
|
||||
|
||||
const std::shared_ptr<IMetaAnim>& CAnimationManager::GetMetaAnimation(u32 idx) const
|
||||
{
|
||||
return x0_animDB->GetMetaAnim(idx);
|
||||
}
|
||||
|
||||
}
|
||||
} // namespace urde
|
||||
|
||||
Reference in New Issue
Block a user