Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
rubberduckycooly
GitHub Repository: rubberduckycooly/Sonic-Mania-Decompilation
Path: blob/master/SonicMania/Objects/Title/TitleSonic.h
338 views
1
#ifndef OBJ_TITLESONIC_H
2
#define OBJ_TITLESONIC_H
3
4
#include "Game.h"
5
6
// Object Class
7
struct ObjectTitleSonic {
8
RSDK_OBJECT
9
uint16 aniFrames;
10
};
11
12
// Entity Class
13
struct EntityTitleSonic {
14
RSDK_ENTITY
15
Animator animatorSonic;
16
Animator animatorFinger;
17
};
18
19
// Object Struct
20
extern ObjectTitleSonic *TitleSonic;
21
22
// Standard Entity Events
23
void TitleSonic_Update(void);
24
void TitleSonic_LateUpdate(void);
25
void TitleSonic_StaticUpdate(void);
26
void TitleSonic_Draw(void);
27
void TitleSonic_Create(void *data);
28
void TitleSonic_StageLoad(void);
29
#if GAME_INCLUDE_EDITOR
30
void TitleSonic_EditorDraw(void);
31
void TitleSonic_EditorLoad(void);
32
#endif
33
void TitleSonic_Serialize(void);
34
35
// Extra Entity Functions
36
37
#endif //! OBJ_TITLESONIC_H
38
39