Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
rubberduckycooly
GitHub Repository: rubberduckycooly/Sonic-Mania-Decompilation
Path: blob/master/SonicMania/Objects/FBZ/PropellerShaft.h
338 views
1
#ifndef OBJ_PROPELLERSHAFT_H
2
#define OBJ_PROPELLERSHAFT_H
3
4
#include "Game.h"
5
6
// Object Class
7
struct ObjectPropellerShaft {
8
RSDK_OBJECT
9
};
10
11
// Entity Class
12
struct EntityPropellerShaft {
13
RSDK_ENTITY
14
int32 size;
15
int32 activePlayers;
16
int32 playerTimers[PLAYER_COUNT];
17
int32 unused1[PLAYER_COUNT];
18
Hitbox hitbox;
19
Animator animator;
20
};
21
22
// Object Struct
23
extern ObjectPropellerShaft *PropellerShaft;
24
25
// Standard Entity Events
26
void PropellerShaft_Update(void);
27
void PropellerShaft_LateUpdate(void);
28
void PropellerShaft_StaticUpdate(void);
29
void PropellerShaft_Draw(void);
30
void PropellerShaft_Create(void *data);
31
void PropellerShaft_StageLoad(void);
32
#if GAME_INCLUDE_EDITOR
33
void PropellerShaft_EditorDraw(void);
34
void PropellerShaft_EditorLoad(void);
35
#endif
36
void PropellerShaft_Serialize(void);
37
38
// Extra Entity Functions
39
40
#endif //! OBJ_PROPELLERSHAFT_H
41
42