mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-08 20:27:43 +00:00
Additional particle implementation
This commit is contained in:
@@ -2,13 +2,35 @@
|
||||
#define __RETRO_CSPAWNSYSTEMKEYFRAMEDATA_HPP__
|
||||
|
||||
#include "IOStreams.hpp"
|
||||
#include "CToken.hpp"
|
||||
|
||||
namespace Retro
|
||||
{
|
||||
class CSimplePool;
|
||||
class CGenDescription;
|
||||
|
||||
class CSpawnSystemKeyframeData
|
||||
{
|
||||
public:
|
||||
class CSpawnSystemKeyframeInfo
|
||||
{
|
||||
friend class CSpawnSystemKeyframeData;
|
||||
u32 x0_id;
|
||||
u32 x4;
|
||||
u32 x8;
|
||||
u32 xc;
|
||||
TToken<CGenDescription> x10_token;
|
||||
bool x18_found = false;
|
||||
void LoadToken(CSimplePool* pool);
|
||||
public:
|
||||
CSpawnSystemKeyframeInfo(CInputStream& in);
|
||||
};
|
||||
private:
|
||||
u32 x0;
|
||||
u32 x4;
|
||||
u32 x8;
|
||||
u32 xc;
|
||||
std::vector<std::pair<u32, std::vector<CSpawnSystemKeyframeInfo>>> x10_spawns;
|
||||
public:
|
||||
CSpawnSystemKeyframeData(CInputStream& in);
|
||||
void LoadAllSpawnedSystemTokens(CSimplePool* pool);
|
||||
|
||||
Reference in New Issue
Block a user