#ifndef __KOOPATLAS_HUD_H #define __KOOPATLAS_HUD_H #include "koopatlas/core.h" class dWMHud_c : public dBase_c { public: dWMHud_c(); int onCreate(); int onDelete(); int onExecute(); int onDraw(); bool layoutLoaded; m2d::EmbedLayout_c layout; void updateLives(); 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 setWorldName(); void setWorldText(const char *str, int length = -1); void setWorldText(const wchar_t *str, int length = -1); static dWMHud_c *build(); static dWMHud_c *instance; private: bool isPointBarShown; }; #endif