Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
rubberduckycooly
GitHub Repository: rubberduckycooly/Sonic-Mania-Decompilation
Path: blob/master/SonicMania/Objects/LRZ/LRZ3OutroK.h
338 views
1
#ifndef OBJ_LRZ3OUTROK_H
2
#define OBJ_LRZ3OUTROK_H
3
4
#include "Game.h"
5
6
// Object Class
7
struct ObjectLRZ3OutroK {
8
RSDK_OBJECT
9
int32 unused; // possibly aniFrames in the RSDK editor??? who knows...
10
uint16 sfxWarp;
11
EntityEggPrison *prison;
12
EntitySkyTeleporter *teleporter;
13
EntityFXRuby *fxRuby;
14
};
15
16
// Entity Class
17
struct EntityLRZ3OutroK {
18
MANIA_CUTSCENE_BASE
19
Vector2 playerPos[2];
20
};
21
22
// Object Struct
23
extern ObjectLRZ3OutroK *LRZ3OutroK;
24
25
// Standard Entity Events
26
void LRZ3OutroK_Update(void);
27
void LRZ3OutroK_LateUpdate(void);
28
void LRZ3OutroK_StaticUpdate(void);
29
void LRZ3OutroK_Draw(void);
30
void LRZ3OutroK_Create(void *data);
31
void LRZ3OutroK_StageLoad(void);
32
#if GAME_INCLUDE_EDITOR
33
void LRZ3OutroK_EditorDraw(void);
34
void LRZ3OutroK_EditorLoad(void);
35
#endif
36
void LRZ3OutroK_Serialize(void);
37
38
// Extra Entity Functions
39
void LRZ3OutroK_StartCutscene(void);
40
41
bool32 LRZ3OutroK_Cutscene_RunToTeleporter(EntityCutsceneSeq *host);
42
bool32 LRZ3OutroK_Cutscene_LandOnTeleporter(EntityCutsceneSeq *host);
43
bool32 LRZ3OutroK_Cutscene_UseTeleporter(EntityCutsceneSeq *host);
44
bool32 LRZ3OutroK_Cutscene_TeleporterActivated(EntityCutsceneSeq *host);
45
46
#endif //! OBJ_LRZ3OUTROK_H
47
48