Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
rubberduckycooly
GitHub Repository: rubberduckycooly/Sonic-Mania-Decompilation
Path: blob/master/SonicMania/Objects/GHZ/GHZ2Outro.h
338 views
1
#ifndef OBJ_GHZ2OUTRO_H
2
#define OBJ_GHZ2OUTRO_H
3
4
#include "Game.h"
5
6
// Object Class
7
struct ObjectGHZ2Outro {
8
RSDK_OBJECT
9
int32 unused;
10
uint16 sfxRocketJet;
11
uint16 sfxShinobiJump;
12
uint16 sfxHeliWoosh;
13
};
14
15
// Entity Class
16
struct EntityGHZ2Outro {
17
MANIA_CUTSCENE_BASE
18
EntityEggman *eggman;
19
EntityDERobot *DERobot;
20
EntityPhantomRuby *phantomRuby;
21
EntityFXRuby *fxRuby;
22
};
23
24
// Object Struct
25
extern ObjectGHZ2Outro *GHZ2Outro;
26
27
// Standard Entity Events
28
void GHZ2Outro_Update(void);
29
void GHZ2Outro_LateUpdate(void);
30
void GHZ2Outro_StaticUpdate(void);
31
void GHZ2Outro_Draw(void);
32
void GHZ2Outro_Create(void *data);
33
void GHZ2Outro_StageLoad(void);
34
#if GAME_INCLUDE_EDITOR
35
void GHZ2Outro_EditorDraw(void);
36
void GHZ2Outro_EditorLoad(void);
37
#endif
38
void GHZ2Outro_Serialize(void);
39
40
// Extra Entity Functions
41
bool32 GHZ2Outro_Cutscene_FinishActClear(EntityCutsceneSeq *host);
42
bool32 GHZ2Outro_Cutscene_JumpIntoHole(EntityCutsceneSeq *host);
43
44
bool32 GHZ2Outro_Cutscene_HoleSceneFadeIn(EntityCutsceneSeq *host);
45
bool32 GHZ2Outro_Cutscene_SpyOnEggman(EntityCutsceneSeq *host);
46
bool32 GHZ2Outro_Cutscene_BreakupGroup(EntityCutsceneSeq *host);
47
bool32 GHZ2Outro_Cutscene_RubyHover(EntityCutsceneSeq *host);
48
bool32 GHZ2Outro_Cutscene_StartRubyWarp(EntityCutsceneSeq *host);
49
bool32 GHZ2Outro_Cutscene_HandleRubyWarp(EntityCutsceneSeq *host);
50
bool32 GHZ2Outro_Cutscene_LoadCPZ1(EntityCutsceneSeq *host);
51
52
#if MANIA_USE_PLUS
53
void GHZ2Outro_Cutscene_SkipCB(void);
54
#endif
55
56
#endif //! OBJ_GHZ2OUTRO_H
57
58