Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
rubberduckycooly
GitHub Repository: rubberduckycooly/Sonic-Mania-Decompilation
Path: blob/master/SonicMania/Objects/Pinball/PBL_TargetBumper.h
338 views
1
#ifndef OBJ_PBL_TARGETBUMPER_H
2
#define OBJ_PBL_TARGETBUMPER_H
3
4
#include "Game.h"
5
6
#if MANIA_USE_PLUS
7
// Object Class
8
struct ObjectPBL_TargetBumper {
9
RSDK_OBJECT
10
Animator unusedAnimator1;
11
Hitbox hitbox;
12
int32 drawType;
13
uint16 aniFrames; // prolly unused
14
uint16 modelFrames;
15
uint16 sceneIndex;
16
uint16 sfxTargetBumper;
17
uint16 sfxFlipper;
18
};
19
20
// Entity Class
21
struct EntityPBL_TargetBumper {
22
RSDK_ENTITY
23
StateMachine(state);
24
int32 height;
25
int32 color;
26
Matrix unusedMatrix1;
27
Matrix matTransform;
28
Matrix matWorld;
29
Matrix matNormal;
30
Animator animator;
31
};
32
33
// Object Struct
34
extern ObjectPBL_TargetBumper *PBL_TargetBumper;
35
36
// Standard Entity Events
37
void PBL_TargetBumper_Update(void);
38
void PBL_TargetBumper_LateUpdate(void);
39
void PBL_TargetBumper_StaticUpdate(void);
40
void PBL_TargetBumper_Draw(void);
41
void PBL_TargetBumper_Create(void *data);
42
void PBL_TargetBumper_StageLoad(void);
43
#if GAME_INCLUDE_EDITOR
44
void PBL_TargetBumper_EditorDraw(void);
45
void PBL_TargetBumper_EditorLoad(void);
46
#endif
47
void PBL_TargetBumper_Serialize(void);
48
49
// Extra Entity Functions
50
void PBL_TargetBumper_HandlePlayerInteractions(void);
51
void PBL_TargetBumper_State_Active(void);
52
void PBL_TargetBumper_State_Reced(void);
53
void PBL_TargetBumper_State_Rise(void);
54
55
#endif
56
57
#endif //! OBJ_PBL_TARGETBUMPER_H
58
59