New Super Mario Bros. U Headers
Loading...
Searching...
No Matches
MainGame Class Reference

#include <MainGame.h>

Public Member Functions

 MainGame ()
void initMiiIconRenderBuffer (sead::Heap *heap=nullptr)
bool isSinglePlayerDRC () const
bool isMultiplayer () const
bool isNewGame () const
void setNewGame (bool new_game)
bool isShadowkunQuest () const
CourseExitType getCourseExitType () const
void setCourseExitType (CourseExitType type)
CourseBeatenType getCourseBeatenType () const
void setCourseBeatenType (CourseBeatenType type)
bool isOtehon () const
CSSwitchState getCSSwitchState () const
SaveData::CSLocation & getAirshipLocation ()
sead::BitFlag16 & getWorldCompletionFlag ()
sead::BitFlag8 & getChibiYoshiAvailableFlag ()
SaveData::LevelStat & getLevelStat ()
sead::BitFlag8 & getGameCompletionFlag ()

Protected Attributes

u32 _10
bool mIsSinglePlayerDRC
u32 _18
bool mIsNewGame
CourseExitType mCourseExitType
CourseBeatenType mCourseBeatenType
u32 _28
sead::BitFlag32 mReplayFlag
u32 _30 [(0x78 - 0x30)/sizeof(u32)]
CSSwitchState mCSSwitchState
u32 _7c [(0x1C8 - 0x7C)/sizeof(u32)]
SaveData::CSLocation mAirshipLocation
u32 _1cc [(0x208 - 0x1CC)/sizeof(u32)]
sead::BitFlag16 mWorldCompletionFlag
bool _20a
u8 _20b
u8 _20c
sead::BitFlag8 mChibiYoshiAvailableFlag
u32 _210 [(0x31C - 0x210)/sizeof(u32)]
SaveData::LevelStat mLevelStat
u32 _3d8 [(0x82C - 0x3D8)/sizeof(u32)]
sead::BitFlag8 mGameCompletionFlag
u8 _82d
bool mPlayAsNabbitOrMii
bool mPlayAsMii
u32 _830 [(0x180E4 - 0x830)/sizeof(u32)]
Mii::IconRenderBuffer _180e4
u32 _18544 [(0x18548 - 0x18544)/sizeof(u32)]
Mii::IconFacelineObj _18548
sead::SafeArray< Mii::IconRenderBuffer, 4 > _1891c
sead::SafeArray< Mii::IconRenderBuffer, 30 > _19a9c
u8 _21ddc [30]
bool mIsShadowkunQuest
u32 _21dfc [(0x21E18 - 0x21DFC)/sizeof(u32)]

Constructor & Destructor Documentation

◆ MainGame()

MainGame::MainGame ( )

Member Function Documentation

◆ initMiiIconRenderBuffer()

void MainGame::initMiiIconRenderBuffer ( sead::Heap * heap = nullptr)

◆ isSinglePlayerDRC()

bool MainGame::isSinglePlayerDRC ( ) const
inline

◆ isMultiplayer()

bool MainGame::isMultiplayer ( ) const
inline

◆ isNewGame()

bool MainGame::isNewGame ( ) const
inline

◆ setNewGame()

void MainGame::setNewGame ( bool new_game)
inline

◆ isShadowkunQuest()

bool MainGame::isShadowkunQuest ( ) const
inline

◆ getCourseExitType()

CourseExitType MainGame::getCourseExitType ( ) const
inline

◆ setCourseExitType()

void MainGame::setCourseExitType ( CourseExitType type)
inline

◆ getCourseBeatenType()

CourseBeatenType MainGame::getCourseBeatenType ( ) const
inline

◆ setCourseBeatenType()

void MainGame::setCourseBeatenType ( CourseBeatenType type)
inline

◆ isOtehon()

bool MainGame::isOtehon ( ) const
inline

◆ getCSSwitchState()

CSSwitchState MainGame::getCSSwitchState ( ) const
inline

◆ getAirshipLocation()

SaveData::CSLocation & MainGame::getAirshipLocation ( )
inline

◆ getWorldCompletionFlag()

sead::BitFlag16 & MainGame::getWorldCompletionFlag ( )
inline

◆ getChibiYoshiAvailableFlag()

sead::BitFlag8 & MainGame::getChibiYoshiAvailableFlag ( )
inline

◆ getLevelStat()

SaveData::LevelStat & MainGame::getLevelStat ( )
inline

◆ getGameCompletionFlag()

sead::BitFlag8 & MainGame::getGameCompletionFlag ( )
inline

Member Data Documentation

◆ _10

u32 MainGame::_10
protected

◆ mIsSinglePlayerDRC

bool MainGame::mIsSinglePlayerDRC
protected

◆ _18

u32 MainGame::_18
protected

◆ mIsNewGame

bool MainGame::mIsNewGame
protected

◆ mCourseExitType

CourseExitType MainGame::mCourseExitType
protected

◆ mCourseBeatenType

CourseBeatenType MainGame::mCourseBeatenType
protected

◆ _28

u32 MainGame::_28
protected

◆ mReplayFlag

sead::BitFlag32 MainGame::mReplayFlag
protected

◆ _30

u32 MainGame::_30[(0x78 - 0x30)/sizeof(u32)]
protected

◆ mCSSwitchState

CSSwitchState MainGame::mCSSwitchState
protected

◆ _7c

u32 MainGame::_7c[(0x1C8 - 0x7C)/sizeof(u32)]
protected

◆ mAirshipLocation

SaveData::CSLocation MainGame::mAirshipLocation
protected

◆ _1cc

u32 MainGame::_1cc[(0x208 - 0x1CC)/sizeof(u32)]
protected

◆ mWorldCompletionFlag

sead::BitFlag16 MainGame::mWorldCompletionFlag
protected

◆ _20a

bool MainGame::_20a
protected

◆ _20b

u8 MainGame::_20b
protected

◆ _20c

u8 MainGame::_20c
protected

◆ mChibiYoshiAvailableFlag

sead::BitFlag8 MainGame::mChibiYoshiAvailableFlag
protected

◆ _210

u32 MainGame::_210[(0x31C - 0x210)/sizeof(u32)]
protected

◆ mLevelStat

SaveData::LevelStat MainGame::mLevelStat
protected

◆ _3d8

u32 MainGame::_3d8[(0x82C - 0x3D8)/sizeof(u32)]
protected

◆ mGameCompletionFlag

sead::BitFlag8 MainGame::mGameCompletionFlag
protected

◆ _82d

u8 MainGame::_82d
protected

◆ mPlayAsNabbitOrMii

bool MainGame::mPlayAsNabbitOrMii
protected

◆ mPlayAsMii

bool MainGame::mPlayAsMii
protected

◆ _830

u32 MainGame::_830[(0x180E4 - 0x830)/sizeof(u32)]
protected

◆ _180e4

Mii::IconRenderBuffer MainGame::_180e4
protected

◆ _18544

u32 MainGame::_18544[(0x18548 - 0x18544)/sizeof(u32)]
protected

◆ _18548

Mii::IconFacelineObj MainGame::_18548
protected

◆ _1891c

sead::SafeArray<Mii::IconRenderBuffer, 4> MainGame::_1891c
protected

◆ _19a9c

sead::SafeArray<Mii::IconRenderBuffer, 30> MainGame::_19a9c
protected

◆ _21ddc

u8 MainGame::_21ddc[30]
protected

◆ mIsShadowkunQuest

bool MainGame::mIsShadowkunQuest
protected

◆ _21dfc

u32 MainGame::_21dfc[(0x21E18 - 0x21DFC)/sizeof(u32)]
protected