Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
rubberduckycooly
GitHub Repository: rubberduckycooly/Sonic-Mania-Decompilation
Path: blob/master/SonicMania/Objects/Continue/ContinueSetup.h
338 views
1
#ifndef OBJ_CONTINUESETUP_H
2
#define OBJ_CONTINUESETUP_H
3
4
#include "Game.h"
5
6
// Object Class
7
struct ObjectContinueSetup {
8
RSDK_OBJECT
9
Animator animator;
10
uint16 sfxAccept;
11
uint16 countIndex[10];
12
uint16 sceneIndex;
13
};
14
15
// Entity Class
16
struct EntityContinueSetup {
17
RSDK_ENTITY
18
StateMachine(state);
19
int32 timer;
20
int32 secondTimer;
21
int32 countTimer;
22
int32 rotationX;
23
int32 unused1;
24
int32 numberColor;
25
bool32 showContinues;
26
Matrix matTemp;
27
Matrix matTranslate;
28
Matrix matRotateX;
29
Matrix matRotateY;
30
Matrix matFinal;
31
};
32
33
// Object Struct
34
extern ObjectContinueSetup *ContinueSetup;
35
36
// Standard Entity Events
37
void ContinueSetup_Update(void);
38
void ContinueSetup_LateUpdate(void);
39
void ContinueSetup_StaticUpdate(void);
40
void ContinueSetup_Draw(void);
41
void ContinueSetup_Create(void *data);
42
void ContinueSetup_StageLoad(void);
43
#if GAME_INCLUDE_EDITOR
44
void ContinueSetup_EditorDraw(void);
45
void ContinueSetup_EditorLoad(void);
46
#endif
47
void ContinueSetup_Serialize(void);
48
49
// Extra Entity Functions
50
void ContinueSetup_State_FadeIn(void);
51
void ContinueSetup_State_HandleCountdown(void);
52
void ContinueSetup_State_ContinueGame(void);
53
void ContinueSetup_State_ReturnToMenu(void);
54
55
#endif //! OBJ_CONTINUESETUP_H
56
57