Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
rubberduckycooly
GitHub Repository: rubberduckycooly/Sonic-Mania-Decompilation
Path: blob/master/SonicMania/Objects/FBZ/MagPlatform.h
338 views
1
#ifndef OBJ_MAGPLATFORM_H
2
#define OBJ_MAGPLATFORM_H
3
4
#include "Game.h"
5
6
// Object Class
7
struct ObjectMagPlatform {
8
RSDK_OBJECT
9
uint16 sfxChain;
10
};
11
12
// Entity Class
13
struct EntityMagPlatform {
14
MANIA_PLATFORM_BASE
15
16
int32 length;
17
};
18
19
// Object Struct
20
extern ObjectMagPlatform *MagPlatform;
21
22
// Standard Entity Events
23
void MagPlatform_Update(void);
24
void MagPlatform_LateUpdate(void);
25
void MagPlatform_StaticUpdate(void);
26
void MagPlatform_Draw(void);
27
void MagPlatform_Create(void *data);
28
void MagPlatform_StageLoad(void);
29
#if GAME_INCLUDE_EDITOR
30
void MagPlatform_EditorDraw(void);
31
void MagPlatform_EditorLoad(void);
32
#endif
33
void MagPlatform_Serialize(void);
34
35
// Extra Entity Functions
36
void MagPlatform_Collide_SolidAllHazardBottom(void);
37
void MagPlatform_State_Idle(void);
38
void MagPlatform_State_Rise(void);
39
void MagPlatform_State_Fall(void);
40
41
#endif //! OBJ_MAGPLATFORM_H
42
43