2#include <game/bases/d_base.hpp>
3#include <game/bases/d_lytbase.hpp>
4#include <game/sLib/s_State.hpp>
17 WATCH_UNLOCKED_HINT_MOVIE,
21 GOT_ALL_STAR_COINS_MENTION_W9,
22 BOWSERJR_SINGLEPLAYER,
26 BACK_TO_COURSE_SELECTION,
27 GOT_ALL_STAR_COINS_ALL_WORLDS,
30 ALL_TOAD_HOUSES_RETURNED,
32 COURSE_CLEAR_WITH_SUPER_GUIDE,
35 PROGRESS_AUTOSAVE_AFTER_W9_UNLOCK,
37 BLOCK_TRANSFORMATION_REVERSE,
The minimum required implementation for a base.
Displays a confirmation prompt.
nw4r::lyt::Pane * mpRootPane
The root pane of the window.
bool mIsActive
Whether the window is currently open.
STATE_FUNC_DECLARE(dYesNoWindow_c, ClouseAnimeEndWait)
Waiting for the window to finish the closing animation.
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.
STATE_FUNC_DECLARE(dYesNoWindow_c, InitWait)
Initial state. Switches to OpenAnimeStartWait immediately.
nw4r::lyt::Picture * getPicturePane(int n)
Gets the n-th picture pane.
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.
STATE_FUNC_DECLARE(dYesNoWindow_c, SelectWait)
Waiting for either a button change or button hit to occur.
STATE_FUNC_DECLARE(dYesNoWindow_c, OpenAnimeEndWait)
Waiting for the window to finish the opening animation.
STATE_FUNC_DECLARE(dYesNoWindow_c, HitAnimeEndWait)
Waiting for the button to finish the hit animation.
int mPrevCursorPos
The previous cursor position.
STATE_FUNC_DECLARE(dYesNoWindow_c, HitAnimeAfterWait)
Waiting in an infinite loop after the button was pressed.
virtual int doDelete()
do method for the delete operation.
virtual int draw()
do method for the draw operation.
STATE_FUNC_DECLARE(dYesNoWindow_c, ButtonOnStageAnimeEndWait)
Plays the button appearing animation and waits for it to finish.
SOUND_e
The sound effect types used by the window.
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.
virtual int create()
do method for the create operation.
WINDOW_TYPE_e
The prompt type.
void populateLayout()
Fills out the window content according to the settings.
int mCursorPos
The current cursor position.
STATE_FUNC_DECLARE(dYesNoWindow_c, ButtonChangeAnimeEndWait)
Playing the button change animations.
A wrapper for sStateMgr_c that uses sFStateFct_c and sStateIDChk_c.