Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
rubberduckycooly
GitHub Repository: rubberduckycooly/Sonic-Mania-Decompilation
Path: blob/master/SonicMania/Objects/MSZ/PaintingEyes.h
338 views
1
#ifndef OBJ_PAINTINGEYES_H
2
#define OBJ_PAINTINGEYES_H
3
4
#include "Game.h"
5
6
// Object Class
7
struct ObjectPaintingEyes {
8
RSDK_OBJECT
9
uint16 aniFrames;
10
};
11
12
// Entity Class
13
struct EntityPaintingEyes {
14
RSDK_ENTITY
15
int32 timer;
16
int32 coverPos;
17
bool32 hideEyes;
18
Animator coverAnimator;
19
Animator irisAnimator;
20
Animator pupilAnimator;
21
};
22
23
// Object Struct
24
extern ObjectPaintingEyes *PaintingEyes;
25
26
// Standard Entity Events
27
void PaintingEyes_Update(void);
28
void PaintingEyes_LateUpdate(void);
29
void PaintingEyes_StaticUpdate(void);
30
void PaintingEyes_Draw(void);
31
void PaintingEyes_Create(void *data);
32
void PaintingEyes_StageLoad(void);
33
#if GAME_INCLUDE_EDITOR
34
void PaintingEyes_EditorDraw(void);
35
void PaintingEyes_EditorLoad(void);
36
#endif
37
void PaintingEyes_Serialize(void);
38
39
// Extra Entity Functions
40
41
#endif //! OBJ_PAINTINGEYES_H
42
43