Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
rubberduckycooly
GitHub Repository: rubberduckycooly/Sonic-Mania-Decompilation
Path: blob/master/SonicMania/Objects/Credits/CreditsSetup.h
338 views
1
#ifndef OBJ_CREDITSSETUP_H
2
#define OBJ_CREDITSSETUP_H
3
4
#include "Game.h"
5
6
// Object Class
7
struct ObjectCreditsSetup {
8
RSDK_OBJECT
9
int32 unused1;
10
int32 creditsTrack;
11
EntityFXFade *fxFade;
12
bool32 started;
13
bool32 skipped;
14
int32 scrollPos;
15
int32 creditsPos;
16
int32 creditsSize;
17
};
18
19
// Entity Class
20
struct EntityCreditsSetup {
21
RSDK_ENTITY
22
};
23
24
// Object Struct
25
extern ObjectCreditsSetup *CreditsSetup;
26
27
// Standard Entity Events
28
void CreditsSetup_Update(void);
29
void CreditsSetup_LateUpdate(void);
30
void CreditsSetup_StaticUpdate(void);
31
void CreditsSetup_Draw(void);
32
void CreditsSetup_Create(void *data);
33
void CreditsSetup_StageLoad(void);
34
#if GAME_INCLUDE_EDITOR
35
void CreditsSetup_EditorDraw(void);
36
void CreditsSetup_EditorLoad(void);
37
#endif
38
void CreditsSetup_Serialize(void);
39
40
// Extra Entity Functions
41
void CreditsSetup_LoadCreditsStrings(void);
42
43
#endif //! OBJ_CREDITSSETUP_H
44
45