#ifndef __KOOPATLAS_STARCOIN_H #define __KOOPATLAS_STARCOIN_H #include "koopatlas/core.h" class dWMStarCoin_c : public dActor_c { public: dWMStarCoin_c(); int onCreate(); int onDelete(); int onExecute(); int onDraw(); bool layoutLoaded; m2d::EmbedLayout_c layout; bool visible; void show(); static dWMStarCoin_c *build(); static dWMStarCoin_c *instance; enum Animation { SHOW_ALL = 0, SHOW_SECTION, HIDE_SECTION, SHOW_LEFT_ARROW, HIDE_LEFT_ARROW, SHOW_RIGHT_ARROW, HIDE_RIGHT_ARROW }; enum _Constants { ROW_COUNT = 9, COLUMN_COUNT = 2, SHINE_COUNT = 5, }; nw4r::lyt::Picture *Shine[COLUMN_COUNT][SHINE_COUNT], *CoinOutline[COLUMN_COUNT][ROW_COUNT][3], *Coin[COLUMN_COUNT][ROW_COUNT][3]; nw4r::lyt::TextBox *LevelName[COLUMN_COUNT][ROW_COUNT], *LeftTitle, *RightTitle, *TotalCoinCount, *UnspentCoinCount, *EarnedCoinCount, *EarnedCoinMax, *BtnWorldSelText, *BtnBackText; }; #endif