Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
rubberduckycooly
GitHub Repository: rubberduckycooly/Sonic-Mania-Decompilation
Path: blob/master/SonicMania/Objects/Global/InvincibleStars.h
338 views
1
#ifndef OBJ_INVINCIBLESTARS_H
2
#define OBJ_INVINCIBLESTARS_H
3
4
#include "Game.h"
5
6
// Object Class
7
struct ObjectInvincibleStars {
8
RSDK_OBJECT
9
uint16 aniFrames;
10
};
11
12
// Entity Class
13
struct EntityInvincibleStars {
14
RSDK_ENTITY
15
EntityPlayer *player;
16
Vector2 starPos[8];
17
int32 starAngle[2];
18
int32 starFrame[2];
19
int32 starOffset;
20
Animator starAnimator[4];
21
};
22
23
// Object Struct
24
extern ObjectInvincibleStars *InvincibleStars;
25
26
// Standard Entity Events
27
void InvincibleStars_Update(void);
28
void InvincibleStars_LateUpdate(void);
29
void InvincibleStars_StaticUpdate(void);
30
void InvincibleStars_Draw(void);
31
void InvincibleStars_Create(void *data);
32
void InvincibleStars_StageLoad(void);
33
#if GAME_INCLUDE_EDITOR
34
void InvincibleStars_EditorDraw(void);
35
void InvincibleStars_EditorLoad(void);
36
#endif
37
void InvincibleStars_Serialize(void);
38
39
// Extra Entity Functions
40
41
#endif //! OBJ_INVINCIBLESTARS_H
42
43