NSMBW-Decomp
A decompilation of New Super Mario Bros. Wii
Loading...
Searching...
No Matches
d_yes_no_window.cpp File Reference

Go to the source code of this file.

Macros

#define OPTIONS_YES_NO   { true, true, false }
 
#define OPTIONS_OK   { false, false, true }
 

Functions

 STATE_DEFINE (dYesNoWindow_c, InitWait)
 
 STATE_DEFINE (dYesNoWindow_c, OpenAnimeEndWait)
 
 STATE_DEFINE (dYesNoWindow_c, ButtonOnStageAnimeEndWait)
 
 STATE_DEFINE (dYesNoWindow_c, ButtonChangeAnimeEndWait)
 
 STATE_DEFINE (dYesNoWindow_c, SelectWait)
 
 STATE_DEFINE (dYesNoWindow_c, HitAnimeEndWait)
 
 STATE_DEFINE (dYesNoWindow_c, ClouseAnimeEndWait)
 
 STATE_DEFINE (dYesNoWindow_c, HitAnimeAfterWait)
 
 BASE_PROFILE (YES_NO_WINDOW, dYesNoWindow_c)
 

Variables

static const int MainMsgIDs []
 The prompt message for each type.
 
static const bool PicVisible [][3]
 Which buttons are visible in the Yes/No window.
 
static const int StartingCursorPositions []
 Starting cursor positions for the Yes/No window.
 
const int SoundEffects [] = { SE_SYS_BACK, SE_SYS_DECIDE, SE_SYS_CURSOR, SE_SYS_DIALOGUE_IN }
 

Macro Definition Documentation

◆ OPTIONS_YES_NO

#define OPTIONS_YES_NO   { true, true, false }

Definition at line 195 of file d_yes_no_window.cpp.

◆ OPTIONS_OK

#define OPTIONS_OK   { false, false, true }

Definition at line 196 of file d_yes_no_window.cpp.

Variable Documentation

◆ MainMsgIDs

const int MainMsgIDs[]
static

The prompt message for each type.

Definition at line 163 of file d_yes_no_window.cpp.

◆ PicVisible

const bool PicVisible[][3]
static

Which buttons are visible in the Yes/No window.

Definition at line 199 of file d_yes_no_window.cpp.

◆ StartingCursorPositions

const int StartingCursorPositions[]
static

Starting cursor positions for the Yes/No window.

Definition at line 232 of file d_yes_no_window.cpp.

◆ SoundEffects

const int SoundEffects[] = { SE_SYS_BACK, SE_SYS_DECIDE, SE_SYS_CURSOR, SE_SYS_DIALOGUE_IN }

Definition at line 264 of file d_yes_no_window.cpp.