Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
rubberduckycooly
GitHub Repository: rubberduckycooly/Sonic-Mania-Decompilation
Path: blob/master/SonicMania/Objects/AIZ/AIZEggRobo.h
338 views
1
#ifndef OBJ_AIZEGGROBO_H
2
#define OBJ_AIZEGGROBO_H
3
4
#include "Game.h"
5
6
// Object Class
7
struct ObjectAIZEggRobo {
8
RSDK_OBJECT
9
uint16 aniFrames;
10
};
11
12
// Entity Class
13
struct EntityAIZEggRobo {
14
RSDK_ENTITY
15
StateMachine(state); // unused
16
bool32 oscillate;
17
bool32 forKnux;
18
int32 unused1;
19
Vector2 movePos;
20
Vector2 startPos;
21
int32 unused2;
22
int32 oscillateOffset;
23
int32 unused3;
24
int32 unused4;
25
Animator animatorBody;
26
Animator animatorArm;
27
Animator animatorLegs;
28
};
29
30
// Object Struct
31
extern ObjectAIZEggRobo *AIZEggRobo;
32
33
// Standard Entity Events
34
void AIZEggRobo_Update(void);
35
void AIZEggRobo_LateUpdate(void);
36
void AIZEggRobo_StaticUpdate(void);
37
void AIZEggRobo_Draw(void);
38
void AIZEggRobo_Create(void *data);
39
void AIZEggRobo_StageLoad(void);
40
#if GAME_INCLUDE_EDITOR
41
void AIZEggRobo_EditorDraw(void);
42
void AIZEggRobo_EditorLoad(void);
43
#endif
44
void AIZEggRobo_Serialize(void);
45
46
// Extra Entity Functions
47
48
#endif //! OBJ_AIZEGGROBO_H
49
50