2018-10-07 03:42:33 +00:00
|
|
|
#pragma once
|
2016-04-13 06:07:23 +00:00
|
|
|
|
2019-09-28 02:53:03 +00:00
|
|
|
#include <memory>
|
|
|
|
|
|
|
|
#include "Runtime/CRandom16.hpp"
|
|
|
|
#include "Runtime/CToken.hpp"
|
|
|
|
#include "Runtime/GCNTypes.hpp"
|
2016-04-13 06:07:23 +00:00
|
|
|
|
2018-12-08 05:30:43 +00:00
|
|
|
namespace urde {
|
2016-04-13 06:07:23 +00:00
|
|
|
class CSimplePool;
|
2019-09-28 02:53:03 +00:00
|
|
|
class CTransitionDatabaseGame;
|
2016-04-13 06:07:23 +00:00
|
|
|
|
2018-12-08 05:30:43 +00:00
|
|
|
struct CAnimSysContext {
|
|
|
|
TToken<CTransitionDatabaseGame> x0_transDB;
|
|
|
|
std::shared_ptr<CRandom16> x8_random;
|
|
|
|
CSimplePool& xc_store;
|
2016-04-13 06:07:23 +00:00
|
|
|
|
2020-03-09 15:08:15 +00:00
|
|
|
CAnimSysContext(TToken<CTransitionDatabaseGame> transDB, u32 randomSeed, CSimplePool& store)
|
|
|
|
: x0_transDB(std::move(transDB)), x8_random(std::make_shared<CRandom16>(randomSeed)), xc_store(store) {}
|
2016-04-13 06:07:23 +00:00
|
|
|
};
|
|
|
|
|
2018-12-08 05:30:43 +00:00
|
|
|
} // namespace urde
|