diff options
author | Treeki <treeki@gmail.com> | 2012-10-18 01:35:08 +0200 |
---|---|---|
committer | Treeki <treeki@gmail.com> | 2012-10-18 01:35:08 +0200 |
commit | 9af56ee115dea9cbb9ee5b8317fefdb396a0e744 (patch) | |
tree | e444fa91e0455984de0b7d53996695eea2c7e1db /src/koopatlas/starcoin.h | |
parent | 3ef1114c2bebd29b55fc53986b3c942a55b8b642 (diff) | |
download | kamek-9af56ee115dea9cbb9ee5b8317fefdb396a0e744.tar.gz kamek-9af56ee115dea9cbb9ee5b8317fefdb396a0e744.zip |
working on star coin screen
Diffstat (limited to '')
-rw-r--r-- | src/koopatlas/starcoin.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/src/koopatlas/starcoin.h b/src/koopatlas/starcoin.h index c4e9cbf..3d931e8 100644 --- a/src/koopatlas/starcoin.h +++ b/src/koopatlas/starcoin.h @@ -37,6 +37,23 @@ class dWMStarCoin_c : public dActor_c { SHINE_COUNT = 5, }; + int currentSection; + + bool isLeftArrowVisible, isRightArrowVisible; + bool willExit; + + bool canScrollLeft() const; + bool canScrollRight() const; + void loadInfo(); + void loadSectionInfo(); + + void showLeftArrow(); + void showRightArrow(); + void hideLeftArrow(); + void hideRightArrow(); + void setLeftArrowVisible(bool value); + void setRightArrowVisible(bool value); + nw4r::lyt::Picture *Shine[COLUMN_COUNT][SHINE_COUNT], *CoinOutline[COLUMN_COUNT][ROW_COUNT][3], @@ -49,6 +66,15 @@ class dWMStarCoin_c : public dActor_c { *EarnedCoinCount, *EarnedCoinMax, *BtnWorldSelText, *BtnBackText; + dStateWrapper_c<dWMStarCoin_c> state; + + USING_STATES(dWMStarCoin_c); + DECLARE_STATE(Hidden); + DECLARE_STATE(ShowWait); + DECLARE_STATE(ShowSectionWait); + DECLARE_STATE(Wait); + DECLARE_STATE(HideSectionWait); + DECLARE_STATE(HideWait); }; #endif |