Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
rubberduckycooly
GitHub Repository: rubberduckycooly/Sonic-Mania-Decompilation
Path: blob/master/SonicMania/Objects/MMZ/MMZ2Outro.h
338 views
1
#ifndef OBJ_MMZ2OUTRO_H
2
#define OBJ_MMZ2OUTRO_H
3
4
#include "Game.h"
5
6
#if MANIA_USE_PLUS
7
// Object Class
8
struct ObjectMMZ2Outro {
9
RSDK_OBJECT
10
uint16 sfxThunda;
11
uint16 sfxLightsOut;
12
uint16 sfxTMZEyes;
13
};
14
15
// Entity Class
16
struct EntityMMZ2Outro {
17
RSDK_ENTITY
18
int32 timer;
19
int32 flashTimer;
20
};
21
22
// Object Struct
23
extern ObjectMMZ2Outro *MMZ2Outro;
24
25
// Standard Entity Events
26
void MMZ2Outro_Update(void);
27
void MMZ2Outro_LateUpdate(void);
28
void MMZ2Outro_StaticUpdate(void);
29
void MMZ2Outro_Draw(void);
30
void MMZ2Outro_Create(void *data);
31
void MMZ2Outro_StageLoad(void);
32
#if GAME_INCLUDE_EDITOR
33
void MMZ2Outro_EditorDraw(void);
34
void MMZ2Outro_EditorLoad(void);
35
#endif
36
void MMZ2Outro_Serialize(void);
37
38
// Extra Entity Functions
39
void MMZ2Outro_StartCutscene(void);
40
41
bool32 MMZ2Outro_Cutscene_PowerDown(EntityCutsceneSeq *host);
42
bool32 MMZ2Outro_Cutscene_Rumble(EntityCutsceneSeq *host);
43
bool32 MMZ2Outro_Cutscene_CameraMoveToWindow(EntityCutsceneSeq *host);
44
bool32 MMZ2Outro_Cutscene_PlayerMoveToWindow(EntityCutsceneSeq *host);
45
bool32 MMZ2Outro_Cutscene_EnterMonarchEyes(EntityCutsceneSeq *host);
46
bool32 MMZ2Outro_Cutscene_ViewMonarch(EntityCutsceneSeq *host);
47
#endif
48
49
#endif //! OBJ_MMZ2OUTRO_H
50
51