Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
rubberduckycooly
GitHub Repository: rubberduckycooly/Sonic-Mania-Decompilation
Path: blob/master/SonicMania/Objects/BSS/BSS_Palette.h
338 views
1
#ifndef OBJ_BSS_PALETTE_H
2
#define OBJ_BSS_PALETTE_H
3
4
#include "Game.h"
5
6
// Object Class
7
struct ObjectBSS_Palette {
8
RSDK_OBJECT
9
int32 startColorID;
10
int32 skyAlpha;
11
int32 globeAlpha;
12
uint16 aniFrames;
13
};
14
15
// Entity Class
16
struct EntityBSS_Palette {
17
RSDK_ENTITY
18
bool32 useStageConfig;
19
int32 paletteID;
20
uint8 skyAlpha;
21
uint8 globeAlpha;
22
color playfieldA;
23
color playfieldB;
24
color bgColor1;
25
color bgColor2;
26
color bgColor3;
27
Animator animator;
28
};
29
30
// Object Struct
31
extern ObjectBSS_Palette *BSS_Palette;
32
33
// Standard Entity Events
34
void BSS_Palette_Update(void);
35
void BSS_Palette_LateUpdate(void);
36
void BSS_Palette_StaticUpdate(void);
37
void BSS_Palette_Draw(void);
38
void BSS_Palette_Create(void *data);
39
void BSS_Palette_StageLoad(void);
40
#if GAME_INCLUDE_EDITOR
41
void BSS_Palette_EditorDraw(void);
42
void BSS_Palette_EditorLoad(void);
43
#endif
44
void BSS_Palette_Serialize(void);
45
46
// Extra Entity Functions
47
48
#endif //! OBJ_BSS_PALETTE_H
49
50