SMG-Decomp
A decompilation of Super Mario Galaxy 1
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
ScenarioSelectLayout Class Reference
Inheritance diagram for ScenarioSelectLayout:
LayoutActor NameObj

Public Member Functions

 ScenarioSelectLayout (EffectSystem *, const CameraContext *)
 
virtual void init (const JMapInfoIter &)
 Intializes the NameObj and can set various settings and construct necessary classes.
 
virtual void movement ()
 
virtual void draw () const
 Draws the object. Does nothing until overridden.
 
virtual void calcAnim ()
 
virtual void appear ()
 
virtual void kill ()
 
virtual void control ()
 
void calcViewAndEntryStarModel ()
 
s32 getSelectedScenarioNo () const
 
bool isReadyToDisappear () const
 
void disappear ()
 
bool isAppearStarEnd () const
 
bool isEndAnimStartStep () const
 
bool isCanceled () const
 
void updateSelectedScenario ()
 
void updateScenarioText ()
 
void fadeInText ()
 
void fadeOutText ()
 
bool trySelect ()
 
ScenarioSelectStargetSelectedStar () const
 
void calcWorldPositionFromScreenPos (TVec3f *, const TVec2f &, f32)
 
s32 calcDisplayScenarioNum (s32 *, s32 *) const
 
void appearAllStar (s32, s32, bool)
 
void appearStar (s32, s32, int)
 
bool isAppearStarEndAll () const
 
bool tryCancel ()
 
void setPlayerLeft ()
 
void startAnimAllNewPane (const char *)
 
void setAnimRateAllNewPane (f32)
 
void exeAppearStar ()
 
void exeAppear ()
 
void exeWaitScenarioSelect ()
 
void exeDecide ()
 
void exeAfterScenarioSelected ()
 
void exeDisappear ()
 
void exeCancel ()
 
void exeAppearCometWarning ()
 
void exeWaitCometWarning ()
 
void exeDisappearCometWarning ()
 
void exeCancelFadeOut ()
 
- Public Member Functions inherited from LayoutActor
 LayoutActor (const char *, bool)
 
void initNerve (const Nerve *)
 
void setNerve (const Nerve *) const
 
bool isNerve (const Nerve *) const
 
s32 getNerveStep () const
 
const TVec2f getTrans () const
 
void setTrans (const TVec2f &)
 
LayoutManagergetLayoutManager () const
 
void initLayoutManager (const char *, u32)
 
void initLayoutManagerNoConvertFilename (const char *, u32)
 
void initLayoutManagerWithTextBoxBufferLength (const char *, u32, u32)
 
void initEffectKeeper (int, const char *, const EffectSystem *)
 
void updateSpine ()
 
void initPointingTarget (int)
 
- Public Member Functions inherited from NameObj
 NameObj (const char *pName)
 Constructs a new NameObj instance.
 
virtual void initAfterPlacement ()
 
virtual void calcViewAndEntry ()
 
void initWithoutIter ()
 Initializes a NameObj without a JMapInfoIter instance.
 
void setName (const char *pName)
 Sets the NameObj's mName.
 
void executeMovement ()
 
void requestSuspend ()
 
void requestResume ()
 
void syncWithFlags ()
 

Public Attributes

s32 mSelectedScenarioNo
 
u32 _24
 
u8 _28
 
TMtx34f mEffectHostMtx
 
ScenarioSelectStar ** mStars
 
MultiSceneActormScenarioSky
 
EffectSystemmEffectSystem
 
const CameraContextmCameraContext
 
TVec2f mNewTextFollowPos
 
TVec2f mNewGreenTextFollowPos
 
TVec2f mQuestionPane [2]
 
TVec2f mStarTopFollowPos
 
BackButtonmBackButton
 
TVec2f mMarioIconFollowPos
 
const char * _A0
 
u32 _A4
 
s32 _A8
 
- Public Attributes inherited from LayoutActor
LayoutManagermManager
 
SpinemSpine
 
PaneEffectKeepermPaneEffectKeeper
 
StarPointerLayoutTargetKeeper * mStarPointerTargetKeeper
 
LayoutActorFlag mFlags
 
- Public Attributes inherited from NameObj
const char * mName
 A string to identify the NameObj.
 
volatile u16 mFlags
 Flags in relation to movement.
 
s16 mExecutorIdx
 The index into the NameObjExecuteInfo array.
 

Detailed Description

Definition at line 8 of file ScenarioSelectLayout.hpp.

Constructor & Destructor Documentation

◆ ScenarioSelectLayout()

ScenarioSelectLayout::ScenarioSelectLayout ( EffectSystem * pSystem,
const CameraContext * pContext )

Definition at line 20 of file ScenarioSelectLayout.cpp.

◆ ~ScenarioSelectLayout()

ScenarioSelectLayout::~ScenarioSelectLayout ( )
virtual

Definition at line 485 of file ScenarioSelectLayout.cpp.

Member Function Documentation

◆ init()

void ScenarioSelectLayout::init ( const JMapInfoIter & rIter)
virtual

Intializes the NameObj and can set various settings and construct necessary classes.

Parameters
rIterA reference to the JMapInfoIter that supplies BCSV information.

Reimplemented from NameObj.

Definition at line 47 of file ScenarioSelectLayout.cpp.

◆ movement()

void ScenarioSelectLayout::movement ( )
virtual

Reimplemented from LayoutActor.

Definition at line 109 of file ScenarioSelectLayout.cpp.

◆ draw()

void ScenarioSelectLayout::draw ( ) const
virtual

Draws the object. Does nothing until overridden.

Reimplemented from LayoutActor.

Definition at line 131 of file ScenarioSelectLayout.cpp.

◆ calcAnim()

void ScenarioSelectLayout::calcAnim ( )
virtual

Reimplemented from LayoutActor.

Definition at line 120 of file ScenarioSelectLayout.cpp.

◆ appear()

virtual void ScenarioSelectLayout::appear ( )
virtual

Reimplemented from LayoutActor.

◆ kill()

void ScenarioSelectLayout::kill ( )
virtual

Reimplemented from LayoutActor.

Definition at line 95 of file ScenarioSelectLayout.cpp.

◆ control()

virtual void ScenarioSelectLayout::control ( )
virtual

Reimplemented from LayoutActor.

◆ calcViewAndEntryStarModel()

void ScenarioSelectLayout::calcViewAndEntryStarModel ( )

Definition at line 136 of file ScenarioSelectLayout.cpp.

◆ getSelectedScenarioNo()

s32 ScenarioSelectLayout::getSelectedScenarioNo ( ) const

Definition at line 144 of file ScenarioSelectLayout.cpp.

◆ isReadyToDisappear()

bool ScenarioSelectLayout::isReadyToDisappear ( ) const

Definition at line 148 of file ScenarioSelectLayout.cpp.

◆ disappear()

void ScenarioSelectLayout::disappear ( )

Definition at line 156 of file ScenarioSelectLayout.cpp.

◆ getSelectedStar()

ScenarioSelectStar * ScenarioSelectLayout::getSelectedStar ( ) const

Definition at line 181 of file ScenarioSelectLayout.cpp.

◆ appearStar()

void ScenarioSelectLayout::appearStar ( s32 starIdx,
s32 a2,
int a3 )

Definition at line 238 of file ScenarioSelectLayout.cpp.

◆ isAppearStarEndAll()

bool ScenarioSelectLayout::isAppearStarEndAll ( ) const

Definition at line 248 of file ScenarioSelectLayout.cpp.

◆ tryCancel()

bool ScenarioSelectLayout::tryCancel ( )

Definition at line 258 of file ScenarioSelectLayout.cpp.

◆ setPlayerLeft()

void ScenarioSelectLayout::setPlayerLeft ( )

Definition at line 273 of file ScenarioSelectLayout.cpp.

◆ startAnimAllNewPane()

void ScenarioSelectLayout::startAnimAllNewPane ( const char * pAnim)

Definition at line 286 of file ScenarioSelectLayout.cpp.

◆ setAnimRateAllNewPane()

void ScenarioSelectLayout::setAnimRateAllNewPane ( f32 rate)

Definition at line 295 of file ScenarioSelectLayout.cpp.

◆ exeAppearStar()

void ScenarioSelectLayout::exeAppearStar ( )

Definition at line 313 of file ScenarioSelectLayout.cpp.

◆ exeAppear()

void ScenarioSelectLayout::exeAppear ( )

Definition at line 354 of file ScenarioSelectLayout.cpp.

◆ exeWaitScenarioSelect()

void ScenarioSelectLayout::exeWaitScenarioSelect ( )

Definition at line 364 of file ScenarioSelectLayout.cpp.

◆ exeDecide()

void ScenarioSelectLayout::exeDecide ( )

Definition at line 385 of file ScenarioSelectLayout.cpp.

◆ exeAfterScenarioSelected()

void ScenarioSelectLayout::exeAfterScenarioSelected ( )

Definition at line 406 of file ScenarioSelectLayout.cpp.

◆ exeDisappear()

void ScenarioSelectLayout::exeDisappear ( )

Definition at line 421 of file ScenarioSelectLayout.cpp.

◆ exeCancel()

void ScenarioSelectLayout::exeCancel ( )

Definition at line 443 of file ScenarioSelectLayout.cpp.

◆ exeAppearCometWarning()

void ScenarioSelectLayout::exeAppearCometWarning ( )

Definition at line 457 of file ScenarioSelectLayout.cpp.

◆ exeWaitCometWarning()

void ScenarioSelectLayout::exeWaitCometWarning ( )

Definition at line 476 of file ScenarioSelectLayout.cpp.

◆ exeDisappearCometWarning()

void ScenarioSelectLayout::exeDisappearCometWarning ( )

Definition at line 304 of file ScenarioSelectLayout.cpp.

◆ exeCancelFadeOut()

void ScenarioSelectLayout::exeCancelFadeOut ( )
inline

Definition at line 309 of file ScenarioSelectLayout.cpp.

Member Data Documentation

◆ mSelectedScenarioNo

s32 ScenarioSelectLayout::mSelectedScenarioNo

Definition at line 57 of file ScenarioSelectLayout.hpp.

◆ _24

u32 ScenarioSelectLayout::_24

Definition at line 58 of file ScenarioSelectLayout.hpp.

◆ _28

u8 ScenarioSelectLayout::_28

Definition at line 59 of file ScenarioSelectLayout.hpp.

◆ mEffectHostMtx

TMtx34f ScenarioSelectLayout::mEffectHostMtx

Definition at line 60 of file ScenarioSelectLayout.hpp.

◆ mStars

ScenarioSelectStar** ScenarioSelectLayout::mStars

Definition at line 61 of file ScenarioSelectLayout.hpp.

◆ mScenarioSky

MultiSceneActor* ScenarioSelectLayout::mScenarioSky

Definition at line 62 of file ScenarioSelectLayout.hpp.

◆ mEffectSystem

EffectSystem* ScenarioSelectLayout::mEffectSystem

Definition at line 63 of file ScenarioSelectLayout.hpp.

◆ mCameraContext

const CameraContext* ScenarioSelectLayout::mCameraContext

Definition at line 64 of file ScenarioSelectLayout.hpp.

◆ mNewTextFollowPos

TVec2f ScenarioSelectLayout::mNewTextFollowPos

Definition at line 65 of file ScenarioSelectLayout.hpp.

◆ mNewGreenTextFollowPos

TVec2f ScenarioSelectLayout::mNewGreenTextFollowPos

Definition at line 66 of file ScenarioSelectLayout.hpp.

◆ mQuestionPane

TVec2f ScenarioSelectLayout::mQuestionPane[2]

Definition at line 67 of file ScenarioSelectLayout.hpp.

◆ mStarTopFollowPos

TVec2f ScenarioSelectLayout::mStarTopFollowPos

Definition at line 68 of file ScenarioSelectLayout.hpp.

◆ mBackButton

BackButton* ScenarioSelectLayout::mBackButton

Definition at line 69 of file ScenarioSelectLayout.hpp.

◆ mMarioIconFollowPos

TVec2f ScenarioSelectLayout::mMarioIconFollowPos

Definition at line 70 of file ScenarioSelectLayout.hpp.

◆ _A0

const char* ScenarioSelectLayout::_A0

Definition at line 71 of file ScenarioSelectLayout.hpp.

◆ _A4

u32 ScenarioSelectLayout::_A4

Definition at line 72 of file ScenarioSelectLayout.hpp.

◆ _A8

s32 ScenarioSelectLayout::_A8

Definition at line 73 of file ScenarioSelectLayout.hpp.