2#include <game/bases/d_base.hpp>
3#include <game/bases/d_lytbase.hpp>
9class dYesNoWindow_c :
public dBase_c {
18 WATCH_UNLOCKED_HINT_MOVIE,
22 GOT_ALL_STAR_COINS_MENTION_W9,
23 BOWSERJR_SINGLEPLAYER,
27 BACK_TO_COURSE_SELECTION,
28 GOT_ALL_STAR_COINS_ALL_WORLDS,
31 ALL_TOAD_HOUSES_RETURNED,
33 COURSE_CLEAR_WITH_SUPER_GUIDE,
36 PROGRESS_AUTOSAVE_AFTER_W9_UNLOCK,
38 BLOCK_TRANSFORMATION_REVERSE,
A text box class with BMG message support.
dBase_c()
Constructs a new base.
Displays a confirmation prompt.
ANIM_NAME_e
The animation names used for the window.
nw4r::lyt::Pane * mpRootPane
The root pane of the window.
bool mIsActive
Whether the window is currently open.
bool mHasLoadedLayout
Whether the layout has been loaded.
bool mHitButton
Whether a button has been pressed.
bool mKeepOpen
Whether the window should stay open after a button has been pressed.
LytBase_c mLayout
The layout for the window.
sFStateMgr_c< dYesNoWindow_c, sStateMethodUsr_FI_c > mStateMgr
The state manager for the window.
ANIMS_e
The animations used for the window.
CURSOR_POS_e
The possible cursor positions.
virtual int execute()
do method for the execute operation.
bool mIsAnimating
Whether an animation is currently playing.
WINDOW_TYPE_e mType
The type of the window.
LytTextBox_c * mpTextBoxes[T_COUNT]
The text boxes.
int mPrevCursorPos
The previous cursor position.
virtual int doDelete()
do method for the delete operation.
virtual int draw()
do method for the draw operation.
T_FIXED_PANE_e
The fixed text boxes used for the window.
T_PANE_e
The text boxes used for the window.
N_PANE_e
The null panes used for the window.
SOUND_e
The sound effect types used for the window.
nw4r::lyt::Pane * mpNullPanes[N_COUNT]
The null panes.
int mStarCoinsRequired
The number of star coins required to unlock a hint movie.
bool mCancel
Whether the window has been cancelled (and closed).
bool mHideBG
Whether to hide the translucent background that fills the screen.
nw4r::lyt::Picture * mpPictures[P_COUNT]
The picture panes.
virtual int create()
do method for the create operation.
P_PANE_e
The picture panes used for the window.
WINDOW_TYPE_e
The prompt type.
void populateLayout()
Fills out the window content according to the settings.
int mCursorPos
The current cursor position.
A wrapper for sStateMgr_c that uses sFStateFct_c and sStateIDChk_c.
#define STATE_FUNC_DECLARE(class, name)
Declares a state.