Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
rubberduckycooly
GitHub Repository: rubberduckycooly/Sonic-Mania-Decompilation
Path: blob/master/SonicMania/Objects/FBZ/Launcher.h
338 views
1
#ifndef OBJ_LAUNCHER_H
2
#define OBJ_LAUNCHER_H
3
4
#include "Game.h"
5
6
// Object Class
7
struct ObjectLauncher {
8
RSDK_OBJECT
9
uint16 sfxLaunch;
10
};
11
12
// Entity Class
13
struct EntityLauncher {
14
MANIA_PLATFORM_BASE
15
int32 releaseDelay;
16
int32 accelTimer;
17
};
18
19
// Object Struct
20
extern ObjectLauncher *Launcher;
21
22
// Standard Entity Events
23
void Launcher_Update(void);
24
void Launcher_LateUpdate(void);
25
void Launcher_StaticUpdate(void);
26
void Launcher_Draw(void);
27
void Launcher_Create(void *data);
28
void Launcher_StageLoad(void);
29
#if GAME_INCLUDE_EDITOR
30
void Launcher_EditorDraw(void);
31
void Launcher_EditorLoad(void);
32
#endif
33
void Launcher_Serialize(void);
34
35
// Extra Entity Functions
36
void Launcher_Collide_Normal(void);
37
38
void Launcher_State_Idle(void);
39
void Launcher_State_HandleLaunch(void);
40
void Launcher_State_ReturnToStart(void);
41
42
#endif //! OBJ_LAUNCHER_H
43
44