Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
rubberduckycooly
GitHub Repository: rubberduckycooly/Sonic-Mania-Decompilation
Path: blob/master/SonicMania/Objects/FBZ/FBZ1Outro.h
338 views
1
#ifndef OBJ_FBZ1OUTRO_H
2
#define OBJ_FBZ1OUTRO_H
3
4
#include "Game.h"
5
6
// Object Class
7
struct ObjectFBZ1Outro {
8
RSDK_OBJECT
9
int32 unused1;
10
uint16 sfxDrop;
11
EntityBigSqueeze *bossBorderL;
12
EntityBigSqueeze *bossBorderR;
13
EntityBigSqueeze *bossManager;
14
EntityCollapsingPlatform *collapsingPlatform;
15
EntityCrane *craneP1;
16
EntityCrane *craneP2;
17
};
18
19
// Entity Class
20
struct EntityFBZ1Outro {
21
MANIA_CUTSCENE_BASE
22
int32 grabbedPlayers;
23
};
24
25
// Object Struct
26
extern ObjectFBZ1Outro *FBZ1Outro;
27
28
// Standard Entity Events
29
void FBZ1Outro_Update(void);
30
void FBZ1Outro_LateUpdate(void);
31
void FBZ1Outro_StaticUpdate(void);
32
void FBZ1Outro_Draw(void);
33
void FBZ1Outro_Create(void *data);
34
void FBZ1Outro_StageLoad(void);
35
#if GAME_INCLUDE_EDITOR
36
void FBZ1Outro_EditorDraw(void);
37
void FBZ1Outro_EditorLoad(void);
38
#endif
39
void FBZ1Outro_Serialize(void);
40
41
// Extra Entity Functions
42
void FBZ1Outro_StartCutscene(void);
43
void FBZ1Outro_HandleTrash(void);
44
void FBZ1Outro_DispenseTrash(void);
45
46
bool32 FBZ1Outro_Cutscene_CrushTrash(EntityCutsceneSeq *host);
47
bool32 FBZ1Outro_Cutscene_TrashDrop(EntityCutsceneSeq *host);
48
bool32 FBZ1Outro_Cutscene_CraneRide(EntityCutsceneSeq *host);
49
bool32 FBZ1Outro_Cutscene_PrepareFBZ2(EntityCutsceneSeq *host);
50
51
#endif //! OBJ_FBZ1OUTRO_H
52
53