diff options
Diffstat (limited to '')
-rw-r--r-- | src/koopatlas/starcoin.h | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/src/koopatlas/starcoin.h b/src/koopatlas/starcoin.h new file mode 100644 index 0000000..500ffa6 --- /dev/null +++ b/src/koopatlas/starcoin.h @@ -0,0 +1,40 @@ +#ifndef __KOOPATLAS_HUD_H +#define __KOOPATLAS_HUD_H + +#include "koopatlas/core.h" + +class dWMStarCoin : public dBase_c { + public: + dWMStarCoin(); + + int onCreate(); + int onDelete(); + int onExecute(); + int onDraw(); + void specialDraw1(); + + mHeapAllocator_c allocator; + nw4r::g3d::ResFile res; + m3d::mdl_c shopkeep; + mMtx matrix; + + bool layoutLoaded; + m2d::EmbedLayout_c layout; + + bool isHidden; + s16 rotation; + + void LoadCoinsForWorld(int world); + void setCoin(bool On, int coin, int slot); + void setText(const char *str, const char *name); + void setWorldName(int world); + + static dWMStarCoin *build(); + static dWMStarCoin *instance; + + private: + bool isPointBarShown; +}; + +#endif + |