Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
rubberduckycooly
GitHub Repository: rubberduckycooly/Sonic-Mania-Decompilation
Path: blob/master/SonicMania/Objects/Menu/DAControl.h
338 views
1
#ifndef OBJ_DACONTROL_H
2
#define OBJ_DACONTROL_H
3
4
#include "Game.h"
5
6
// Object Class
7
struct ObjectDAControl {
8
RSDK_OBJECT
9
uint16 aniFrames;
10
};
11
12
// Entity Class
13
struct EntityDAControl {
14
RSDK_ENTITY
15
StateMachine(state);
16
int32 unused1;
17
int32 unused2;
18
int32 unused3;
19
String text;
20
Animator backPlateAnimator;
21
Animator buttonAnimator;
22
Animator optionsAnimator[5];
23
Animator textAnimator;
24
};
25
26
// Object Struct
27
extern ObjectDAControl *DAControl;
28
29
// Standard Entity Events
30
void DAControl_Update(void);
31
void DAControl_LateUpdate(void);
32
void DAControl_StaticUpdate(void);
33
void DAControl_Draw(void);
34
void DAControl_Create(void *data);
35
void DAControl_StageLoad(void);
36
#if GAME_INCLUDE_EDITOR
37
void DAControl_EditorDraw(void);
38
void DAControl_EditorLoad(void);
39
#endif
40
void DAControl_Serialize(void);
41
42
// Extra Entity Functions
43
44
#endif //! OBJ_DACONTROL_H
45
46