Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
rubberduckycooly
GitHub Repository: rubberduckycooly/Sonic-Mania-Decompilation
Path: blob/master/SonicMania/Objects/MMZ/ConveyorWheel.h
338 views
1
#ifndef OBJ_CONVEYORWHEEL_H
2
#define OBJ_CONVEYORWHEEL_H
3
4
#include "Game.h"
5
6
// Object Class
7
struct ObjectConveyorWheel {
8
RSDK_OBJECT
9
uint16 aniFrames;
10
Hitbox hitbox;
11
};
12
13
// Entity Class
14
struct EntityConveyorWheel {
15
RSDK_ENTITY
16
Animator animator;
17
};
18
19
// Object Struct
20
extern ObjectConveyorWheel *ConveyorWheel;
21
22
// Standard Entity Events
23
void ConveyorWheel_Update(void);
24
void ConveyorWheel_LateUpdate(void);
25
void ConveyorWheel_StaticUpdate(void);
26
void ConveyorWheel_Draw(void);
27
void ConveyorWheel_Create(void *data);
28
void ConveyorWheel_StageLoad(void);
29
#if GAME_INCLUDE_EDITOR
30
void ConveyorWheel_EditorDraw(void);
31
void ConveyorWheel_EditorLoad(void);
32
#endif
33
void ConveyorWheel_Serialize(void);
34
35
// Extra Entity Functions
36
37
#endif //! OBJ_CONVEYORWHEEL_H
38
39