Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
rubberduckycooly
GitHub Repository: rubberduckycooly/Sonic-Mania-Decompilation
Path: blob/master/SonicMania/Objects/OOZ/Smog.h
338 views
1
#ifndef OBJ_SMOG_H
2
#define OBJ_SMOG_H
3
4
#include "Game.h"
5
6
// Object Class
7
struct ObjectSmog {
8
RSDK_OBJECT
9
bool32 forceEnabled;
10
ScanlineInfo *scanlines;
11
ScanlineInfo scanlineList[0x100];
12
uint16 aniFrames;
13
int32 starPostID;
14
};
15
16
// Entity Class
17
struct EntitySmog {
18
RSDK_ENTITY
19
StateMachine(state); // unused
20
int32 timer;
21
Animator animator; // unused
22
int32 unused1; // unused
23
int32 unused2; // unused
24
};
25
26
// Object Struct
27
extern ObjectSmog *Smog;
28
29
// Standard Entity Events
30
void Smog_Update(void);
31
void Smog_LateUpdate(void);
32
void Smog_StaticUpdate(void);
33
void Smog_Draw(void);
34
void Smog_Create(void *data);
35
void Smog_StageLoad(void);
36
#if GAME_INCLUDE_EDITOR
37
void Smog_EditorDraw(void);
38
void Smog_EditorLoad(void);
39
#endif
40
void Smog_Serialize(void);
41
42
// Extra Entity Functions
43
void Smog_DrawHook_ApplySmogPalette(void);
44
45
#endif //! OBJ_SMOG_H
46
47