Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
rubberduckycooly
GitHub Repository: rubberduckycooly/Sonic-Mania-Decompilation
Path: blob/master/SonicMania/Objects/FBZ/FoldingPlatform.h
338 views
1
#ifndef OBJ_FOLDINGPLATFORM_H
2
#define OBJ_FOLDINGPLATFORM_H
3
4
#include "Game.h"
5
6
// Object Class
7
struct ObjectFoldingPlatform {
8
RSDK_OBJECT
9
};
10
11
// Entity Class
12
struct EntityFoldingPlatform {
13
MANIA_PLATFORM_BASE
14
15
uint16 interval;
16
uint16 intervalOffset;
17
int16 duration;
18
};
19
20
// Object Struct
21
extern ObjectFoldingPlatform *FoldingPlatform;
22
23
// Standard Entity Events
24
void FoldingPlatform_Update(void);
25
void FoldingPlatform_LateUpdate(void);
26
void FoldingPlatform_StaticUpdate(void);
27
void FoldingPlatform_Draw(void);
28
void FoldingPlatform_Create(void *data);
29
void FoldingPlatform_StageLoad(void);
30
#if GAME_INCLUDE_EDITOR
31
void FoldingPlatform_EditorDraw(void);
32
void FoldingPlatform_EditorLoad(void);
33
#endif
34
void FoldingPlatform_Serialize(void);
35
36
// Extra Entity Functions
37
void FoldingPlatform_State_Appear(void);
38
void FoldingPlatform_State_Disappear(void);
39
40
#endif //! OBJ_FOLDINGPLATFORM_H
41
42