Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
rubberduckycooly
GitHub Repository: rubberduckycooly/Sonic-Mania-Decompilation
Path: blob/master/SonicMania/Objects/Cutscene/FXWaveRing.h
338 views
1
#ifndef OBJ_FXWAVERING_H
2
#define OBJ_FXWAVERING_H
3
4
#include "Game.h"
5
6
#if MANIA_USE_PLUS
7
// Object Class
8
struct ObjectFXWaveRing {
9
RSDK_OBJECT
10
};
11
12
// Entity Class
13
struct EntityFXWaveRing {
14
RSDK_ENTITY
15
StateMachine(state);
16
int32 timer;
17
int32 angleVel;
18
int32 angleVel2;
19
int32 angle2;
20
int32 angleInc;
21
int32 shrinkSpeed;
22
uint8 r;
23
uint8 g;
24
uint8 b;
25
int32 radiusOffset;
26
Entity *parent;
27
Vector2 offsetPos;
28
int32 pointCount;
29
int32 radius;
30
};
31
32
// Object Struct
33
extern ObjectFXWaveRing *FXWaveRing;
34
35
// Standard Entity Events
36
void FXWaveRing_Update(void);
37
void FXWaveRing_LateUpdate(void);
38
void FXWaveRing_StaticUpdate(void);
39
void FXWaveRing_Draw(void);
40
void FXWaveRing_Create(void *data);
41
void FXWaveRing_StageLoad(void);
42
#if GAME_INCLUDE_EDITOR
43
void FXWaveRing_EditorDraw(void);
44
void FXWaveRing_EditorLoad(void);
45
#endif
46
void FXWaveRing_Serialize(void);
47
48
// Extra Entity Functions
49
void FXWaveRing_State_FadeIn(void);
50
void FXWaveRing_State_Wait(void);
51
void FXWaveRing_State_FadeOut(void);
52
#endif
53
54
#endif //! OBJ_FXWAVERING_H
55
56