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 cScoreX;
97 /**
98 * @brief 24.0f
99 * @par Address: 0x10004E24
100 */
101 static const f32 cScoreY;
102
103public:
104 // Address: 0x020279E0
106
107 // Address: 0x02027BD8
108 void incRestAll(bool sound);
109 // Address: 0x02027C80
110 void ScoreSet(const sead::Vector3f& small_score_pos, ScoreType type, s32 player_no, bool rest_sound = true);
111 // Address: 0x02027DA8
112 void ScoreSet(Actor* actor_for_small_score_pos, ScoreType type, s32 player_no, f32 small_score_offset_x = cScoreX, f32 small_score_offset_y = cScoreY);
113 // Address: 0x02027DF4
114 void ScoreSet2(const sead::Vector3f& small_score_pos, ScoreType type, s32 player_no);
115 // Address: 0x02027EBC
116 void ScoreSet2(Actor* actor_for_small_score_pos, ScoreType type, s32 player_no, f32 small_score_offset_x = cScoreX, f32 small_score_offset_y = cScoreY);
117 // Address: 0x02027F04
118 void UnKnownScoreCreate(const sead::Vector3f& small_score_pos, ScoreType type);
119 // Address: 0x02027FCC
120 void UnKnownScoreSet(Actor* actor_for_small_score_pos, ScoreType type, f32 small_score_offset_x = 0.0f, f32 small_score_offset_y = 24.0f);
121 // Address: 0x0202821C
122 void incRestAllWithSmallScore(bool sound);
123};
Definition Actor.h:22
Definition ScoreMgr.h:9
void ScoreSet2(Actor *actor_for_small_score_pos, ScoreType type, s32 player_no, f32 small_score_offset_x=cScoreX, f32 small_score_offset_y=cScoreY)
void incRestAll(bool sound)
void ScoreSet2(const sead::Vector3f &small_score_pos, ScoreType type, s32 player_no)
static const f32 cScoreX
0.0f
Definition ScoreMgr.h:96
void ScoreSet(const sead::Vector3f &small_score_pos, ScoreType type, s32 player_no, bool rest_sound=true)
void ScoreSet(Actor *actor_for_small_score_pos, ScoreType type, s32 player_no, f32 small_score_offset_x=cScoreX, f32 small_score_offset_y=cScoreY)
void UnKnownScoreSet(Actor *actor_for_small_score_pos, ScoreType type, f32 small_score_offset_x=0.0f, f32 small_score_offset_y=24.0f)
static const f32 cScoreY
24.0f
Definition ScoreMgr.h:101
void incRestAllWithSmallScore(bool sound)
void UnKnownScoreCreate(const sead::Vector3f &small_score_pos, ScoreType type)