Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
rubberduckycooly
GitHub Repository: rubberduckycooly/Sonic-Mania-Decompilation
Path: blob/master/SonicMania/Objects/GHZ/BurningLog.h
338 views
1
#ifndef OBJ_BURNINGLOG_H
2
#define OBJ_BURNINGLOG_H
3
4
#include "Game.h"
5
6
// Object Class
7
struct ObjectBurningLog {
8
RSDK_OBJECT
9
uint16 aniFrames;
10
Hitbox hitboxPlatform;
11
Hitbox hitboxFlame;
12
};
13
14
// Entity Class
15
struct EntityBurningLog {
16
RSDK_ENTITY
17
Animator animator;
18
int32 timer;
19
};
20
21
// Object Struct
22
extern ObjectBurningLog *BurningLog;
23
24
// Standard Entity Events
25
void BurningLog_Update(void);
26
void BurningLog_LateUpdate(void);
27
void BurningLog_StaticUpdate(void);
28
void BurningLog_Draw(void);
29
void BurningLog_Create(void *data);
30
void BurningLog_StageLoad(void);
31
#if GAME_INCLUDE_EDITOR
32
void BurningLog_EditorDraw(void);
33
void BurningLog_EditorLoad(void);
34
#endif
35
void BurningLog_Serialize(void);
36
37
// Extra Entity Functions
38
39
#endif //! OBJ_BURNINGLOG_H
40
41