Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
rubberduckycooly
GitHub Repository: rubberduckycooly/Sonic-Mania-Decompilation
Path: blob/master/SonicMania/Objects/Menu/ManiaModeMenu.h
338 views
1
#ifndef OBJ_MANIAMODEMENU_H
2
#define OBJ_MANIAMODEMENU_H
3
4
#include "Game.h"
5
6
#if MANIA_USE_PLUS
7
8
// Object Class
9
struct ObjectManiaModeMenu {
10
RSDK_OBJECT
11
int32 unused;
12
EntityUIControl *saveSelectMenu;
13
EntityUIControl *noSaveMenu;
14
EntityUIControl *secretsMenu;
15
EntityUIButtonPrompt *delSavePrompt;
16
EntityUIControl *encoreSaveSelect;
17
EntityUIButtonPrompt *delSavePrompt_Encore;
18
EntityUIControl *noSaveMenuEncore;
19
bool32 inSecretsMenu;
20
int32 saveSelLastButtonID;
21
};
22
23
// Entity Class
24
struct EntityManiaModeMenu {
25
RSDK_ENTITY
26
};
27
28
// Object Struct
29
extern ObjectManiaModeMenu *ManiaModeMenu;
30
31
// Standard Entity Events
32
void ManiaModeMenu_Update(void);
33
void ManiaModeMenu_LateUpdate(void);
34
void ManiaModeMenu_StaticUpdate(void);
35
void ManiaModeMenu_Draw(void);
36
void ManiaModeMenu_Create(void *data);
37
void ManiaModeMenu_StageLoad(void);
38
#if GAME_INCLUDE_EDITOR
39
void ManiaModeMenu_EditorDraw(void);
40
void ManiaModeMenu_EditorLoad(void);
41
#endif
42
void ManiaModeMenu_Serialize(void);
43
44
// Extra Entity Functions
45
void ManiaModeMenu_Initialize(void);
46
bool32 ManiaModeMenu_InitAPI(void);
47
void ManiaModeMenu_InitLocalization(bool32 success);
48
int32 ManiaModeMenu_GetActiveMenu(void);
49
void ManiaModeMenu_ChangeMenuTrack(void);
50
void ManiaModeMenu_StartReturnToTitle(void);
51
void ManiaModeMenu_SetBGColors(void);
52
void ManiaModeMenu_ReturnToTitle(void);
53
void ManiaModeMenu_State_HandleTransition(void);
54
void ManiaModeMenu_HandleUnlocks(void);
55
void ManiaModeMenu_SetupActions(void);
56
void ManiaModeMenu_HandleMenuReturn(void);
57
58
#endif
59
60
#endif //! OBJ_MANIAMODEMENU_H
61
62