summaryrefslogtreecommitdiff
path: root/src/koopatlas/hud.h
diff options
context:
space:
mode:
authorColin Noga <Tempus@chronometry.ca>2012-09-26 11:51:03 -0500
committerColin Noga <Tempus@chronometry.ca>2012-09-26 11:51:03 -0500
commitf9afbf1109b30bbc6011e81109b7e11961a4361a (patch)
tree46883b3ccd9ab82b439c192a657e0632414e906a /src/koopatlas/hud.h
parent3268b1fab87a34897289faa8a1f5ee0679f74e19 (diff)
parent46b65dfd76411bec6f8356c581f337f8a1944013 (diff)
downloadkamek-f9afbf1109b30bbc6011e81109b7e11961a4361a.tar.gz
kamek-f9afbf1109b30bbc6011e81109b7e11961a4361a.zip
Merge remote-tracking branch 'origin/new-hud' into level-select
Diffstat (limited to '')
-rw-r--r--src/koopatlas/hud.h45
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