Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
rubberduckycooly
GitHub Repository: rubberduckycooly/Sonic-Mania-Decompilation
Path: blob/master/SonicMania/Objects/CPZ/CPZShutter.h
338 views
1
#ifndef OBJ_CPZSHUTTER_H
2
#define OBJ_CPZSHUTTER_H
3
4
#include "Game.h"
5
6
// Object Class
7
struct ObjectCPZShutter {
8
RSDK_OBJECT
9
uint16 aniFrames;
10
};
11
12
// Entity Class
13
struct EntityCPZShutter {
14
RSDK_ENTITY
15
StateMachine(state);
16
int32 timer;
17
int32 unused1;
18
int32 unused2;
19
Animator animator;
20
};
21
22
// Object Struct
23
extern ObjectCPZShutter *CPZShutter;
24
25
// Standard Entity Events
26
void CPZShutter_Update(void);
27
void CPZShutter_LateUpdate(void);
28
void CPZShutter_StaticUpdate(void);
29
void CPZShutter_Draw(void);
30
void CPZShutter_Create(void *data);
31
void CPZShutter_StageLoad(void);
32
#if GAME_INCLUDE_EDITOR
33
void CPZShutter_EditorDraw(void);
34
void CPZShutter_EditorLoad(void);
35
#endif
36
void CPZShutter_Serialize(void);
37
38
// Extra Entity Functions
39
void CPZShutter_State_Open(void);
40
void CPZShutter_State_Close(void);
41
42
#endif //! OBJ_CPZSHUTTER_H
43
44