Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
rubberduckycooly
GitHub Repository: rubberduckycooly/Sonic-Mania-Decompilation
Path: blob/master/SonicMania/Objects/Menu/E3MenuSetup.h
338 views
1
#ifndef OBJ_E3MENUSETUP_H
2
#define OBJ_E3MENUSETUP_H
3
4
#include "Game.h"
5
6
#if !MANIA_USE_PLUS
7
// Object Class
8
struct ObjectE3MenuSetup {
9
RSDK_OBJECT
10
int32 unused1;
11
bool32 initialized;
12
int32 unused2;
13
EntityUIControl *charSelControl;
14
EntityUIControl *zoneControl;
15
};
16
17
// Entity Class
18
struct EntityE3MenuSetup {
19
RSDK_ENTITY
20
StateMachine(state);
21
StateMachine(callback);
22
int32 timer;
23
int32 delay;
24
int32 fadeSpeed;
25
int32 fadeTimer;
26
int32 fadeColor;
27
int32 unused;
28
};
29
30
// Object Entity
31
extern ObjectE3MenuSetup *E3MenuSetup;
32
33
// Standard Entity Events
34
void E3MenuSetup_Update(void);
35
void E3MenuSetup_LateUpdate(void);
36
void E3MenuSetup_StaticUpdate(void);
37
void E3MenuSetup_Draw(void);
38
void E3MenuSetup_Create(void *data);
39
void E3MenuSetup_StageLoad(void);
40
#if GAME_INCLUDE_EDITOR
41
void E3MenuSetup_EditorDraw(void);
42
void E3MenuSetup_EditorLoad(void);
43
#endif
44
void E3MenuSetup_Serialize(void);
45
46
// Extra Entity Functions
47
void E3MenuSetup_SetupUI(void);
48
void E3MenuSetup_SetupButtons(void);
49
50
void E3MenuSetup_Callback_LoadScene(void);
51
52
void E3MenuSetup_ActionCB_ZoneSelect(void);
53
54
void E3MenuSetup_ActionCB_Sonic(void);
55
void E3MenuSetup_ActionCB_Tails(void);
56
void E3MenuSetup_ActionCB_Knux(void);
57
58
void E3MenuSetup_State_FadeOut(void);
59
#endif
60
61
#endif //! OBJ_E3MENUSETUP_H
62
63