Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
rubberduckycooly
GitHub Repository: rubberduckycooly/Sonic-Mania-Decompilation
Path: blob/master/SonicMania/Objects/Menu/LogoSetup.h
338 views
1
#ifndef OBJ_LOGOSETUP_H
2
#define OBJ_LOGOSETUP_H
3
4
#include "Game.h"
5
6
// Object Class
7
struct ObjectLogoSetup {
8
RSDK_OBJECT
9
int32 timer;
10
uint16 sfxSega;
11
};
12
13
// Entity Class
14
struct EntityLogoSetup {
15
RSDK_ENTITY
16
StateMachine(state);
17
StateMachine(stateDraw);
18
int32 timer;
19
};
20
21
// Object Struct
22
extern ObjectLogoSetup *LogoSetup;
23
24
// Standard Entity Events
25
void LogoSetup_Update(void);
26
void LogoSetup_LateUpdate(void);
27
void LogoSetup_StaticUpdate(void);
28
void LogoSetup_Draw(void);
29
void LogoSetup_Create(void *data);
30
void LogoSetup_StageLoad(void);
31
#if GAME_INCLUDE_EDITOR
32
void LogoSetup_EditorDraw(void);
33
void LogoSetup_EditorLoad(void);
34
#endif
35
void LogoSetup_Serialize(void);
36
37
// Extra Entity Functions
38
bool32 LogoSetup_ImageCallback(void);
39
void LogoSetup_State_CESAScreen(void);
40
void LogoSetup_State_ShowLogos(void);
41
void LogoSetup_State_FadeToNextLogos(void);
42
void LogoSetup_State_NextLogos(void);
43
void LogoSetup_Draw_Fade(void);
44
45
#endif //! OBJ_LOGOSETUP_H
46
47