summaryrefslogtreecommitdiff
path: root/src/koopatlas/hud.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/koopatlas/hud.h')
-rw-r--r--src/koopatlas/hud.h32
1 files changed, 18 insertions, 14 deletions
diff --git a/src/koopatlas/hud.h b/src/koopatlas/hud.h
index 347fcb4..6f10169 100644
--- a/src/koopatlas/hud.h
+++ b/src/koopatlas/hud.h
@@ -15,25 +15,29 @@ 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 setPointName();
- void checkPointStatus();
- void setLevelText(const char *str, int length = -1);
- void setLevelText(const wchar_t *str, int length = -1);
+ void enteredNode(dKPNode_s *node = 0);
+ void leftNode();
- 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;
+
+ nw4r::lyt::Picture *Header_Centre, *Header_Right;
+ nw4r::lyt::Picture *NormalExitFlag, *SecretExitFlag;
+ nw4r::lyt::Picture *StarCoinOn[3];
+ nw4r::lyt::TextBox *LevelName, *LevelNameS;
+ nw4r::lyt::TextBox *LevelNumber, *LevelNumberS;
+ nw4r::lyt::TextBox *WorldName, *WorldNameS;
+ nw4r::lyt::TextBox *StarCoinCounter;
};
#endif