Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
rubberduckycooly
GitHub Repository: rubberduckycooly/Sonic-Mania-Decompilation
Path: blob/master/SonicMania/Objects/Cutscene/FXExpandRing.h
338 views
1
#ifndef OBJ_FXEXPANDRING_H
2
#define OBJ_FXEXPANDRING_H
3
4
#include "Game.h"
5
6
// Object Class
7
struct ObjectFXExpandRing {
8
RSDK_OBJECT
9
};
10
11
// Entity Class
12
struct EntityFXExpandRing {
13
RSDK_ENTITY
14
StateMachine(state);
15
int32 timer;
16
int32 expandSpeed;
17
int32 color;
18
int32 expandMax;
19
int32 innerRadius;
20
int32 outerRadius;
21
Entity *parent;
22
Vector2 posOffset;
23
};
24
25
// Object Struct
26
extern ObjectFXExpandRing *FXExpandRing;
27
28
// Standard Entity Events
29
void FXExpandRing_Update(void);
30
void FXExpandRing_LateUpdate(void);
31
void FXExpandRing_StaticUpdate(void);
32
void FXExpandRing_Draw(void);
33
void FXExpandRing_Create(void *data);
34
void FXExpandRing_StageLoad(void);
35
#if GAME_INCLUDE_EDITOR
36
void FXExpandRing_EditorDraw(void);
37
void FXExpandRing_EditorLoad(void);
38
#endif
39
void FXExpandRing_Serialize(void);
40
41
// Extra Entity Functions
42
void FXExpandRing_State_FadeIn(void);
43
void FXExpandRing_State_Expand(void);
44
void FXExpandRing_State_FadeOut(void);
45
46
#endif //! OBJ_FXEXPANDRING_H
47
48