diff options
Diffstat (limited to 'src/koopatlas/hud.h')
-rw-r--r-- | src/koopatlas/hud.h | 45 |
1 files changed, 31 insertions, 14 deletions
diff --git a/src/koopatlas/hud.h b/src/koopatlas/hud.h index 347fcb4..e507aea 100644 --- a/src/koopatlas/hud.h +++ b/src/koopatlas/hud.h @@ -15,25 +15,42 @@ class dWMHud_c : public dBase_c { bool layoutLoaded; m2d::EmbedLayout_c layout; - void updateLives(); + static dWMHud_c *build(); + static dWMHud_c *instance; - void showPointBar(); - void hidePointBar(); + void enteredNode(dKPNode_s *node = 0); + void leftNode(); - void setPointName(); - void checkPointStatus(); - void setLevelText(const char *str, int length = -1); - void setLevelText(const wchar_t *str, int length = -1); + void setupLives(); - void setWorldName(); - void setWorldText(const char *str, int length = -1); - void setWorldText(const wchar_t *str, int length = -1); + private: + void playShowHeaderAnim(); + void playHideHeaderAnim(); + void loadHeaderInfo(); - static dWMHud_c *build(); - static dWMHud_c *instance; + bool willShowHeader; + dKPNode_s *nodeForHeader; - private: - bool isPointBarShown; + int displayedControllerType; + void updatePressableButtonThingies(); + + + nw4r::lyt::Pane + *N_IconPosXP_00[4]; + + nw4r::lyt::Picture + *Header_Centre, *Header_Right, + *NormalExitFlag, *SecretExitFlag, + *StarCoinOn[3], + *P_marioFace_00, *P_luigiFace_00, + *P_BkinoFace_00, *P_YkinoFace_00; + + nw4r::lyt::TextBox + *LevelName, *LevelNameS, + *LevelNumber, *LevelNumberS, + *WorldName, *WorldNameS, + *StarCoinCounter, + *T_lifeNumber[4]; }; #endif |