2
0
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:
Jack Andersen
2016-02-10 20:58:33 -10:00
parent 10296ef68f
commit b53b143868
4 changed files with 117 additions and 0 deletions

View File

@@ -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);