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

Description

Definition at line 7 of file d_info.hpp.

Classes

struct  StartGameInfo_s
struct  enemy_s

Public Types

enum  GameMode_e {
  GAME_MODE_NORMAL ,
  GAME_MODE_SUPER_GUIDE ,
  GAME_MODE_TITLE ,
  GAME_MODE_TITLE_REPLAY ,
  GAME_MODE_HINT_MOVIE
}
enum  GAME_FLAG_e {
  GAME_FLAG_DISABLE_ACTOR_CREATE = BIT_FLAG(0) ,
  GAME_FLAG_MULTIPLAYER_MODE = BIT_FLAG(4) ,
  GAME_FLAG_IS_FREE_MODE = BIT_FLAG(5) ,
  GAME_FLAG_IS_COIN_BATTLE = BIT_FLAG(6) ,
  GAME_FLAG_AUTO_SKIP = BIT_FLAG(19)
}

Public Member Functions

void GetMapEnemyInfo (int, int, enemy_s &)
void SetMapEnemyInfo (int, int, int, int)
void FUN_800bbc40 (int, int, int)
u8 getCourse () const
u8 getWorld () const
dCyuukan_cgetCyuukan ()

Static Public Member Functions

static dInfo_cgetInstance ()

Public Attributes

char pad1 [0x8]
dCyuukan_c mCyuukan
int mCurrentCourseWorld
int mCurrentCourseNo
int mCurrentCourseNode
char pad2 [0xc]
int m_54
u8 pad3 [0x14]
bool m_6c
u8 pad4 [0x2c]
int m_9c
u8 pad5 [0x2e4]
int mCharIDs [4]
bool mIsWorldSelect
 Whether the World Select Menu is being displayed.
u8 pad6 [0x1e]
bool mClearCyuukan
 Clear the checkpoint data if this is true. [Used for the backdoor entrance of 7-C].
int mDisplayCourseWorld
int mDisplayCourseNum
u8 pad7 [0x14]
int mTextBoxMessageGroup
int mTextBoxMessageID
u8 pad8 [0x1]
bool mExtensionAttached
u8 m_3da
u8 pad9 [0x7]
int mCourseSelectPageNum
int mCourseSelectIndexInPage
u8 pad10 [0x712]
bool mFukidashiActionPerformed [4][0x16]
u32 pad11

Static Public Attributes

static dInfo_cm_instance
static unsigned int mGameFlag
 See GAME_FLAG_e.
static StartGameInfo_s m_startGameInfo

Member Enumeration Documentation

◆ GameMode_e

Definition at line 10 of file d_info.hpp.

◆ GAME_FLAG_e

Todo
Fill out this enum.
Enumerator
GAME_FLAG_DISABLE_ACTOR_CREATE 

Disables map actor creation.

GAME_FLAG_MULTIPLAYER_MODE 

Whether the game is in a multiplayer mode.

GAME_FLAG_IS_FREE_MODE 

Whether the game is in Free Mode.

GAME_FLAG_IS_COIN_BATTLE 

Whether the game is in Coin Battle mode.

GAME_FLAG_AUTO_SKIP 

Whether to automatically skip the Wii strap and controller information screens.

Definition at line 33 of file d_info.hpp.

Member Function Documentation

◆ getCourse()

u8 dInfo_c::getCourse ( ) const
inline

Definition at line 54 of file d_info.hpp.

◆ getWorld()

u8 dInfo_c::getWorld ( ) const
inline

Definition at line 55 of file d_info.hpp.

◆ getCyuukan()

dCyuukan_c * dInfo_c::getCyuukan ( )
inline

Definition at line 56 of file d_info.hpp.

◆ getInstance()

dInfo_c * dInfo_c::getInstance ( )
inlinestatic

Definition at line 58 of file d_info.hpp.

Member Data Documentation

◆ pad1

char dInfo_c::pad1[0x8]

Definition at line 60 of file d_info.hpp.

◆ mCyuukan

dCyuukan_c dInfo_c::mCyuukan

Definition at line 61 of file d_info.hpp.

◆ mCurrentCourseWorld

int dInfo_c::mCurrentCourseWorld

Definition at line 62 of file d_info.hpp.

◆ mCurrentCourseNo

int dInfo_c::mCurrentCourseNo

Definition at line 63 of file d_info.hpp.

◆ mCurrentCourseNode

int dInfo_c::mCurrentCourseNode

Definition at line 64 of file d_info.hpp.

◆ pad2

char dInfo_c::pad2[0xc]

Definition at line 65 of file d_info.hpp.

◆ m_54

int dInfo_c::m_54

Definition at line 66 of file d_info.hpp.

◆ pad3

u8 dInfo_c::pad3[0x14]

Definition at line 67 of file d_info.hpp.

◆ m_6c

bool dInfo_c::m_6c

Definition at line 68 of file d_info.hpp.

◆ pad4

u8 dInfo_c::pad4[0x2c]

Definition at line 69 of file d_info.hpp.

◆ m_9c

int dInfo_c::m_9c

Definition at line 70 of file d_info.hpp.

◆ pad5

u8 dInfo_c::pad5[0x2e4]

Definition at line 71 of file d_info.hpp.

◆ mCharIDs

int dInfo_c::mCharIDs[4]

Definition at line 72 of file d_info.hpp.

◆ mIsWorldSelect

bool dInfo_c::mIsWorldSelect

Whether the World Select Menu is being displayed.

Definition at line 73 of file d_info.hpp.

◆ pad6

u8 dInfo_c::pad6[0x1e]

Definition at line 74 of file d_info.hpp.

◆ mClearCyuukan

bool dInfo_c::mClearCyuukan

Clear the checkpoint data if this is true. [Used for the backdoor entrance of 7-C].

Definition at line 75 of file d_info.hpp.

◆ mDisplayCourseWorld

int dInfo_c::mDisplayCourseWorld

Definition at line 76 of file d_info.hpp.

◆ mDisplayCourseNum

int dInfo_c::mDisplayCourseNum

Definition at line 77 of file d_info.hpp.

◆ pad7

u8 dInfo_c::pad7[0x14]

Definition at line 78 of file d_info.hpp.

◆ mTextBoxMessageGroup

int dInfo_c::mTextBoxMessageGroup

Definition at line 79 of file d_info.hpp.

◆ mTextBoxMessageID

int dInfo_c::mTextBoxMessageID

Definition at line 80 of file d_info.hpp.

◆ pad8

u8 dInfo_c::pad8[0x1]

Definition at line 81 of file d_info.hpp.

◆ mExtensionAttached

bool dInfo_c::mExtensionAttached

Definition at line 82 of file d_info.hpp.

◆ m_3da

u8 dInfo_c::m_3da

Definition at line 83 of file d_info.hpp.

◆ pad9

u8 dInfo_c::pad9[0x7]

Definition at line 84 of file d_info.hpp.

◆ mCourseSelectPageNum

int dInfo_c::mCourseSelectPageNum

Definition at line 85 of file d_info.hpp.

◆ mCourseSelectIndexInPage

int dInfo_c::mCourseSelectIndexInPage

Definition at line 86 of file d_info.hpp.

◆ pad10

u8 dInfo_c::pad10[0x712]

Definition at line 87 of file d_info.hpp.

◆ mFukidashiActionPerformed

bool dInfo_c::mFukidashiActionPerformed[4][0x16]

Definition at line 88 of file d_info.hpp.

◆ pad11

u32 dInfo_c::pad11

Definition at line 89 of file d_info.hpp.

◆ m_instance

dInfo_c* dInfo_c::m_instance
static

Definition at line 91 of file d_info.hpp.

◆ mGameFlag

unsigned int dInfo_c::mGameFlag
static

See GAME_FLAG_e.

Definition at line 92 of file d_info.hpp.

◆ m_startGameInfo

StartGameInfo_s dInfo_c::m_startGameInfo
static

Definition at line 93 of file d_info.hpp.