Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
rubberduckycooly
GitHub Repository: rubberduckycooly/Sonic-Mania-Decompilation
Path: blob/master/SonicMania/Objects/UFO/UFO_Shadow.h
338 views
1
#ifndef OBJ_UFO_SHADOW_H
2
#define OBJ_UFO_SHADOW_H
3
4
#include "Game.h"
5
6
// Object Class
7
struct ObjectUFO_Shadow {
8
RSDK_OBJECT
9
uint16 sceneID;
10
uint16 modelIndex;
11
};
12
13
// Entity Class
14
struct EntityUFO_Shadow {
15
RSDK_ENTITY
16
int32 shadowScale;
17
Entity *parent;
18
Matrix matrix;
19
Animator animator;
20
};
21
22
// Object Struct
23
extern ObjectUFO_Shadow *UFO_Shadow;
24
25
// Standard Entity Events
26
void UFO_Shadow_Update(void);
27
void UFO_Shadow_LateUpdate(void);
28
void UFO_Shadow_StaticUpdate(void);
29
void UFO_Shadow_Draw(void);
30
void UFO_Shadow_Create(void *data);
31
void UFO_Shadow_StageLoad(void);
32
#if GAME_INCLUDE_EDITOR
33
void UFO_Shadow_EditorDraw(void);
34
void UFO_Shadow_EditorLoad(void);
35
#endif
36
void UFO_Shadow_Serialize(void);
37
38
// Extra Entity Functions
39
40
#endif //! OBJ_UFO_SHADOW_H
41
42