Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
rubberduckycooly
GitHub Repository: rubberduckycooly/Sonic-Mania-Decompilation
Path: blob/master/SonicMania/Objects/Common/ForceUnstick.h
338 views
1
#ifndef OBJ_FORCEUNSTICK_H
2
#define OBJ_FORCEUNSTICK_H
3
4
#include "Game.h"
5
6
// Object Class
7
struct ObjectForceUnstick {
8
RSDK_OBJECT
9
uint16 aniFrames;
10
Animator animator;
11
};
12
13
// Entity Class
14
struct EntityForceUnstick {
15
RSDK_ENTITY
16
uint8 width;
17
uint8 height;
18
bool32 breakClimb;
19
Hitbox hitbox;
20
};
21
22
// Object Struct
23
extern ObjectForceUnstick *ForceUnstick;
24
25
// Standard Entity Events
26
void ForceUnstick_Update(void);
27
void ForceUnstick_LateUpdate(void);
28
void ForceUnstick_StaticUpdate(void);
29
void ForceUnstick_Draw(void);
30
void ForceUnstick_Create(void *data);
31
void ForceUnstick_StageLoad(void);
32
#if GAME_INCLUDE_EDITOR
33
void ForceUnstick_EditorDraw(void);
34
void ForceUnstick_EditorLoad(void);
35
#endif
36
void ForceUnstick_Serialize(void);
37
38
// Extra Entity Functions
39
void ForceUnstick_DrawSprites(void);
40
41
#endif //! OBJ_FORCEUNSTICK_H
42
43