Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
rubberduckycooly
GitHub Repository: rubberduckycooly/Sonic-Mania-Decompilation
Path: blob/master/SonicMania/Objects/AIZ/FernParallax.h
338 views
1
#ifndef OBJ_FERNPARALLAX_H
2
#define OBJ_FERNPARALLAX_H
3
4
#include "Game.h"
5
6
#if MANIA_USE_PLUS
7
// Object Class
8
struct ObjectFernParallax {
9
RSDK_OBJECT
10
uint16 aniFrames;
11
EntityBase entityBuffer[2];
12
};
13
14
// Entity Class
15
struct EntityFernParallax {
16
RSDK_ENTITY
17
StateMachine(state); // unused
18
Animator animator;
19
uint8 aniID;
20
Vector2 parallaxFactor;
21
};
22
23
// Object Struct
24
extern ObjectFernParallax *FernParallax;
25
26
// Standard Entity Events
27
void FernParallax_Update(void);
28
void FernParallax_LateUpdate(void);
29
void FernParallax_StaticUpdate(void);
30
void FernParallax_Draw(void);
31
void FernParallax_Create(void *data);
32
void FernParallax_StageLoad(void);
33
#if GAME_INCLUDE_EDITOR
34
void FernParallax_EditorDraw(void);
35
void FernParallax_EditorLoad(void);
36
#endif
37
void FernParallax_Serialize(void);
38
39
// Extra Entity Functions
40
#endif
41
42
#endif //! OBJ_FERNPARALLAX_H
43
44