Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
rubberduckycooly
GitHub Repository: rubberduckycooly/Sonic-Mania-Decompilation
Path: blob/master/SonicMania/Objects/OOZ/OOZ2Outro.h
338 views
1
#ifndef OBJ_OOZ2OUTRO_H
2
#define OBJ_OOZ2OUTRO_H
3
4
#include "Game.h"
5
6
#if MANIA_USE_PLUS
7
// Object Class
8
struct ObjectOOZ2Outro {
9
RSDK_OBJECT
10
uint16 aniFrames;
11
uint16 sfxGlug;
12
uint16 sfxSubLaunch;
13
};
14
15
// Entity Class
16
struct EntityOOZ2Outro {
17
RSDK_ENTITY
18
StateMachine(state);
19
Vector2 size;
20
Vector2 moveOffset;
21
Vector2 scrollOffset;
22
int32 timer;
23
Animator animator; // unused
24
TileLayer *moveLayer;
25
EntityEggPrison *prisonPtr;
26
Vector2 prisonPos;
27
};
28
29
// Object Struct
30
extern ObjectOOZ2Outro *OOZ2Outro;
31
32
// Standard Entity Events
33
void OOZ2Outro_Update(void);
34
void OOZ2Outro_LateUpdate(void);
35
void OOZ2Outro_StaticUpdate(void);
36
void OOZ2Outro_Draw(void);
37
void OOZ2Outro_Create(void *data);
38
void OOZ2Outro_StageLoad(void);
39
#if GAME_INCLUDE_EDITOR
40
void OOZ2Outro_EditorDraw(void);
41
void OOZ2Outro_EditorLoad(void);
42
#endif
43
void OOZ2Outro_Serialize(void);
44
45
// Extra Entity Functions
46
void OOZ2Outro_StageFinish_EndAct2(void);
47
void OOZ2Outro_State_SubFloat(void);
48
void OOZ2Outro_CheckSkip(void);
49
void OOZ2Outro_State_BoardSub(void);
50
void OOZ2Outro_State_SubActivate(void);
51
void OOZ2Outro_State_SubLaunch(void);
52
53
#endif
54
55
#endif //! OBJ_OOZ2OUTRO_H
56
57