2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-09 02:27:43 +00:00

Character factory support classes

This commit is contained in:
Jack Andersen
2016-04-12 20:07:23 -10:00
parent 1d2c2bf31f
commit 5de5c3d85f
186 changed files with 898 additions and 553 deletions

View File

@@ -0,0 +1,27 @@
#ifndef __URDE_CANIMSYSCONTEXT_HPP__
#define __URDE_CANIMSYSCONTEXT_HPP__
#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) {}
};
}
#endif // __URDE_CANIMSYSCONTEXT_HPP__