diff options
author | Colin Noga <Tempus@chronometry.ca> | 2012-07-27 10:06:11 -0500 |
---|---|---|
committer | Colin Noga <Tempus@chronometry.ca> | 2012-07-27 10:06:11 -0500 |
commit | e80220cf6e73a5f4c9ed9948e8164cb23e152898 (patch) | |
tree | a1046838656aa23ecef96b4dc22e08ec23d00fe5 /src/koopatlas/starcoin.h | |
parent | 24eda6f87c4ce6f30fb9ef5cdaec8e1093513df3 (diff) | |
download | kamek-e80220cf6e73a5f4c9ed9948e8164cb23e152898.tar.gz kamek-e80220cf6e73a5f4c9ed9948e8164cb23e152898.zip |
Oops, need these too
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 + |