Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
rubberduckycooly
GitHub Repository: rubberduckycooly/Sonic-Mania-Decompilation
Path: blob/master/SonicMania/Objects/TMZ/MonarchBG.h
338 views
1
#ifndef OBJ_MONARCHBG_H
2
#define OBJ_MONARCHBG_H
3
4
#include "Game.h"
5
6
// Object Class
7
struct ObjectMonarchBG {
8
RSDK_OBJECT
9
uint16 aniFrames;
10
uint16 meshIndex;
11
uint16 sceneIndex;
12
};
13
14
// Entity Class
15
struct EntityMonarchBG {
16
RSDK_ENTITY
17
StateMachine(state);
18
int32 unused;
19
Animator animatorTop;
20
Animator animatorBottom;
21
Matrix unusedMatrix1;
22
Matrix unusedMatrix2;
23
Matrix unusedMatrix3;
24
Matrix unusedMatrix4;
25
};
26
27
// Object Struct
28
extern ObjectMonarchBG *MonarchBG;
29
30
// Standard Entity Events
31
void MonarchBG_Update(void);
32
void MonarchBG_LateUpdate(void);
33
void MonarchBG_StaticUpdate(void);
34
void MonarchBG_Draw(void);
35
void MonarchBG_Create(void *data);
36
void MonarchBG_StageLoad(void);
37
#if GAME_INCLUDE_EDITOR
38
void MonarchBG_EditorDraw(void);
39
void MonarchBG_EditorLoad(void);
40
#endif
41
void MonarchBG_Serialize(void);
42
43
// Extra Entity Functions
44
45
#endif //! OBJ_MONARCHBG_H
46
47