NSMBW-Decomp
A decompilation of New Super Mario Bros. Wii
|
#include <game/bases/d_reset.hpp>
System reset management class.
Definition at line 10 of file d_reset.hpp.
Public Types | |
enum | Mode_e { NORMAL , SOFT_RESET , HBM_WAIT , DISK_WAIT , FATAL_ERROR , SAFETY_WAIT , NO_CHANGE } |
The game's possible running states. More... | |
enum | Exec_e { RESTART_GAME , REBOOT_SYSTEM , RETURN_WII_MENU , RETURN_DATA_MANAGER , POWER_OFF , NONE } |
The possible hard reset procedures. More... | |
Public Member Functions | |
void | SetSoftResetFinish () |
void | SetSoftResetScene () |
void | PostDeleteScene () |
Static Public Member Functions | |
static dReset::Manage_c * | GetInstance () |
Gets a pointer to the instance of this class. | |
Public Attributes | |
EGG::Heap * | mpHeap |
EGG::ColorFader * | mpColorFader |
int | mModeProc |
The game's current running state. See Mode_e. | |
int | mModeInit |
The running state the game's about to switch to. See Mode_e. | |
int | mPrevMode |
int | mExecMode |
The hard reset procedure to be executed. See Exec_e. | |
bool | mHbmReset |
bool | mHbmReturnMenu |
bool | mResetCallbackCalled |
bool | mPowerCallbackCalled |
bool | mInteriorReturnDataManager |
u32 | mHbmResetTypeMaybe |
u32 | mHbmPowerOffTypeMaybe |
u32 | mSoftResetStateMaybe |
bool | mSoftResetPermitted |
bool | mUnknown2D |
bool | mSoftResetRequested |
bool | mFadeOutRequested |
bool | mUnknown30 |
void * | mpAudioResetFunc |
void * | mpAudioExitFunc |
bool | mBootCompleted |
bool | mExecutingFade |
bool | mUnknown3E |
The game's possible running states.
Enumerator | |
---|---|
NORMAL | The game is running regularly. |
SOFT_RESET | The game is being soft reset (from the Home Menu). |
HBM_WAIT | The home menu is open. |
DISK_WAIT | The game cannot read the DVD and cannot proceed. |
FATAL_ERROR | The game cannot read the NAND and cannot proceed. |
SAFETY_WAIT | The game is about to execute the hard reset procedure indicated in mExecMode. |
NO_CHANGE | The game's running state hasn't changed [value used in mModeInit]. |
Definition at line 14 of file d_reset.hpp.
The possible hard reset procedures.
Definition at line 25 of file d_reset.hpp.
|
static |
Gets a pointer to the instance of this class.
EGG::Heap* dReset::Manage_c::mpHeap |
Definition at line 38 of file d_reset.hpp.
EGG::ColorFader* dReset::Manage_c::mpColorFader |
Definition at line 39 of file d_reset.hpp.
int dReset::Manage_c::mModeProc |
The game's current running state. See Mode_e.
Definition at line 41 of file d_reset.hpp.
int dReset::Manage_c::mModeInit |
The running state the game's about to switch to. See Mode_e.
The state does not change if this is set to Mode_e::NO_CHANGE.
Definition at line 45 of file d_reset.hpp.
int dReset::Manage_c::mPrevMode |
Definition at line 47 of file d_reset.hpp.
int dReset::Manage_c::mExecMode |
The hard reset procedure to be executed. See Exec_e.
Definition at line 48 of file d_reset.hpp.
bool dReset::Manage_c::mHbmReset |
Definition at line 50 of file d_reset.hpp.
bool dReset::Manage_c::mHbmReturnMenu |
Definition at line 51 of file d_reset.hpp.
bool dReset::Manage_c::mResetCallbackCalled |
Definition at line 53 of file d_reset.hpp.
bool dReset::Manage_c::mPowerCallbackCalled |
Definition at line 54 of file d_reset.hpp.
bool dReset::Manage_c::mInteriorReturnDataManager |
Definition at line 55 of file d_reset.hpp.
u32 dReset::Manage_c::mHbmResetTypeMaybe |
Definition at line 57 of file d_reset.hpp.
u32 dReset::Manage_c::mHbmPowerOffTypeMaybe |
Definition at line 58 of file d_reset.hpp.
u32 dReset::Manage_c::mSoftResetStateMaybe |
Definition at line 59 of file d_reset.hpp.
bool dReset::Manage_c::mSoftResetPermitted |
Definition at line 60 of file d_reset.hpp.
bool dReset::Manage_c::mUnknown2D |
Definition at line 61 of file d_reset.hpp.
bool dReset::Manage_c::mSoftResetRequested |
Definition at line 63 of file d_reset.hpp.
bool dReset::Manage_c::mFadeOutRequested |
Definition at line 64 of file d_reset.hpp.
bool dReset::Manage_c::mUnknown30 |
Definition at line 65 of file d_reset.hpp.
void* dReset::Manage_c::mpAudioResetFunc |
Definition at line 67 of file d_reset.hpp.
void* dReset::Manage_c::mpAudioExitFunc |
Definition at line 68 of file d_reset.hpp.
bool dReset::Manage_c::mBootCompleted |
Definition at line 70 of file d_reset.hpp.
bool dReset::Manage_c::mExecutingFade |
Definition at line 71 of file d_reset.hpp.
bool dReset::Manage_c::mUnknown3E |
Definition at line 72 of file d_reset.hpp.