![]() |
Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
|
#include <HBMBase.h>
Collaboration diagram for homebutton::HomeButton:Classes | |
| class | BlackFader |
Public Member Functions | |
| HomeButton (const HBMDataInfo *dataInfo) | |
| ~HomeButton () | |
| int | getVolume () |
| HBMSelectBtnNum | getSelectBtnNum () |
| bool | isActive () const |
| bool | isUpBarActive () const |
| bool | isDownBarActive () |
| void | setAdjustFlag (int flag) |
| void | setForcusSE () |
| void | setSimpleSyncAlarm (int type) |
| void | setSpeakerAlarm (int chan, int msec) |
| void | setVolume (int vol) |
| bool | getVibFlag () |
| int | getPaneNo (const char *) |
| void | setVibFlag (bool flag) |
| void | create () |
| void | init () |
| void | calc (const HBMControllerData *pController) |
| void | draw () |
| void | update (const HBMControllerData *pController) |
| void | updateTrigPane () |
| void | startPointEvent (const char *pPane, void *pData) |
| void | startLeftEvent (const char *pPane) |
| void | startTrigEvent (const char *pPane) |
| int | findAnimator (int pane, int anm) |
| int | findGroupAnimator (int pane, int anm) |
| void | callSimpleSyncCallback (s32 result, s32 num) |
| void | startBlackOut () |
| const HBMDataInfo * | getHBMDataInfo () |
| Controller * | getController (int chan) |
| const char * | getFuncPaneName (int no) |
| const char * | getPaneName (int no) |
| bool | getReassignedFlag () const |
| HomeButtonEventHandler * | getEventHandler () const |
| nw4hbm::snd::SoundArchivePlayer * | GetSoundArchivePlayer () |
| void | setEndSimpleSyncFlag (bool flag) |
| void | setReassignedFlag (bool flag) |
| void | setSimpleSyncFlag (bool flag) |
| void | play_sound (int id) |
| void | createSound (nw4hbm::snd::NandSoundArchive *pNandSoundArchive, bool bCreateSoundHeap) |
| void | deleteSound () |
| void | draw_impl () |
| void | updateSoundArchivePlayer () |
| void | setSoundVolume (f32 volume) |
| void | stopSound (bool checkFlag) |
| void | initSound (const char *path) |
| void | updateSound () |
| void | PlaySeq (int num) |
Static Public Member Functions | |
| static void | createInstance (const HBMDataInfo *dataInfo) |
| static HomeButton * | getInstance () |
| static void | deleteInstance () |
Private Types | |
| enum | eSeq { eSeq_Normal , eSeq_Control , eSeq_Cmn } |
Private Member Functions | |
| void | init_battery (const HBMControllerData *pController) |
| void | calc_battery (int chan) |
| void | reset_battery () |
| void | init_sound () |
| void | fadeout_sound (f32 gain) |
| void | init_msg () |
| void | init_vib () |
| void | init_volume () |
| void | set_config () |
| void | set_text () |
| void | calc_fadeoutAnm () |
| void | update_controller (int id) |
| void | update_posController (int id) |
| void | reset_btn () |
| void | reset_control () |
| void | reset_guiManager (int num) |
| void | reset_window () |
Static Private Attributes | |
| static HomeButton * | spHomeButtonObj |
| static const char * | scCursorLytName [WPAD_MAX_CONTROLLERS] |
| static const char * | scCursorPaneName = "N_Trans" |
| static const char * | scCursorRotPaneName = "N_Rot" |
| static const char * | scCursorSRotPaneName = "N_SRot" |
| static const char * | scBtnName [4] = {"B_btnL_00", "B_btnL_01", "B_btnL_10", "B_btnL_11"} |
| static const char * | scTxtName [4] = {"T_btnL_00", "T_btnL_01", "T_btnL_10", "T_btnL_11"} |
| static const char * | scGrName [8] |
| static const char * | scAnimName [3] |
| static const char * | scPairGroupAnimName [15] |
| static const char * | scPairGroupName [15] |
| static const char * | scGroupAnimName [22] |
| static const char * | scGroupName [35] |
| static const char * | scFuncPaneName [5] |
| static const char * | scFuncTouchPaneName [10] |
| static const char * | scFuncTextPaneName [3] = {"T_msg_00", "T_msg_01", "T_Dialog"} |
| static const char * | scBatteryPaneName [WPAD_MAX_CONTROLLERS][4] |
|
private |
| homebutton::HomeButton::HomeButton | ( | const HBMDataInfo * | dataInfo | ) |
| homebutton::HomeButton::~HomeButton | ( | ) |
| void homebutton::HomeButton::calc | ( | const HBMControllerData * | pController | ) |
|
private |
|
private |
| void homebutton::HomeButton::create | ( | ) |
|
static |
| void homebutton::HomeButton::createSound | ( | nw4hbm::snd::NandSoundArchive * | pNandSoundArchive, |
| bool | bCreateSoundHeap ) |
|
static |
| void homebutton::HomeButton::deleteSound | ( | ) |
| void homebutton::HomeButton::draw | ( | ) |
| void homebutton::HomeButton::draw_impl | ( | ) |
|
private |
| int homebutton::HomeButton::findAnimator | ( | int | pane, |
| int | anm ) |
| int homebutton::HomeButton::findGroupAnimator | ( | int | pane, |
| int | anm ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinestatic |
|
inline |
| int homebutton::HomeButton::getPaneNo | ( | const char * | panename | ) |
|
inline |
| HBMSelectBtnNum homebutton::HomeButton::getSelectBtnNum | ( | ) |
|
inline |
| bool homebutton::HomeButton::getVibFlag | ( | ) |
| int homebutton::HomeButton::getVolume | ( | ) |
| void homebutton::HomeButton::init | ( | ) |
|
private |
|
private |
|
private |
|
private |
|
private |
| void homebutton::HomeButton::initSound | ( | const char * | path | ) |
| bool homebutton::HomeButton::isActive | ( | ) | const |
| bool homebutton::HomeButton::isDownBarActive | ( | ) |
| bool homebutton::HomeButton::isUpBarActive | ( | ) | const |
| void homebutton::HomeButton::play_sound | ( | int | id | ) |
|
inline |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
| void homebutton::HomeButton::setAdjustFlag | ( | int | flag | ) |
|
inline |
| void homebutton::HomeButton::setForcusSE | ( | ) |
|
inline |
| void homebutton::HomeButton::setSimpleSyncAlarm | ( | int | type | ) |
|
inline |
| void homebutton::HomeButton::setSoundVolume | ( | f32 | volume | ) |
| void homebutton::HomeButton::setSpeakerAlarm | ( | int | chan, |
| int | msec ) |
| void homebutton::HomeButton::setVibFlag | ( | bool | flag | ) |
| void homebutton::HomeButton::setVolume | ( | int | vol | ) |
| void homebutton::HomeButton::startBlackOut | ( | ) |
| void homebutton::HomeButton::startLeftEvent | ( | const char * | pPane | ) |
| void homebutton::HomeButton::startPointEvent | ( | const char * | pPane, |
| void * | pData ) |
| void homebutton::HomeButton::startTrigEvent | ( | const char * | pPane | ) |
|
inline |
| void homebutton::HomeButton::update | ( | const HBMControllerData * | pController | ) |
|
private |
|
private |
| void homebutton::HomeButton::updateSound | ( | ) |
| void homebutton::HomeButton::updateSoundArchivePlayer | ( | ) |
| void homebutton::HomeButton::updateTrigPane | ( | ) |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |