mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-08 22:27:43 +00:00
New code style refactor
This commit is contained in:
@@ -3,8 +3,7 @@
|
||||
#include "CToken.hpp"
|
||||
#include "CAnimSysContext.hpp"
|
||||
|
||||
namespace urde
|
||||
{
|
||||
namespace urde {
|
||||
class CAnimationDatabaseGame;
|
||||
class CTransitionDatabaseGame;
|
||||
class CSimplePool;
|
||||
@@ -12,19 +11,17 @@ class CAnimTreeNode;
|
||||
struct CMetaAnimTreeBuildOrders;
|
||||
class IMetaAnim;
|
||||
|
||||
class CAnimationManager
|
||||
{
|
||||
TToken<CAnimationDatabaseGame> x0_animDB;
|
||||
CAnimSysContext x8_sysCtx;
|
||||
public:
|
||||
CAnimationManager(const TToken<CAnimationDatabaseGame>& animDB,
|
||||
const CAnimSysContext& sysCtx)
|
||||
: x0_animDB(animDB), x8_sysCtx(sysCtx) {}
|
||||
class CAnimationManager {
|
||||
TToken<CAnimationDatabaseGame> x0_animDB;
|
||||
CAnimSysContext x8_sysCtx;
|
||||
|
||||
const CAnimationDatabaseGame* GetAnimationDatabase() const;
|
||||
std::shared_ptr<CAnimTreeNode> GetAnimationTree(u32, const CMetaAnimTreeBuildOrders& orders) const;
|
||||
const std::shared_ptr<IMetaAnim>& GetMetaAnimation(u32) const;
|
||||
public:
|
||||
CAnimationManager(const TToken<CAnimationDatabaseGame>& animDB, const CAnimSysContext& sysCtx)
|
||||
: x0_animDB(animDB), x8_sysCtx(sysCtx) {}
|
||||
|
||||
const CAnimationDatabaseGame* GetAnimationDatabase() const;
|
||||
std::shared_ptr<CAnimTreeNode> GetAnimationTree(u32, const CMetaAnimTreeBuildOrders& orders) const;
|
||||
const std::shared_ptr<IMetaAnim>& GetMetaAnimation(u32) const;
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
} // namespace urde
|
||||
|
||||
Reference in New Issue
Block a user