summaryrefslogtreecommitdiff
path: root/src/koopatlas/starcoin.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-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