Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
rubberduckycooly
GitHub Repository: rubberduckycooly/Sonic-Mania-Decompilation
Path: blob/master/SonicMania/Objects/MMZ/VanishPlatform.h
338 views
1
#ifndef OBJ_VANISHPLATFORM_H
2
#define OBJ_VANISHPLATFORM_H
3
4
#include "Game.h"
5
6
// Object Class
7
struct ObjectVanishPlatform {
8
RSDK_OBJECT
9
};
10
11
// Entity Class
12
struct EntityVanishPlatform {
13
MANIA_PLATFORM_BASE
14
uint16 interval;
15
uint16 intervalOffset;
16
uint16 duration;
17
};
18
19
// Object Struct
20
extern ObjectVanishPlatform *VanishPlatform;
21
22
// Standard Entity Events
23
void VanishPlatform_Update(void);
24
void VanishPlatform_LateUpdate(void);
25
void VanishPlatform_StaticUpdate(void);
26
void VanishPlatform_Draw(void);
27
void VanishPlatform_Create(void *data);
28
void VanishPlatform_StageLoad(void);
29
#if GAME_INCLUDE_EDITOR
30
void VanishPlatform_EditorDraw(void);
31
void VanishPlatform_EditorLoad(void);
32
#endif
33
void VanishPlatform_Serialize(void);
34
35
// Extra Entity Functions
36
void VanishPlatform_State_Appear(void);
37
void VanishPlatform_State_Disappear(void);
38
39
#endif //! OBJ_VANISHPLATFORM_H
40
41