Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
rubberduckycooly
GitHub Repository: rubberduckycooly/Sonic-Mania-Decompilation
Path: blob/master/SonicMania/Objects/Helpers/ParticleHelpers.h
338 views
1
#ifndef OBJ_PARTICLEHELPERS_H
2
#define OBJ_PARTICLEHELPERS_H
3
4
#include "Game.h"
5
6
// Object Class
7
struct ObjectParticleHelpers {
8
RSDK_OBJECT
9
};
10
11
// Entity Class
12
struct EntityParticleHelpers {
13
RSDK_ENTITY
14
};
15
16
// Object Entity
17
extern ObjectParticleHelpers *ParticleHelpers;
18
19
// Standard Entity Events
20
void ParticleHelpers_Update(void);
21
void ParticleHelpers_LateUpdate(void);
22
void ParticleHelpers_StaticUpdate(void);
23
void ParticleHelpers_Draw(void);
24
void ParticleHelpers_Create(void *data);
25
void ParticleHelpers_StageLoad(void);
26
#if GAME_INCLUDE_EDITOR
27
void ParticleHelpers_EditorDraw(void);
28
void ParticleHelpers_EditorLoad(void);
29
#endif
30
void ParticleHelpers_Serialize(void);
31
32
// Extra Entity Functions
33
void ParticleHelpers_SetupFallingParticles(int32 x, int32 y, void (*callback)(EntityDebris *));
34
void ParticleHelpers_SetupParticleFX(void *debrisState, void (*callback)(EntityDebris *), int32 speed, int32 xOffset, int32 yOffset, int32 maxX,
35
int32 maxY);
36
37
#endif //! OBJ_PARTICLEHELPERS_H
38
39