Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
rubberduckycooly
GitHub Repository: rubberduckycooly/Sonic-Mania-Decompilation
Path: blob/master/SonicMania/Objects/PGZ/PSZ1Intro.h
338 views
1
#ifndef OBJ_PSZ1INTRO_H
2
#define OBJ_PSZ1INTRO_H
3
4
#include "Game.h"
5
6
#if MANIA_USE_PLUS
7
// Object Class
8
struct ObjectPSZ1Intro {
9
RSDK_OBJECT
10
};
11
12
// Entity Class
13
struct EntityPSZ1Intro {
14
RSDK_ENTITY
15
int32 timer;
16
EntityHangGlider *gliders[PLAYER_COUNT];
17
};
18
19
// Object Struct
20
extern ObjectPSZ1Intro *PSZ1Intro;
21
22
// Standard Entity Events
23
void PSZ1Intro_Update(void);
24
void PSZ1Intro_LateUpdate(void);
25
void PSZ1Intro_StaticUpdate(void);
26
void PSZ1Intro_Draw(void);
27
void PSZ1Intro_Create(void *data);
28
void PSZ1Intro_StageLoad(void);
29
#if GAME_INCLUDE_EDITOR
30
void PSZ1Intro_EditorDraw(void);
31
void PSZ1Intro_EditorLoad(void);
32
#endif
33
void PSZ1Intro_Serialize(void);
34
35
// Extra Entity Functions
36
void PSZ1Intro_HandleGliderJump(EntityHangGlider *glider);
37
38
bool32 PSZ1Intro_Cutscene_SetupGliders(EntityCutsceneSeq *host);
39
bool32 PSZ1Intro_Cutscene_GlideAndJump(EntityCutsceneSeq *host);
40
bool32 PSZ1Intro_Cutscene_HandleLanding(EntityCutsceneSeq *host);
41
42
#endif
43
44
#endif //! OBJ_PSZ1INTRO_H
45
46