Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
rubberduckycooly
GitHub Repository: rubberduckycooly/Sonic-Mania-Decompilation
Path: blob/master/SonicMania/Objects/Puyo/PuyoLevelSelect.h
338 views
1
#ifndef OBJ_PUYOLEVELSELECT_H
2
#define OBJ_PUYOLEVELSELECT_H
3
4
#include "Game.h"
5
6
// Object Class
7
struct ObjectPuyoLevelSelect {
8
RSDK_OBJECT
9
uint16 aniFrames;
10
uint16 sfxMenuBleep;
11
uint16 sfxMenuAccept;
12
};
13
14
// Entity Class
15
struct EntityPuyoLevelSelect {
16
RSDK_ENTITY
17
StateMachine(state);
18
int32 playerID;
19
bool32 canSelectLevels;
20
bool32 ready;
21
int32 optionID;
22
Animator frameAnimator;
23
Animator labelAnimator;
24
bool32 up;
25
bool32 down;
26
bool32 confirmPress;
27
bool32 backPress;
28
};
29
30
// Object Struct
31
extern ObjectPuyoLevelSelect *PuyoLevelSelect;
32
33
// Standard Entity Events
34
void PuyoLevelSelect_Update(void);
35
void PuyoLevelSelect_LateUpdate(void);
36
void PuyoLevelSelect_StaticUpdate(void);
37
void PuyoLevelSelect_Draw(void);
38
void PuyoLevelSelect_Create(void *data);
39
void PuyoLevelSelect_StageLoad(void);
40
#if GAME_INCLUDE_EDITOR
41
void PuyoLevelSelect_EditorDraw(void);
42
void PuyoLevelSelect_EditorLoad(void);
43
#endif
44
void PuyoLevelSelect_Serialize(void);
45
46
// Extra Entity Functions
47
void PuyoLevelSelect_DrawSprites(void);
48
void PuyoLevelSelect_HandleMenuMovement(void);
49
50
#endif //! OBJ_PUYOLEVELSELECT_H
51
52