metaforce/Runtime/Character/CAnimSysContext.hpp

26 lines
514 B
C++
Raw Normal View History

2018-10-07 03:42:33 +00:00
#pragma once
2016-04-13 06:07:23 +00:00
#include "CToken.hpp"
#include "CRandom16.hpp"
namespace urde
{
class CTransitionDatabaseGame;
class CSimplePool;
struct CAnimSysContext
{
TToken<CTransitionDatabaseGame> x0_transDB;
std::shared_ptr<CRandom16> x8_random;
CSimplePool& xc_store;
CAnimSysContext(const TToken<CTransitionDatabaseGame>& transDB,
u32 randomSeed, CSimplePool& store)
: x0_transDB(transDB),
x8_random(std::make_shared<CRandom16>(randomSeed)),
xc_store(store) {}
};
}