Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
rubberduckycooly
GitHub Repository: rubberduckycooly/Sonic-Mania-Decompilation
Path: blob/master/SonicMania/Objects/UFO/UFO_Plasma.h
338 views
1
#ifndef OBJ_UFO_PLASMA_H
2
#define OBJ_UFO_PLASMA_H
3
4
#include "Game.h"
5
6
// Object Class
7
struct ObjectUFO_Plasma {
8
RSDK_OBJECT
9
bool32 forceEnabled; // unused, this was prolly copied from OOZ/Smog lol
10
ScanlineInfo *scanlines;
11
ScanlineInfo scanlineList[0x100];
12
uint16 aniFrames;
13
int32 starPostID; // unused, this was prolly copied from OOZ/Smog lol
14
};
15
16
// Entity Class
17
struct EntityUFO_Plasma {
18
RSDK_ENTITY
19
StateMachine(state); // unused
20
Animator animator; // unused
21
int32 unused1; // unused
22
int32 unused2; // unused
23
};
24
25
// Object Struct
26
extern ObjectUFO_Plasma *UFO_Plasma;
27
28
// Standard Entity Events
29
void UFO_Plasma_Update(void);
30
void UFO_Plasma_LateUpdate(void);
31
void UFO_Plasma_StaticUpdate(void);
32
void UFO_Plasma_Draw(void);
33
void UFO_Plasma_Create(void *data);
34
void UFO_Plasma_StageLoad(void);
35
#if GAME_INCLUDE_EDITOR
36
void UFO_Plasma_EditorDraw(void);
37
void UFO_Plasma_EditorLoad(void);
38
#endif
39
void UFO_Plasma_Serialize(void);
40
41
// Extra Entity Functions
42
43
#endif //! OBJ_UFO_PLASMA_H
44
45