2018-10-07 03:42:33 +00:00
|
|
|
#pragma once
|
2016-04-13 06:07:23 +00:00
|
|
|
|
|
|
|
#include "CToken.hpp"
|
|
|
|
#include "CAnimSysContext.hpp"
|
2016-04-12 22:28:08 +00:00
|
|
|
|
|
|
|
namespace urde
|
|
|
|
{
|
2016-04-13 06:07:23 +00:00
|
|
|
class CAnimationDatabaseGame;
|
|
|
|
class CTransitionDatabaseGame;
|
|
|
|
class CSimplePool;
|
2016-09-04 02:27:35 +00:00
|
|
|
class CAnimTreeNode;
|
2016-09-11 01:25:59 +00:00
|
|
|
struct CMetaAnimTreeBuildOrders;
|
2016-09-04 02:27:35 +00:00
|
|
|
class IMetaAnim;
|
2016-04-12 22:28:08 +00:00
|
|
|
|
|
|
|
class CAnimationManager
|
|
|
|
{
|
2016-04-13 06:07:23 +00:00
|
|
|
TToken<CAnimationDatabaseGame> x0_animDB;
|
|
|
|
CAnimSysContext x8_sysCtx;
|
|
|
|
public:
|
|
|
|
CAnimationManager(const TToken<CAnimationDatabaseGame>& animDB,
|
|
|
|
const CAnimSysContext& sysCtx)
|
|
|
|
: x0_animDB(animDB), x8_sysCtx(sysCtx) {}
|
|
|
|
|
2016-05-21 03:02:09 +00:00
|
|
|
const CAnimationDatabaseGame* GetAnimationDatabase() const;
|
2016-09-04 02:27:35 +00:00
|
|
|
std::shared_ptr<CAnimTreeNode> GetAnimationTree(u32, const CMetaAnimTreeBuildOrders& orders) const;
|
|
|
|
const std::shared_ptr<IMetaAnim>& GetMetaAnimation(u32) const;
|
2016-04-12 22:28:08 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
|