Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
rubberduckycooly
GitHub Repository: rubberduckycooly/Sonic-Mania-Decompilation
Path: blob/master/SonicMania/Objects/SSZ/MSPanel.h
338 views
1
#ifndef OBJ_MSPANEL_H
2
#define OBJ_MSPANEL_H
3
4
#include "Game.h"
5
6
// Object Class
7
struct ObjectMSPanel {
8
RSDK_OBJECT
9
uint16 aniFrames;
10
};
11
12
// Entity Class
13
struct EntityMSPanel {
14
RSDK_ENTITY
15
StateMachine(state);
16
Animator panelAnimator;
17
Animator cablesAnimator;
18
};
19
20
// Object Struct
21
extern ObjectMSPanel *MSPanel;
22
23
// Standard Entity Events
24
void MSPanel_Update(void);
25
void MSPanel_LateUpdate(void);
26
void MSPanel_StaticUpdate(void);
27
void MSPanel_Draw(void);
28
void MSPanel_Create(void *data);
29
void MSPanel_StageLoad(void);
30
#if GAME_INCLUDE_EDITOR
31
void MSPanel_EditorDraw(void);
32
void MSPanel_EditorLoad(void);
33
#endif
34
void MSPanel_Serialize(void);
35
36
// Extra Entity Functions
37
void MSPanel_State_SetupPanel(void);
38
void MSPanel_State_Active(void);
39
void MSPanel_State_Explode(void);
40
void MSPanel_State_Rumbling(void);
41
42
#endif //! OBJ_MSPANEL_H
43
44