pikmin2/include/TParticle2dMgr.h
2023-01-26 12:54:54 +11:00

52 lines
1.3 KiB
C

#ifndef _TPARTICLE2DMGR_H
#define _TPARTICLE2DMGR_H
#include "types.h"
#include "CNode.h"
#include "JSystem/JKernel/JKRDisposer.h"
#include "Vector2.h"
struct JPABaseEmitter;
struct JPAEmitterManager;
struct JPAResourceManager;
struct JKRSolidHeap;
struct TParticle2dMgr : public CNode, JKRDisposer {
TParticle2dMgr();
virtual ~TParticle2dMgr(); // _08 (weak)
static void globalInstance();
static TParticle2dMgr* Instance();
static void deleteInstance();
void clearSceneEmitterAndResourceManager();
void clearSceneResourceManager();
JPABaseEmitter* create(u16, Vector2f&, u8, u8);
void createHeap(u32);
void createMgr(char*, u32, u32, u32);
void draw(u8, u16);
void fade(JPABaseEmitter*);
void kill(JPABaseEmitter*);
void killAll();
void killGroup(u8);
void setSceneEmitterAndResourceManager(JPAEmitterManager*, JPAResourceManager*);
void setSceneResourceManager(JPAResourceManager*);
void update();
// _00 = VTBL
// _00-_18 = CNode
// _18-_30 = JKRDisposer
JPAEmitterManager* _30; // _30
JPAResourceManager* mResourceManager; // _34
JKRSolidHeap* mSolidHeap; // _38
JPAEmitterManager* _3C; // _3C
u8 _40[4]; // _40
static TParticle2dMgr* _instance;
};
extern TParticle2dMgr* particle2dMgr;
#endif