mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 04:27:42 +00:00
New code style refactor
This commit is contained in:
@@ -3,23 +3,17 @@
|
||||
#include "CToken.hpp"
|
||||
#include "CRandom16.hpp"
|
||||
|
||||
namespace urde
|
||||
{
|
||||
namespace urde {
|
||||
class CTransitionDatabaseGame;
|
||||
class CSimplePool;
|
||||
|
||||
struct CAnimSysContext
|
||||
{
|
||||
TToken<CTransitionDatabaseGame> x0_transDB;
|
||||
std::shared_ptr<CRandom16> x8_random;
|
||||
CSimplePool& xc_store;
|
||||
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) {}
|
||||
CAnimSysContext(const TToken<CTransitionDatabaseGame>& transDB, u32 randomSeed, CSimplePool& store)
|
||||
: x0_transDB(transDB), x8_random(std::make_shared<CRandom16>(randomSeed)), xc_store(store) {}
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
} // namespace urde
|
||||
|
||||
Reference in New Issue
Block a user