Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
rubberduckycooly
GitHub Repository: rubberduckycooly/Sonic-Mania-Decompilation
Path: blob/master/SonicMania/Objects/LRZ/LRZ3Outro.h
338 views
1
#ifndef OBJ_LRZ3OUTRO_H
2
#define OBJ_LRZ3OUTRO_H
3
4
#include "Game.h"
5
6
#if MANIA_USE_PLUS
7
// Object Class
8
struct ObjectLRZ3Outro {
9
RSDK_OBJECT
10
uint16 sfxBlastoff;
11
uint16 sfxLittlePlanet;
12
};
13
14
// Entity Class
15
struct EntityLRZ3Outro {
16
RSDK_ENTITY
17
StateMachine(state);
18
int32 timer;
19
TileLayer *background1;
20
TileLayer *background2;
21
EntityParallaxSprite *littlePlanet;
22
int32 blastoffChannel;
23
float blastoffVolume;
24
};
25
26
// Object Struct
27
extern ObjectLRZ3Outro *LRZ3Outro;
28
29
// Standard Entity Events
30
void LRZ3Outro_Update(void);
31
void LRZ3Outro_LateUpdate(void);
32
void LRZ3Outro_StaticUpdate(void);
33
void LRZ3Outro_Draw(void);
34
void LRZ3Outro_Create(void *data);
35
void LRZ3Outro_StageLoad(void);
36
#if GAME_INCLUDE_EDITOR
37
void LRZ3Outro_EditorDraw(void);
38
void LRZ3Outro_EditorLoad(void);
39
#endif
40
void LRZ3Outro_Serialize(void);
41
42
// Extra Entity Functions
43
void LRZ3Outro_HandleExplosions(void);
44
45
void LRZ3Outro_State_BlastOff(void);
46
void LRZ3Outro_State_RocketLaunch(void);
47
void LRZ3Outro_State_EnterLittlePlanet(void);
48
49
void LRZ3Outro_StageFinish_EndAct2ST(void);
50
51
bool32 LRZ3Outro_Cutscene_StopPlayers(EntityCutsceneSeq *host);
52
bool32 LRZ3Outro_Cutscene_LightUpLittlePlanet(EntityCutsceneSeq *host);
53
54
#endif
55
56
#endif //! OBJ_LRZ3OUTRO_H
57
58