Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
rubberduckycooly
GitHub Repository: rubberduckycooly/Sonic-Mania-Decompilation
Path: blob/master/SonicMania/Objects/TMZ/TMZ2Setup.h
338 views
1
#ifndef OBJ_TMZ2SETUP_H
2
#define OBJ_TMZ2SETUP_H
3
4
#include "Game.h"
5
6
typedef enum { TMZ2_WARPDOOR_EFFECT_MIST = 1 } TMZ2WarpDoorEffects;
7
8
// Object Class
9
struct ObjectTMZ2Setup {
10
RSDK_OBJECT
11
bool32 paletteInit;
12
int32 palDuration;
13
int32 palTimer;
14
int32 unused1;
15
int32 unused2;
16
uint16 aniTiles;
17
uint16 dynTiles;
18
};
19
20
// Entity Class
21
struct EntityTMZ2Setup {
22
RSDK_ENTITY
23
};
24
25
// Object Struct
26
extern ObjectTMZ2Setup *TMZ2Setup;
27
28
// Standard Entity Events
29
void TMZ2Setup_Update(void);
30
void TMZ2Setup_LateUpdate(void);
31
void TMZ2Setup_StaticUpdate(void);
32
void TMZ2Setup_Draw(void);
33
void TMZ2Setup_Create(void *data);
34
void TMZ2Setup_StageLoad(void);
35
#if GAME_INCLUDE_EDITOR
36
void TMZ2Setup_EditorDraw(void);
37
void TMZ2Setup_EditorLoad(void);
38
#endif
39
void TMZ2Setup_Serialize(void);
40
41
// Extra Entity Functions
42
void TMZ2Setup_DrawHook_ApplyDynTilesPalette(void);
43
void TMZ2Setup_DrawHook_RemoveDynTilesPalette(void);
44
45
void TMZ2Setup_DrawDynTiles_Eggman(void);
46
void TMZ2Setup_DrawDynTiles_Ruby(void);
47
48
#endif //! OBJ_TMZ2SETUP_H
49
50