Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
rubberduckycooly
GitHub Repository: rubberduckycooly/Sonic-Mania-Decompilation
Path: blob/master/SonicMania/Objects/Menu/UIButtonLabel.h
338 views
1
#ifndef OBJ_UIBUTTONLABEL_H
2
#define OBJ_UIBUTTONLABEL_H
3
4
#include "Game.h"
5
6
// Object Class
7
struct ObjectUIButtonLabel {
8
RSDK_OBJECT
9
uint16 aniFrames;
10
};
11
12
// Entity Class
13
struct EntityUIButtonLabel {
14
RSDK_ENTITY
15
int32 unused1;
16
int32 unused2;
17
int32 unused3;
18
int32 unused4;
19
uint8 type;
20
int32 listID;
21
int32 frameID;
22
Animator frameAnimator;
23
Animator textAnimator;
24
uint16 textSprite;
25
};
26
27
// Object Struct
28
extern ObjectUIButtonLabel *UIButtonLabel;
29
30
// Standard Entity Events
31
void UIButtonLabel_Update(void);
32
void UIButtonLabel_LateUpdate(void);
33
void UIButtonLabel_StaticUpdate(void);
34
void UIButtonLabel_Draw(void);
35
void UIButtonLabel_Create(void *data);
36
void UIButtonLabel_StageLoad(void);
37
#if GAME_INCLUDE_EDITOR
38
void UIButtonLabel_EditorDraw(void);
39
void UIButtonLabel_EditorLoad(void);
40
#endif
41
void UIButtonLabel_Serialize(void);
42
43
// Extra Entity Functions
44
45
#endif //! OBJ_UIBUTTONLABEL_H
46
47