2#include <game/bases/d_2d.hpp>
3#include <game/bases/d_lytbase.hpp>
4#include <game/mLib/m_vec.hpp>
23 STATE_NONE = STATE_COUNT
85 void setPlayer1upColor(
int);
86 void setPlayer1000Color(
int);
87 void setPlayer100Color(
int);
90 void setNormalOrBlueColor();
92 void ScissorMaskSet();
101 void CreateSmallScore(
const mVec3_c &,
int,
int);
104 void setClipScale(
mVec2_c v) { mClipScale = v; }
129 bool mEnableColorChange;
130 bool mEnableBigSmallAnim;
131 bool mAnimIsShrinking;
A text box class with BMG message support.
Displays a small popup score indicator.
bool mHasBlueColor
Whether counter type score popups should be colored blue instead of red.
int mChgColorCounter
Counter that is incremented every call to chgColor(), which ensures that the 1-UP color is only set o...
static dSmallScore_c * m_instance
The instance of the score popup creator.
LytBase_c mLayout
The layout for the score popup.
virtual ~dSmallScore_c()
Destroys the score popup creator.
STATE_e mState
The state the score popup is in.
STATE_e
The possible states of the score popup.
dSmallScore_c()
Constructs a new score popup creator.
N_PANE_e
The null panes used for the layout.
nw4r::lyt::Pane * mpRootPane
The root pane of the layout.
u32 mCurTextbox
The textbox currently displayed. Value is a T_PANE_e.
POPUP_TYPE_e
The different types of the small score popups.
@ POPUP_TYPE_4UP
The text "4-UP".
@ POPUP_TYPE_1000
The number 1000.
@ POPUP_TYPE_5
The number 5, used for red coins and toad balloons.
@ POPUP_TYPE_8000
The number 8000.
@ POPUP_TYPE_200
The number 200.
@ POPUP_TYPE_COIN_15
[Coin icon]x15. Used in Coin Battle.
@ POPUP_TYPE_1UP_COLOR_CHANGE
The text "1-UP", but changes color (see chgColor). Used when a 1-UP is awarded to multiple players.
@ POPUP_TYPE_COIN_10
[Coin icon]x10. Used in Coin Battle.
@ POPUP_TYPE_1UP
The text "1-UP".
@ POPUP_TYPE_COIN_3
[Coin icon]x3. Used in Coin Battle.
@ POPUP_TYPE_6
The number 6, used for red coins and toad balloons.
@ POPUP_TYPE_COIN_5
[Coin icon]x5. Used in Coin Battle.
@ POPUP_TYPE_3UP
The text "3-UP".
@ POPUP_TYPE_1
The number 1, used for red coins and toad balloons.
@ POPUP_TYPE_2
The number 2, used for red coins and toad balloons.
@ POPUP_TYPE_4
The number 4, used for red coins and toad balloons.
@ POPUP_TYPE_2000
The number 2000.
@ POPUP_TYPE_COIN_20
[Coin icon]x20. Used in Coin Battle.
@ POPUP_TYPE_INVALID
Invalid popup type.
@ POPUP_TYPE_400
The number 400.
@ POPUP_TYPE_8
The number 8, used for red coins and toad balloons.
@ POPUP_TYPE_7
The number 7, used for red coins and toad balloons.
@ POPUP_TYPE_2UP
The text "2-UP".
@ POPUP_TYPE_3
The number 3, used for red coins and toad balloons.
@ POPUP_TYPE_COIN_2
[Coin icon]x2. Used in Coin Battle.
@ POPUP_TYPE_4000
The number 4000.
@ POPUP_TYPE_800
The number 800.
@ POPUP_TYPE_100
The number 100.
LytTextBox_c * mpTextBoxes[T_COUNT]
The text boxes used for the layout.
int mDispWaitCounter
The amount of frames the DispWait state has been active.
float mMaxHeight
The maximum height the score popup can be displayed at.
int mDispWaitTime
The number of frames to wait in the DispWait state.
int mPopupType
The popup type. Value is a POPUP_TYPE_e.
T_PANE_e
The text boxes used for the layout.
bool mInitialized
Whether the layout has been initialized.
nw4r::lyt::Pane * mpNullPanes[N_COUNT]
The null panes used for the layout.
A two-dimensional floating point vector.
A three-dimensional floating point vector.