New Super Mario Bros. U Headers
Loading...
Searching...
No Matches
ScoreMgr.h
Go to the documentation of this file.
1#pragma once
2
3#include <heap/seadDisposer.h>
4#include <math/seadVector.h>
5
6class Actor;
7
9{
10 // createInstance() Address: 0x02027A0C
11 // deleteInstance() Address: Deleted
12 // sInstance Address: 0x101C63C4
13 // SingletonDisposer_::~SingletonDisposer_() Address: 0x02028418
14 // SingletonDisposer_::sStaticDisposer Address: 0x101C63C8
15 // SingletonDisposer_::vtbl Address: 0x10004E28
17
18public:
20 {
22
23 /* Base */
34
35 /* ScoreSet */
36
46
49
52
53 /* UnKnownScoreSet */
54
64
67
68 /* ScoreSet2 */
69
79
81
84 };
85 static_assert(cScoreType_Point_Num == 8);
86 static_assert(cScoreType_Base_Num == 9);
87 static_assert(cScoreType_Num == 11);
88 static_assert(cUnKnownScoreType_Num == 10);
89 static_assert(cScoreType2_Point_Num == 5);
90 static_assert(cScoreType2_Num == 10);
91
92 /**
93 * @brief 0.0f
94 * @par Address: 0x10004E20
95 */
96 static const f32 cScoreDispXPos;
97 /**
98 * @brief 24.0f
99 * @par Address: 0x10004E24
100 */
101 static const f32 cScoreDispYPos;
102
103public:
104 // Address: 0x020279E0
106
107 // Address: Deleted
108 void allOneUpSmallScore(const sead::Vector3f& pos);
109 // Address: 0x02027A8C
110 void addPlayerRest(s32 player_no, s32, bool sound);
111 // Address: 0x02027BD8
112 void setAllOneUp(bool sound);
113 // Address: 0x0202821C
114 void setEntryAllPlayerOneUp(bool sound);
115 // Address: Deleted
116 void setEntryPlayerOneUp_(s32 player_no, bool sound);
117 // Address: 0x02028140
118 void playerScoreSet(u32 type, s32 player_no, bool sound);
119 // Address: 0x0202839C
120 void setAllPlayerOneUpForZorome(f32 small_score_offset_y, bool sound);
121 // Address: 0x020282E0
122 void setPlayerOneUpForZorome_(s32 player_no, f32*, bool sound);
123 // Address: Deleted
124 void baloonPlayerSetOneUpForZorome_(s32 player_no, f32, bool sound);
125 // Address: 0x02027C80
126 void scoreSet(const sead::Vector3f& pos, u32 type, s32 player_no, bool);
127 // Address: 0x02027DA8
128 void chengePosScoreSet(Actor* actor_for_small_score_pos, u32 type, s32 player_no, f32 small_score_offset_x = cScoreDispXPos, f32 small_score_offset_y = cScoreDispYPos);
129 // Address: 0x02027DF4
130 void comboScoreSet(const sead::Vector3f& small_score_pos, u32 type, s32 player_no);
131 // Address: 0x02027EBC
132 void chengePosComboScoreSet(const Actor* actor_for_small_score_pos, u32 type, s32 player_no, f32 small_score_offset_x = cScoreDispXPos, f32 small_score_offset_y = cScoreDispYPos);
133 // Address: 0x02027F04
134 void unKnownScoreSet(const sead::Vector3f& small_score_pos, u32 type);
135 // Address: 0x02027FCC
136 void chengePosUnKnownScoreSet(const Actor* actor_for_small_score_pos, u32 type, f32 small_score_offset_x = 0.0f, f32 small_score_offset_y = 24.0f);
137 // Address: Deleted
138 void miniGameScoreSet(const sead::Vector3f&, u32 type, s32 player_no);
139 // Address: 0x02028014
140 bool getScorePlayerHeadPos(sead::Vector3f& pos, s32 player_no);
141 // Address: Deleted
142 void goalComboScoreSet(sead::Vector3f& pos, u32 type, s32 player_no);
143 // Address: Deleted
144 void chengePosGoalComboScoreSet(const Actor*, u32 type, s32 player_no, f32, f32);
145};
Definition Actor.h:24
Definition ScoreMgr.h:9
void miniGameScoreSet(const sead::Vector3f &, u32 type, s32 player_no)
bool getScorePlayerHeadPos(sead::Vector3f &pos, s32 player_no)
void setAllOneUp(bool sound)
void allOneUpSmallScore(const sead::Vector3f &pos)
void setEntryPlayerOneUp_(s32 player_no, bool sound)
void addPlayerRest(s32 player_no, s32, bool sound)
void chengePosScoreSet(Actor *actor_for_small_score_pos, u32 type, s32 player_no, f32 small_score_offset_x=cScoreDispXPos, f32 small_score_offset_y=cScoreDispYPos)
static const f32 cScoreDispXPos
0.0f
Definition ScoreMgr.h:96
void chengePosUnKnownScoreSet(const Actor *actor_for_small_score_pos, u32 type, f32 small_score_offset_x=0.0f, f32 small_score_offset_y=24.0f)
void comboScoreSet(const sead::Vector3f &small_score_pos, u32 type, s32 player_no)
void baloonPlayerSetOneUpForZorome_(s32 player_no, f32, bool sound)
void goalComboScoreSet(sead::Vector3f &pos, u32 type, s32 player_no)
void playerScoreSet(u32 type, s32 player_no, bool sound)
void chengePosGoalComboScoreSet(const Actor *, u32 type, s32 player_no, f32, f32)
void unKnownScoreSet(const sead::Vector3f &small_score_pos, u32 type)
static const f32 cScoreDispYPos
24.0f
Definition ScoreMgr.h:101
void setPlayerOneUpForZorome_(s32 player_no, f32 *, bool sound)
void setAllPlayerOneUpForZorome(f32 small_score_offset_y, bool sound)
void setEntryAllPlayerOneUp(bool sound)
void chengePosComboScoreSet(const Actor *actor_for_small_score_pos, u32 type, s32 player_no, f32 small_score_offset_x=cScoreDispXPos, f32 small_score_offset_y=cScoreDispYPos)
void scoreSet(const sead::Vector3f &pos, u32 type, s32 player_no, bool)