NSMBW-Decomp
A decompilation of New Super Mario Bros. Wii
Loading...
Searching...
No Matches
dCourseSelectGuide_c Class Reference

#include <game/bases/d_CourseSelectGuide.hpp>

Description

The world map HUD.

Definition at line 14 of file d_CourseSelectGuide.hpp.

Classes

struct  GlobalData_t
 

Public Member Functions

 dCourseSelectGuide_c ()
 Constructs a new course select guide instance.
 
virtual ~dCourseSelectGuide_c ()
 Destroys the instance.
 

Static Public Attributes

static dCourseSelectGuide_cm_instance
 The instance of the view.
 
static const int c_DISP_WAIT_TIMER = 20
 The speed at which the opacity of the remaining lives counter is changed.
 

Private Types

enum  T_PANE_e {
  T_worldNum_00 ,
  T_cSelect_00 ,
  T_cSelect_pic ,
  T_lifeNumber_00 ,
  T_lifeNumber_01 ,
  T_lifeNumber_02 ,
  T_lifeNumber_03 ,
  T_guideViewLS_00 ,
  T_guideViewL_01 ,
  T_COUNT
}
 The text boxes used in the layout. More...
 
enum  N_PANE_e {
  N_IconPos1P_00 ,
  N_IconPos2P_00 ,
  N_IconPos3P_00 ,
  N_IconPos4P_00 ,
  N_mapArrow_00 ,
  N_proportionL_00 ,
  N_proportionR_00 ,
  N_proportionC_00 ,
  N_guideViewC_00 ,
  N_guideViewR_01 ,
  N_left_00 ,
  N_COUNT
}
 The null panes used in the layout. More...
 
enum  P_PANE_e {
  P_cC_1_00 ,
  P_cC_2_00 ,
  P_cC_3_00 ,
  P_cC_1s_00 ,
  P_cC_2s_00 ,
  P_cC_3s_00 ,
  P_flagSkull_00 ,
  P_marioFace_00 ,
  P_luigiFace_00 ,
  P_BkinoFace_00 ,
  P_YkinoFace_00 ,
  P_bgShadow_00 ,
  P_COUNT
}
 The picture panes used in the layout. More...
 
enum  ANIM_NAME_e {
  inInfo ,
  loopInfo ,
  outInfo ,
  inMapArrow ,
  loopArrow ,
  outMapArrow ,
  inShadow ,
  outShadow ,
  ANIM_NAME_COUNT
}
 The animation names used in the layout. More...
 
enum  ANIM_e {
  ANIM_IN_UNDER ,
  ANIM_IN_ZANKI ,
  ANIM_IN_COURSE_INFO ,
  ANIM_LOOP_UNDER ,
  ANIM_LOOP_ZANKI ,
  ANIM_LOOP_COURSE_INFO ,
  ANIM_OUT_UNDER ,
  ANIM_OUT_ZANKI ,
  ANIM_OUT_COURSE_INFO ,
  ANIM_IN_ARROW_R ,
  ANIM_IN_ARROW_L ,
  ANIM_IN_ARROW_U ,
  ANIM_IN_ARROW_D ,
  ANIM_LOOP_ARROW_R ,
  ANIM_LOOP_ARROW_L ,
  ANIM_LOOP_ARROW_U ,
  ANIM_LOOP_ARROW_D ,
  ANIM_OUT_ARROW_R ,
  ANIM_OUT_ARROW_L ,
  ANIM_OUT_ARROW_U ,
  ANIM_OUT_ARROW_D ,
  ANIM_IN_SHADOW ,
  ANIM_OUT_SHADOW ,
  ANIM_COUNT
}
 The animations used for the layout. More...
 
enum  T_FIXED_PANE_e {
  T_guideViewC_00 ,
  T_guideViewR_00 ,
  T_world_00 ,
  T_FIXED_COUNT
}
 The fixed panes used in the layout. More...
 

Private Member Functions

bool createLayout ()
 Creates the layout and initializes the class state.
 
void ScissorMaskSet ()
 Clips the layout to the maximum allowed size.
 
void RestNumberDisp ()
 Fills in the text boxes showing the remaining lives count.
 
void RestAlphaDisp ()
 Sets the opacity of the remaining lives count.
 
void execute ()
 The main loop of the view.
 
void draw ()
 Draws the view.
 
void doDelete ()
 Prepares the view for deletion.
 
void CollectionCoinSet ()
 Updates the star coin icons.
 
void PlayerIconSet ()
 Updates the player icons in the remaining lives info to the active player.
 
void CourseSelectSet (dWmLib::PointType_e type)
 Updates the textbox that displays the current course.
 
bool IsDirectionAllowed (int dir)
 Returns whether the arrow for direction dir should be shown.
 
void UpdateGuide (short courseNo, dWmLib::PointType_e type)
 Updates the course-related parts of the course info guide.
 
void ControllerConnectCheck ()
 Checks for attached controller extensions and updates the button hints with the correct icon.
 

Private Attributes

u32 mUnk
 
LytBase_c mLayout
 The layout for the window.
 
sFStateMgr_c< dCourseSelectGuide_c, sStateMethodUsr_FI_cmStateMgrWorldCourse
 The state manager for the course info (world / course name).
 
sFStateMgr_c< dCourseSelectGuide_c, sStateMethodUsr_FI_cmStateMgrGuide
 The state manager for the button legends and remaining lives display.
 
sFStateMgr_c< dCourseSelectGuide_c, sStateMethodUsr_FI_cmStateMgrUp
 The state manager for the up arrow for the map view.
 
sFStateMgr_c< dCourseSelectGuide_c, sStateMethodUsr_FI_cmStateMgrDown
 The state manager for the down arrow for the map view.
 
sFStateMgr_c< dCourseSelectGuide_c, sStateMethodUsr_FI_cmStateMgrLeft
 The state manager for the left arrow for the map view.
 
sFStateMgr_c< dCourseSelectGuide_c, sStateMethodUsr_FI_cmStateMgrRight
 The state manager for the right arrow for the map view.
 
sFStateMgr_c< dCourseSelectGuide_c, sStateMethodUsr_FI_cmStateMgrShadow
 The state manager for darkening the course view. [Unused?].
 
sFStateMgr_c< dCourseSelectGuide_c, sStateMethodUsr_FI_cmStateMgrScrollGuide
 The state manager for the button legends during the map view.
 
nw4r::lyt::PanempRootPane
 The root pane of the view.
 
nw4r::lyt::PanempNullPanes [N_COUNT]
 The null panes of the view.
 
LytTextBox_cmpTextBoxes [T_COUNT]
 The textboxes of the view.
 
nw4r::lyt::PicturempPicturePanes [P_COUNT]
 The picture panes of the view.
 
Remocon::EXTENSION_TYPE_e mExtension
 The currently attached Wii remote extension.
 
int mWorldNo
 The current world number.
 
int mCourseNo
 The current course number. Set to a negative value if it's a course with an icon.
 
int mCourseType
 The current course type.
 
int mRest [PLAYER_COUNT]
 The remaining lives for each player.
 
int mWorldCourseOnStageTimer
 Cooldown for showing the course info.
 
int mGuideOnStageTimer
 Cooldown for showing the remaining guide HUD.
 
int mRestAlpha
 
int mRestAlphaTarget
 The target transparency for mRestAlpha.
 
u8 mMoveDirection
 A bitmask describing which arrows should be shown in the free move view.
 
bool mInitialized
 Whether the layout has been fully initialized.
 
bool mShowCourseInfo
 Set this to true to show the course info.
 
bool mHideCourseInfo
 Set this to true to hide the course info.
 
bool mIsCourseInfoOutAnime
 Automatically set to false after the course info has been hidden.
 
bool mNoAnimCourseInfoIn
 Whether the course info should simply appear instead of sliding in.
 
bool mBeginGuide
 Set this to true to show the remaining guide.
 
bool mEndGuide
 Set this to true to hide the remaining guide.
 
bool mGuideRelated
 
bool mNoHUDAppearAnim
 Whether the HUD should be shown without an animation.
 
bool mEnableAllArrows
 Whether to show all map view arrows. Gets reset after 1 frame.
 
bool mDisableArrows
 Whether to stop updating the map view arrows.
 
bool mMapView
 Whether the HUD should process the map view elements.
 
bool mEnabled
 Controls whether the HUD is updated every frame.
 
bool mHideHUD
 Set this to true to hide the entire HUD.
 
bool mShowShadow
 Set this to true to darken the world map view.
 
bool mHideShadow
 Set this to true to remove the darkening of the world map view.
 
bool mInMapView
 Whether the HUD is in the map view mode.
 
bool mShowScrollGuide
 Set this to true to show the button legends for the map view mode.
 
bool mEndScrollGuide
 Set this to true to hide the button legends for the map view mode.
 
bool mScrollGuideRelated
 
bool mCourseInfoAnim
 Whether the course information is in an animation.
 
bool mUpAnim
 Whether the up arrow is in an animation.
 
bool mDownAnim
 Whether the down arrow is in an animation.
 
bool mLeftAnim
 Whether the left arrow is in an animation.
 
bool mRightAnim
 Whether the right arrow is in an animation.
 
bool mShowRestNumber
 Whether to update the remaining lives count.
 

Static Private Attributes

static sFStateID_c< dCourseSelectGuide_cStateID_WorldCourseOnStageWait
 
static sFStateID_c< dCourseSelectGuide_cStateID_WorldCourseOnStageAnimeEndCheck
 
static sFStateID_c< dCourseSelectGuide_cStateID_WorldCourseDisp
 
static sFStateID_c< dCourseSelectGuide_cStateID_WorldCourseExitAnimeEndCheck
 
static sFStateID_c< dCourseSelectGuide_cStateID_GuideOnStageWait
 
static sFStateID_c< dCourseSelectGuide_cStateID_GuideOnStageAnimeEndCheck
 
static sFStateID_c< dCourseSelectGuide_cStateID_GuideDisp
 
static sFStateID_c< dCourseSelectGuide_cStateID_GuideExitAnimeEndCheck
 
static sFStateID_c< dCourseSelectGuide_cStateID_UpOnStageWait
 
static sFStateID_c< dCourseSelectGuide_cStateID_UpOnStageAnimeEndCheck
 
static sFStateID_c< dCourseSelectGuide_cStateID_UpDisp
 
static sFStateID_c< dCourseSelectGuide_cStateID_UpExitAnimeEndCheck
 
static sFStateID_c< dCourseSelectGuide_cStateID_DownOnStageWait
 
static sFStateID_c< dCourseSelectGuide_cStateID_DownOnStageAnimeEndCheck
 
static sFStateID_c< dCourseSelectGuide_cStateID_DownDisp
 
static sFStateID_c< dCourseSelectGuide_cStateID_DownExitAnimeEndCheck
 
static sFStateID_c< dCourseSelectGuide_cStateID_LeftOnStageWait
 
static sFStateID_c< dCourseSelectGuide_cStateID_LeftOnStageAnimeEndCheck
 
static sFStateID_c< dCourseSelectGuide_cStateID_LeftDisp
 
static sFStateID_c< dCourseSelectGuide_cStateID_LeftExitAnimeEndCheck
 
static sFStateID_c< dCourseSelectGuide_cStateID_RightOnStageWait
 
static sFStateID_c< dCourseSelectGuide_cStateID_RightOnStageAnimeEndCheck
 
static sFStateID_c< dCourseSelectGuide_cStateID_RightDisp
 
static sFStateID_c< dCourseSelectGuide_cStateID_RightExitAnimeEndCheck
 
static sFStateID_c< dCourseSelectGuide_cStateID_ShadowOnStageWait
 
static sFStateID_c< dCourseSelectGuide_cStateID_ShadowOnStageAnimeEndCheck
 
static sFStateID_c< dCourseSelectGuide_cStateID_ShadowDisp
 
static sFStateID_c< dCourseSelectGuide_cStateID_ShadowExitAnimeEndCheck
 
static sFStateID_c< dCourseSelectGuide_cStateID_ScrollGuideOnStageWait
 
static sFStateID_c< dCourseSelectGuide_cStateID_ScrollGuideOnStageAnimeEndCheck
 
static sFStateID_c< dCourseSelectGuide_cStateID_ScrollGuideDisp
 
static sFStateID_c< dCourseSelectGuide_cStateID_ScrollGuideExitAnimeEndCheck
 

Member Enumeration Documentation

◆ T_PANE_e

The text boxes used in the layout.

Definition at line 18 of file d_CourseSelectGuide.hpp.

◆ N_PANE_e

The null panes used in the layout.

Definition at line 33 of file d_CourseSelectGuide.hpp.

◆ P_PANE_e

The picture panes used in the layout.

Definition at line 50 of file d_CourseSelectGuide.hpp.

◆ ANIM_NAME_e

The animation names used in the layout.

Definition at line 68 of file d_CourseSelectGuide.hpp.

◆ ANIM_e

The animations used for the layout.

Definition at line 82 of file d_CourseSelectGuide.hpp.

◆ T_FIXED_PANE_e

The fixed panes used in the layout.

Definition at line 96 of file d_CourseSelectGuide.hpp.

Constructor & Destructor Documentation

◆ dCourseSelectGuide_c()

dCourseSelectGuide_c::dCourseSelectGuide_c ( )

Constructs a new course select guide instance.

Definition at line 20 of file d_CourseSelectGuide.cpp.

◆ ~dCourseSelectGuide_c()

dCourseSelectGuide_c::~dCourseSelectGuide_c ( )
virtual

Destroys the instance.

Definition at line 68 of file d_CourseSelectGuide.cpp.

Member Function Documentation

◆ createLayout()

bool dCourseSelectGuide_c::createLayout ( )
private

Creates the layout and initializes the class state.

Definition at line 72 of file d_CourseSelectGuide.cpp.

◆ ScissorMaskSet()

void dCourseSelectGuide_c::ScissorMaskSet ( )
private

Clips the layout to the maximum allowed size.

Definition at line 244 of file d_CourseSelectGuide.cpp.

◆ RestNumberDisp()

void dCourseSelectGuide_c::RestNumberDisp ( )
private

Fills in the text boxes showing the remaining lives count.

Definition at line 283 of file d_CourseSelectGuide.cpp.

◆ RestAlphaDisp()

void dCourseSelectGuide_c::RestAlphaDisp ( )
private

Sets the opacity of the remaining lives count.

Definition at line 300 of file d_CourseSelectGuide.cpp.

◆ execute()

void dCourseSelectGuide_c::execute ( )
private

The main loop of the view.

Definition at line 323 of file d_CourseSelectGuide.cpp.

◆ draw()

void dCourseSelectGuide_c::draw ( )
private

Draws the view.

Definition at line 362 of file d_CourseSelectGuide.cpp.

◆ doDelete()

void dCourseSelectGuide_c::doDelete ( )
private

Prepares the view for deletion.

Definition at line 368 of file d_CourseSelectGuide.cpp.

◆ CollectionCoinSet()

void dCourseSelectGuide_c::CollectionCoinSet ( )
private

Updates the star coin icons.

Definition at line 459 of file d_CourseSelectGuide.cpp.

◆ PlayerIconSet()

void dCourseSelectGuide_c::PlayerIconSet ( )
private

Updates the player icons in the remaining lives info to the active player.

Definition at line 255 of file d_CourseSelectGuide.cpp.

◆ CourseSelectSet()

void dCourseSelectGuide_c::CourseSelectSet ( dWmLib::PointType_e type)
private

Updates the textbox that displays the current course.

Parameters
typeThe point type.

[Why not use COURSE_TYPE_KINOKO_START here?]

Definition at line 372 of file d_CourseSelectGuide.cpp.

◆ IsDirectionAllowed()

bool dCourseSelectGuide_c::IsDirectionAllowed ( int dir)
private

Returns whether the arrow for direction dir should be shown.

Definition at line 487 of file d_CourseSelectGuide.cpp.

◆ UpdateGuide()

void dCourseSelectGuide_c::UpdateGuide ( short courseNo,
dWmLib::PointType_e type )
private

Updates the course-related parts of the course info guide.

Parameters
courseNoThe course number.
typeThe point type.

The updated elements include the course name, the star coins collected and the checkpoint status.

Definition at line 956 of file d_CourseSelectGuide.cpp.

◆ ControllerConnectCheck()

void dCourseSelectGuide_c::ControllerConnectCheck ( )
private

Checks for attached controller extensions and updates the button hints with the correct icon.

The updated elements include the "View Map" and "Items" button legends.

Definition at line 979 of file d_CourseSelectGuide.cpp.

Member Data Documentation

◆ mUnk

u32 dCourseSelectGuide_c::mUnk
private

Definition at line 152 of file d_CourseSelectGuide.hpp.

◆ mLayout

LytBase_c dCourseSelectGuide_c::mLayout
private

The layout for the window.

Definition at line 154 of file d_CourseSelectGuide.hpp.

◆ mStateMgrWorldCourse

sFStateMgr_c<dCourseSelectGuide_c, sStateMethodUsr_FI_c> dCourseSelectGuide_c::mStateMgrWorldCourse
private

The state manager for the course info (world / course name).

Definition at line 157 of file d_CourseSelectGuide.hpp.

◆ mStateMgrGuide

sFStateMgr_c<dCourseSelectGuide_c, sStateMethodUsr_FI_c> dCourseSelectGuide_c::mStateMgrGuide
private

The state manager for the button legends and remaining lives display.

Definition at line 159 of file d_CourseSelectGuide.hpp.

◆ mStateMgrUp

sFStateMgr_c<dCourseSelectGuide_c, sStateMethodUsr_FI_c> dCourseSelectGuide_c::mStateMgrUp
private

The state manager for the up arrow for the map view.

Definition at line 161 of file d_CourseSelectGuide.hpp.

◆ mStateMgrDown

sFStateMgr_c<dCourseSelectGuide_c, sStateMethodUsr_FI_c> dCourseSelectGuide_c::mStateMgrDown
private

The state manager for the down arrow for the map view.

Definition at line 163 of file d_CourseSelectGuide.hpp.

◆ mStateMgrLeft

sFStateMgr_c<dCourseSelectGuide_c, sStateMethodUsr_FI_c> dCourseSelectGuide_c::mStateMgrLeft
private

The state manager for the left arrow for the map view.

Definition at line 165 of file d_CourseSelectGuide.hpp.

◆ mStateMgrRight

sFStateMgr_c<dCourseSelectGuide_c, sStateMethodUsr_FI_c> dCourseSelectGuide_c::mStateMgrRight
private

The state manager for the right arrow for the map view.

Definition at line 167 of file d_CourseSelectGuide.hpp.

◆ mStateMgrShadow

sFStateMgr_c<dCourseSelectGuide_c, sStateMethodUsr_FI_c> dCourseSelectGuide_c::mStateMgrShadow
private

The state manager for darkening the course view. [Unused?].

Definition at line 169 of file d_CourseSelectGuide.hpp.

◆ mStateMgrScrollGuide

sFStateMgr_c<dCourseSelectGuide_c, sStateMethodUsr_FI_c> dCourseSelectGuide_c::mStateMgrScrollGuide
private

The state manager for the button legends during the map view.

Definition at line 171 of file d_CourseSelectGuide.hpp.

◆ StateID_WorldCourseOnStageWait

sFStateID_c< dCourseSelectGuide_c > dCourseSelectGuide_c::StateID_WorldCourseOnStageWait
staticprivate

Definition at line 173 of file d_CourseSelectGuide.hpp.

◆ StateID_WorldCourseOnStageAnimeEndCheck

sFStateID_c< dCourseSelectGuide_c > dCourseSelectGuide_c::StateID_WorldCourseOnStageAnimeEndCheck
staticprivate

Definition at line 174 of file d_CourseSelectGuide.hpp.

◆ StateID_WorldCourseDisp

sFStateID_c< dCourseSelectGuide_c > dCourseSelectGuide_c::StateID_WorldCourseDisp
staticprivate

Definition at line 175 of file d_CourseSelectGuide.hpp.

◆ StateID_WorldCourseExitAnimeEndCheck

sFStateID_c< dCourseSelectGuide_c > dCourseSelectGuide_c::StateID_WorldCourseExitAnimeEndCheck
staticprivate

Definition at line 176 of file d_CourseSelectGuide.hpp.

◆ StateID_GuideOnStageWait

sFStateID_c< dCourseSelectGuide_c > dCourseSelectGuide_c::StateID_GuideOnStageWait
staticprivate

Definition at line 178 of file d_CourseSelectGuide.hpp.

◆ StateID_GuideOnStageAnimeEndCheck

sFStateID_c< dCourseSelectGuide_c > dCourseSelectGuide_c::StateID_GuideOnStageAnimeEndCheck
staticprivate

Definition at line 179 of file d_CourseSelectGuide.hpp.

◆ StateID_GuideDisp

sFStateID_c< dCourseSelectGuide_c > dCourseSelectGuide_c::StateID_GuideDisp
staticprivate

Definition at line 180 of file d_CourseSelectGuide.hpp.

◆ StateID_GuideExitAnimeEndCheck

sFStateID_c< dCourseSelectGuide_c > dCourseSelectGuide_c::StateID_GuideExitAnimeEndCheck
staticprivate

Definition at line 181 of file d_CourseSelectGuide.hpp.

◆ StateID_UpOnStageWait

sFStateID_c< dCourseSelectGuide_c > dCourseSelectGuide_c::StateID_UpOnStageWait
staticprivate

Definition at line 183 of file d_CourseSelectGuide.hpp.

◆ StateID_UpOnStageAnimeEndCheck

sFStateID_c< dCourseSelectGuide_c > dCourseSelectGuide_c::StateID_UpOnStageAnimeEndCheck
staticprivate

Definition at line 184 of file d_CourseSelectGuide.hpp.

◆ StateID_UpDisp

sFStateID_c< dCourseSelectGuide_c > dCourseSelectGuide_c::StateID_UpDisp
staticprivate

Definition at line 185 of file d_CourseSelectGuide.hpp.

◆ StateID_UpExitAnimeEndCheck

sFStateID_c< dCourseSelectGuide_c > dCourseSelectGuide_c::StateID_UpExitAnimeEndCheck
staticprivate

Definition at line 186 of file d_CourseSelectGuide.hpp.

◆ StateID_DownOnStageWait

sFStateID_c< dCourseSelectGuide_c > dCourseSelectGuide_c::StateID_DownOnStageWait
staticprivate

Definition at line 188 of file d_CourseSelectGuide.hpp.

◆ StateID_DownOnStageAnimeEndCheck

sFStateID_c< dCourseSelectGuide_c > dCourseSelectGuide_c::StateID_DownOnStageAnimeEndCheck
staticprivate

Definition at line 189 of file d_CourseSelectGuide.hpp.

◆ StateID_DownDisp

sFStateID_c< dCourseSelectGuide_c > dCourseSelectGuide_c::StateID_DownDisp
staticprivate

Definition at line 190 of file d_CourseSelectGuide.hpp.

◆ StateID_DownExitAnimeEndCheck

sFStateID_c< dCourseSelectGuide_c > dCourseSelectGuide_c::StateID_DownExitAnimeEndCheck
staticprivate

Definition at line 191 of file d_CourseSelectGuide.hpp.

◆ StateID_LeftOnStageWait

sFStateID_c< dCourseSelectGuide_c > dCourseSelectGuide_c::StateID_LeftOnStageWait
staticprivate

Definition at line 193 of file d_CourseSelectGuide.hpp.

◆ StateID_LeftOnStageAnimeEndCheck

sFStateID_c< dCourseSelectGuide_c > dCourseSelectGuide_c::StateID_LeftOnStageAnimeEndCheck
staticprivate

Definition at line 194 of file d_CourseSelectGuide.hpp.

◆ StateID_LeftDisp

sFStateID_c< dCourseSelectGuide_c > dCourseSelectGuide_c::StateID_LeftDisp
staticprivate

Definition at line 195 of file d_CourseSelectGuide.hpp.

◆ StateID_LeftExitAnimeEndCheck

sFStateID_c< dCourseSelectGuide_c > dCourseSelectGuide_c::StateID_LeftExitAnimeEndCheck
staticprivate

Definition at line 196 of file d_CourseSelectGuide.hpp.

◆ StateID_RightOnStageWait

sFStateID_c< dCourseSelectGuide_c > dCourseSelectGuide_c::StateID_RightOnStageWait
staticprivate

Definition at line 198 of file d_CourseSelectGuide.hpp.

◆ StateID_RightOnStageAnimeEndCheck

sFStateID_c< dCourseSelectGuide_c > dCourseSelectGuide_c::StateID_RightOnStageAnimeEndCheck
staticprivate

Definition at line 199 of file d_CourseSelectGuide.hpp.

◆ StateID_RightDisp

sFStateID_c< dCourseSelectGuide_c > dCourseSelectGuide_c::StateID_RightDisp
staticprivate

Definition at line 200 of file d_CourseSelectGuide.hpp.

◆ StateID_RightExitAnimeEndCheck

sFStateID_c< dCourseSelectGuide_c > dCourseSelectGuide_c::StateID_RightExitAnimeEndCheck
staticprivate

Definition at line 201 of file d_CourseSelectGuide.hpp.

◆ StateID_ShadowOnStageWait

sFStateID_c< dCourseSelectGuide_c > dCourseSelectGuide_c::StateID_ShadowOnStageWait
staticprivate

Definition at line 203 of file d_CourseSelectGuide.hpp.

◆ StateID_ShadowOnStageAnimeEndCheck

sFStateID_c< dCourseSelectGuide_c > dCourseSelectGuide_c::StateID_ShadowOnStageAnimeEndCheck
staticprivate

Definition at line 204 of file d_CourseSelectGuide.hpp.

◆ StateID_ShadowDisp

sFStateID_c< dCourseSelectGuide_c > dCourseSelectGuide_c::StateID_ShadowDisp
staticprivate

Definition at line 205 of file d_CourseSelectGuide.hpp.

◆ StateID_ShadowExitAnimeEndCheck

sFStateID_c< dCourseSelectGuide_c > dCourseSelectGuide_c::StateID_ShadowExitAnimeEndCheck
staticprivate

Definition at line 206 of file d_CourseSelectGuide.hpp.

◆ StateID_ScrollGuideOnStageWait

sFStateID_c< dCourseSelectGuide_c > dCourseSelectGuide_c::StateID_ScrollGuideOnStageWait
staticprivate

Definition at line 208 of file d_CourseSelectGuide.hpp.

◆ StateID_ScrollGuideOnStageAnimeEndCheck

sFStateID_c< dCourseSelectGuide_c > dCourseSelectGuide_c::StateID_ScrollGuideOnStageAnimeEndCheck
staticprivate

Definition at line 209 of file d_CourseSelectGuide.hpp.

◆ StateID_ScrollGuideDisp

sFStateID_c< dCourseSelectGuide_c > dCourseSelectGuide_c::StateID_ScrollGuideDisp
staticprivate

Definition at line 210 of file d_CourseSelectGuide.hpp.

◆ StateID_ScrollGuideExitAnimeEndCheck

sFStateID_c< dCourseSelectGuide_c > dCourseSelectGuide_c::StateID_ScrollGuideExitAnimeEndCheck
staticprivate

Definition at line 211 of file d_CourseSelectGuide.hpp.

◆ mpRootPane

nw4r::lyt::Pane* dCourseSelectGuide_c::mpRootPane
private

The root pane of the view.

Definition at line 213 of file d_CourseSelectGuide.hpp.

◆ mpNullPanes

nw4r::lyt::Pane* dCourseSelectGuide_c::mpNullPanes[N_COUNT]
private

The null panes of the view.

Definition at line 215 of file d_CourseSelectGuide.hpp.

◆ mpTextBoxes

LytTextBox_c* dCourseSelectGuide_c::mpTextBoxes[T_COUNT]
private

The textboxes of the view.

Definition at line 216 of file d_CourseSelectGuide.hpp.

◆ mpPicturePanes

nw4r::lyt::Picture* dCourseSelectGuide_c::mpPicturePanes[P_COUNT]
private

The picture panes of the view.

Definition at line 217 of file d_CourseSelectGuide.hpp.

◆ mExtension

Remocon::EXTENSION_TYPE_e dCourseSelectGuide_c::mExtension
private

The currently attached Wii remote extension.

Definition at line 219 of file d_CourseSelectGuide.hpp.

◆ mWorldNo

int dCourseSelectGuide_c::mWorldNo
private

The current world number.

Definition at line 220 of file d_CourseSelectGuide.hpp.

◆ mCourseNo

int dCourseSelectGuide_c::mCourseNo
private

The current course number. Set to a negative value if it's a course with an icon.

Definition at line 221 of file d_CourseSelectGuide.hpp.

◆ mCourseType

int dCourseSelectGuide_c::mCourseType
private

The current course type.

Todo
Document this enum.

Definition at line 222 of file d_CourseSelectGuide.hpp.

◆ mRest

int dCourseSelectGuide_c::mRest[PLAYER_COUNT]
private

The remaining lives for each player.

Set to -1 if the player is not present. This is stored here so that the game doesn't have to recalculate the textbox each frame.

Definition at line 230 of file d_CourseSelectGuide.hpp.

◆ mWorldCourseOnStageTimer

int dCourseSelectGuide_c::mWorldCourseOnStageTimer
private

Cooldown for showing the course info.

Definition at line 232 of file d_CourseSelectGuide.hpp.

◆ mGuideOnStageTimer

int dCourseSelectGuide_c::mGuideOnStageTimer
private

Cooldown for showing the remaining guide HUD.

Definition at line 233 of file d_CourseSelectGuide.hpp.

◆ mRestAlpha

int dCourseSelectGuide_c::mRestAlpha
private
  @brief The current transparency for the player remaining lives HUD.

  This should be changed via mRestAlphaTarget, which will cause mRestAlpha to smoothly
  transition to mRestAlphaTarget. <dl class="decompnote"><dt>Decompilation Note</dt><dd>This transition effect goes unused, because even

though stepping on Peach's castle performs this transition, it happens before the remaining lives counter appears again on-screen.

Definition at line 243 of file d_CourseSelectGuide.hpp.

◆ mRestAlphaTarget

int dCourseSelectGuide_c::mRestAlphaTarget
private

The target transparency for mRestAlpha.

Definition at line 244 of file d_CourseSelectGuide.hpp.

◆ mMoveDirection

u8 dCourseSelectGuide_c::mMoveDirection
private

A bitmask describing which arrows should be shown in the free move view.

Definition at line 246 of file d_CourseSelectGuide.hpp.

◆ mInitialized

bool dCourseSelectGuide_c::mInitialized
private

Whether the layout has been fully initialized.

Definition at line 248 of file d_CourseSelectGuide.hpp.

◆ mShowCourseInfo

bool dCourseSelectGuide_c::mShowCourseInfo
private

Set this to true to show the course info.

Definition at line 250 of file d_CourseSelectGuide.hpp.

◆ mHideCourseInfo

bool dCourseSelectGuide_c::mHideCourseInfo
private

Set this to true to hide the course info.

Definition at line 251 of file d_CourseSelectGuide.hpp.

◆ mIsCourseInfoOutAnime

bool dCourseSelectGuide_c::mIsCourseInfoOutAnime
private

Automatically set to false after the course info has been hidden.

Definition at line 252 of file d_CourseSelectGuide.hpp.

◆ mNoAnimCourseInfoIn

bool dCourseSelectGuide_c::mNoAnimCourseInfoIn
private

Whether the course info should simply appear instead of sliding in.

Definition at line 253 of file d_CourseSelectGuide.hpp.

◆ mBeginGuide

bool dCourseSelectGuide_c::mBeginGuide
private

Set this to true to show the remaining guide.

Definition at line 255 of file d_CourseSelectGuide.hpp.

◆ mEndGuide

bool dCourseSelectGuide_c::mEndGuide
private

Set this to true to hide the remaining guide.

Definition at line 256 of file d_CourseSelectGuide.hpp.

◆ mGuideRelated

bool dCourseSelectGuide_c::mGuideRelated
private
Todo
Figure out what this does.

Definition at line 257 of file d_CourseSelectGuide.hpp.

◆ mNoHUDAppearAnim

bool dCourseSelectGuide_c::mNoHUDAppearAnim
private

Whether the HUD should be shown without an animation.

Definition at line 258 of file d_CourseSelectGuide.hpp.

◆ mEnableAllArrows

bool dCourseSelectGuide_c::mEnableAllArrows
private

Whether to show all map view arrows. Gets reset after 1 frame.

Definition at line 260 of file d_CourseSelectGuide.hpp.

◆ mDisableArrows

bool dCourseSelectGuide_c::mDisableArrows
private

Whether to stop updating the map view arrows.

Definition at line 261 of file d_CourseSelectGuide.hpp.

◆ mMapView

bool dCourseSelectGuide_c::mMapView
private

Whether the HUD should process the map view elements.

Definition at line 262 of file d_CourseSelectGuide.hpp.

◆ mEnabled

bool dCourseSelectGuide_c::mEnabled
private

Controls whether the HUD is updated every frame.

Definition at line 264 of file d_CourseSelectGuide.hpp.

◆ mHideHUD

bool dCourseSelectGuide_c::mHideHUD
private

Set this to true to hide the entire HUD.

Definition at line 265 of file d_CourseSelectGuide.hpp.

◆ mShowShadow

bool dCourseSelectGuide_c::mShowShadow
private

Set this to true to darken the world map view.

Definition at line 267 of file d_CourseSelectGuide.hpp.

◆ mHideShadow

bool dCourseSelectGuide_c::mHideShadow
private

Set this to true to remove the darkening of the world map view.

Definition at line 268 of file d_CourseSelectGuide.hpp.

◆ mInMapView

bool dCourseSelectGuide_c::mInMapView
private

Whether the HUD is in the map view mode.

Definition at line 270 of file d_CourseSelectGuide.hpp.

◆ mShowScrollGuide

bool dCourseSelectGuide_c::mShowScrollGuide
private

Set this to true to show the button legends for the map view mode.

Definition at line 272 of file d_CourseSelectGuide.hpp.

◆ mEndScrollGuide

bool dCourseSelectGuide_c::mEndScrollGuide
private

Set this to true to hide the button legends for the map view mode.

Definition at line 273 of file d_CourseSelectGuide.hpp.

◆ mScrollGuideRelated

bool dCourseSelectGuide_c::mScrollGuideRelated
private
Todo
Figure out what this does.

Definition at line 274 of file d_CourseSelectGuide.hpp.

◆ mCourseInfoAnim

bool dCourseSelectGuide_c::mCourseInfoAnim
private

Whether the course information is in an animation.

Definition at line 276 of file d_CourseSelectGuide.hpp.

◆ mUpAnim

bool dCourseSelectGuide_c::mUpAnim
private

Whether the up arrow is in an animation.

Definition at line 277 of file d_CourseSelectGuide.hpp.

◆ mDownAnim

bool dCourseSelectGuide_c::mDownAnim
private

Whether the down arrow is in an animation.

Definition at line 278 of file d_CourseSelectGuide.hpp.

◆ mLeftAnim

bool dCourseSelectGuide_c::mLeftAnim
private

Whether the left arrow is in an animation.

Definition at line 279 of file d_CourseSelectGuide.hpp.

◆ mRightAnim

bool dCourseSelectGuide_c::mRightAnim
private

Whether the right arrow is in an animation.

Definition at line 280 of file d_CourseSelectGuide.hpp.

◆ mShowRestNumber

bool dCourseSelectGuide_c::mShowRestNumber
private

Whether to update the remaining lives count.

Definition at line 282 of file d_CourseSelectGuide.hpp.

◆ m_instance

dCourseSelectGuide_c * dCourseSelectGuide_c::m_instance
static

The instance of the view.

Definition at line 285 of file d_CourseSelectGuide.hpp.

◆ c_DISP_WAIT_TIMER

const int dCourseSelectGuide_c::c_DISP_WAIT_TIMER = 20
static

The speed at which the opacity of the remaining lives counter is changed.

Definition at line 288 of file d_CourseSelectGuide.hpp.