Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
rubberduckycooly
GitHub Repository: rubberduckycooly/Sonic-Mania-Decompilation
Path: blob/master/SonicMania/Objects/Credits/AnimalHBH.h
338 views
1
#ifndef OBJ_ANIMALHBH_H
2
#define OBJ_ANIMALHBH_H
3
4
#include "Game.h"
5
6
// Object Class
7
struct ObjectAnimalHBH {
8
RSDK_OBJECT
9
int32 currentColor;
10
int32 colorCount;
11
uint16 aniFrames;
12
uint16 silhouetteFrames;
13
};
14
15
// Entity Class
16
struct EntityAnimalHBH {
17
RSDK_ENTITY
18
uint8 type;
19
int32 timer;
20
Animator animalHBHAnimator;
21
Animator silhouetteAnimator;
22
};
23
24
// Object Struct
25
extern ObjectAnimalHBH *AnimalHBH;
26
27
// Standard Entity Events
28
void AnimalHBH_Update(void);
29
void AnimalHBH_LateUpdate(void);
30
void AnimalHBH_StaticUpdate(void);
31
void AnimalHBH_Draw(void);
32
void AnimalHBH_Create(void *data);
33
void AnimalHBH_StageLoad(void);
34
#if GAME_INCLUDE_EDITOR
35
void AnimalHBH_EditorDraw(void);
36
void AnimalHBH_EditorLoad(void);
37
#endif
38
void AnimalHBH_Serialize(void);
39
40
// Extra Entity Functions
41
42
#endif //! OBJ_ANIMALHBH_H
43
44