summaryrefslogtreecommitdiff
path: root/src/koopatlas/starcoin.h
diff options
context:
space:
mode:
authorTreeki <treeki@gmail.com>2012-10-18 01:35:08 +0200
committerTreeki <treeki@gmail.com>2012-10-18 01:35:08 +0200
commit9af56ee115dea9cbb9ee5b8317fefdb396a0e744 (patch)
treee444fa91e0455984de0b7d53996695eea2c7e1db /src/koopatlas/starcoin.h
parent3ef1114c2bebd29b55fc53986b3c942a55b8b642 (diff)
downloadkamek-9af56ee115dea9cbb9ee5b8317fefdb396a0e744.tar.gz
kamek-9af56ee115dea9cbb9ee5b8317fefdb396a0e744.zip
working on star coin screen
Diffstat (limited to 'src/koopatlas/starcoin.h')
-rw-r--r--src/koopatlas/starcoin.h26
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