Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
rubberduckycooly
GitHub Repository: rubberduckycooly/Sonic-Mania-Decompilation
Path: blob/master/SonicMania/Objects/Pinball/PBL_Sector.h
338 views
1
#ifndef OBJ_PBL_SECTOR_H
2
#define OBJ_PBL_SECTOR_H
3
4
#include "Game.h"
5
6
#if MANIA_USE_PLUS
7
// Object Class
8
struct ObjectPBL_Sector {
9
RSDK_OBJECT
10
uint16 aniFrames;
11
};
12
13
// Entity Class
14
struct EntityPBL_Sector {
15
RSDK_ENTITY
16
Vector2 size;
17
uint8 craneID;
18
int32 timer;
19
bool32 playerEntered;
20
Animator animator;
21
};
22
23
// Object Struct
24
extern ObjectPBL_Sector *PBL_Sector;
25
26
// Standard Entity Events
27
void PBL_Sector_Update(void);
28
void PBL_Sector_LateUpdate(void);
29
void PBL_Sector_StaticUpdate(void);
30
void PBL_Sector_Draw(void);
31
void PBL_Sector_Create(void *data);
32
void PBL_Sector_StageLoad(void);
33
#if GAME_INCLUDE_EDITOR
34
void PBL_Sector_EditorDraw(void);
35
void PBL_Sector_EditorLoad(void);
36
#endif
37
void PBL_Sector_Serialize(void);
38
39
// Extra Entity Functions
40
#endif
41
42
#endif //! OBJ_PBL_SECTOR_H
43
44