Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
rubberduckycooly
GitHub Repository: rubberduckycooly/Sonic-Mania-Decompilation
Path: blob/master/SonicMania/Objects/OOZ/OOZFlames.h
338 views
1
#ifndef OBJ_OOZFLAMES_H
2
#define OBJ_OOZFLAMES_H
3
4
#include "Game.h"
5
6
// Object Class
7
struct ObjectOOZFlames {
8
RSDK_OBJECT
9
uint16 aniFrames;
10
};
11
12
// Entity Class
13
struct EntityOOZFlames {
14
RSDK_ENTITY
15
StateMachine(state);
16
int32 timer;
17
int32 flamePos;
18
Animator animator;
19
};
20
21
// Object Struct
22
extern ObjectOOZFlames *OOZFlames;
23
24
// Standard Entity Events
25
void OOZFlames_Update(void);
26
void OOZFlames_LateUpdate(void);
27
void OOZFlames_StaticUpdate(void);
28
void OOZFlames_Draw(void);
29
void OOZFlames_Create(void *data);
30
void OOZFlames_StageLoad(void);
31
#if GAME_INCLUDE_EDITOR
32
void OOZFlames_EditorDraw(void);
33
void OOZFlames_EditorLoad(void);
34
#endif
35
void OOZFlames_Serialize(void);
36
37
// Extra Entity Functions
38
void OOZFlames_State_Appear(void);
39
void OOZFlames_State_Rise(void);
40
41
#endif //! OBJ_OOZFLAMES_H
42
43