Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
rubberduckycooly
GitHub Repository: rubberduckycooly/Sonic-Mania-Decompilation
Path: blob/master/SonicMania/Objects/Helpers/PlayerProbe.h
338 views
1
#ifndef OBJ_PLAYERPROBE_H
2
#define OBJ_PLAYERPROBE_H
3
4
#include "Game.h"
5
6
// Object Class
7
struct ObjectPlayerProbe {
8
RSDK_OBJECT
9
uint16 aniFrames;
10
};
11
12
// Entity Class
13
struct EntityPlayerProbe {
14
RSDK_ENTITY
15
int32 size;
16
uint8 activePlayers;
17
int32 negAngle;
18
Animator animator;
19
};
20
21
// Object Struct
22
extern ObjectPlayerProbe *PlayerProbe;
23
24
// Standard Entity Events
25
void PlayerProbe_Update(void);
26
void PlayerProbe_LateUpdate(void);
27
void PlayerProbe_StaticUpdate(void);
28
void PlayerProbe_Draw(void);
29
void PlayerProbe_Create(void *data);
30
void PlayerProbe_StageLoad(void);
31
#if GAME_INCLUDE_EDITOR
32
void PlayerProbe_EditorDraw(void);
33
void PlayerProbe_EditorLoad(void);
34
#endif
35
void PlayerProbe_Serialize(void);
36
37
// Extra Entity Functions
38
void PlayerProbe_Print(EntityPlayer *player);
39
void PlayerProbe_DrawSprites(void);
40
void PlayerProbe_DrawArrow(int32 x1, int32 y1, int32 x2, int32 y2, uint32 color);
41
42
#endif //! OBJ_PLAYERPROBE_H
43
44