Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
rubberduckycooly
GitHub Repository: rubberduckycooly/Sonic-Mania-Decompilation
Path: blob/master/SonicMania/Objects/Puyo/PuyoIndicator.h
338 views
1
#ifndef OBJ_PUYOINDICATOR_H
2
#define OBJ_PUYOINDICATOR_H
3
4
#include "Game.h"
5
6
// Object Class
7
struct ObjectPuyoIndicator {
8
RSDK_OBJECT
9
uint16 aniFrames;
10
};
11
12
// Entity Class
13
struct EntityPuyoIndicator {
14
RSDK_ENTITY
15
StateMachine(state);
16
uint8 playerID;
17
Vector2 startPos;
18
int32 unused1;
19
int32 unused2;
20
int32 unused3;
21
Animator animator;
22
};
23
24
// Object Struct
25
extern ObjectPuyoIndicator *PuyoIndicator;
26
27
// Standard Entity Events
28
void PuyoIndicator_Update(void);
29
void PuyoIndicator_LateUpdate(void);
30
void PuyoIndicator_StaticUpdate(void);
31
void PuyoIndicator_Draw(void);
32
void PuyoIndicator_Create(void *data);
33
void PuyoIndicator_StageLoad(void);
34
#if GAME_INCLUDE_EDITOR
35
void PuyoIndicator_EditorDraw(void);
36
void PuyoIndicator_EditorLoad(void);
37
#endif
38
void PuyoIndicator_Serialize(void);
39
40
// Extra Entity Functions
41
void PuyoIndicator_ShowWinner(void);
42
void PuyoIndicator_ShowLoser(void);
43
void PuyoIndicator_ShowReady(void);
44
45
#endif //! OBJ_PUYOINDICATOR_H
46
47