Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
rubberduckycooly
GitHub Repository: rubberduckycooly/Sonic-Mania-Decompilation
Path: blob/master/SonicMania/Objects/Global/COverlay.h
338 views
1
#ifndef OBJ_COVERLAY_H
2
#define OBJ_COVERLAY_H
3
4
#include "Game.h"
5
6
// Object Class
7
struct ObjectCOverlay {
8
RSDK_OBJECT
9
uint16 aniFrames;
10
};
11
12
// Entity Class
13
struct EntityCOverlay {
14
RSDK_ENTITY
15
};
16
17
// Object Struct
18
extern ObjectCOverlay *COverlay;
19
20
// Standard Entity Events
21
void COverlay_Update(void);
22
void COverlay_LateUpdate(void);
23
void COverlay_StaticUpdate(void);
24
void COverlay_Draw(void);
25
void COverlay_Create(void *data);
26
void COverlay_StageLoad(void);
27
#if GAME_INCLUDE_EDITOR
28
void COverlay_EditorDraw(void);
29
void COverlay_EditorLoad(void);
30
#endif
31
void COverlay_Serialize(void);
32
33
// Extra Entity Functions
34
void COverlay_DebugDraw(void);
35
void COverlay_DebugSpawn(void);
36
void COverlay_DrawTile(void);
37
38
#endif //! OBJ_COVERLAY_H
39
40