Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
rubberduckycooly
GitHub Repository: rubberduckycooly/Sonic-Mania-Decompilation
Path: blob/master/SonicMania/Objects/SSZ/JunctionWheel.h
338 views
1
#ifndef OBJ_JUNCTIONWHEEL_H
2
#define OBJ_JUNCTIONWHEEL_H
3
4
#include "Game.h"
5
6
// Object Class
7
struct ObjectJunctionWheel {
8
RSDK_OBJECT
9
Hitbox hitboxWheelRange;
10
Hitbox hitboxSolidL;
11
Hitbox hitboxSolidR;
12
Hitbox hitboxSolidB;
13
Hitbox hitboxEntryR;
14
Hitbox hitboxEntryL;
15
uint16 aniFrames;
16
};
17
18
// Entity Class
19
struct EntityJunctionWheel {
20
RSDK_ENTITY
21
Animator slotAnimator;
22
Animator maskAnimator;
23
uint8 spinDir;
24
};
25
26
// Object Struct
27
extern ObjectJunctionWheel *JunctionWheel;
28
29
// Standard Entity Events
30
void JunctionWheel_Update(void);
31
void JunctionWheel_LateUpdate(void);
32
void JunctionWheel_StaticUpdate(void);
33
void JunctionWheel_Draw(void);
34
void JunctionWheel_Create(void *data);
35
void JunctionWheel_StageLoad(void);
36
#if GAME_INCLUDE_EDITOR
37
void JunctionWheel_EditorDraw(void);
38
void JunctionWheel_EditorLoad(void);
39
#endif
40
void JunctionWheel_Serialize(void);
41
42
// Extra Entity Functions
43
44
#endif //! OBJ_JUNCTIONWHEEL_H
45
46