summaryrefslogtreecommitdiff
path: root/src/koopatlas/shop.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/koopatlas/shop.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/koopatlas/shop.h b/src/koopatlas/shop.h
index d7dcc67..03750fb 100644
--- a/src/koopatlas/shop.h
+++ b/src/koopatlas/shop.h
@@ -27,11 +27,14 @@ class dWMShop_c : public dActor_c {
int selected, lastTopRowChoice;
int shopKind;
+ int coinsRemaining, timerForCoinCountdown;
+
enum Animation {
SHOW_ALL = 0,
HIDE_ALL = 1,
ACTIVATE_BUTTON = 2, // 3, 4, 5, 6, 7
DEACTIVATE_BUTTON = 8, // 9, 10, 11, 12, 13
+ COUNT_COIN = 14,
};
enum ItemTypes {
@@ -95,12 +98,15 @@ class dWMShop_c : public dActor_c {
void buyItem(int item);
+ void showSelectCursor();
+
dStateWrapper_c<dWMShop_c> state;
USING_STATES(dWMShop_c);
DECLARE_STATE(Hidden);
DECLARE_STATE(ShowWait);
DECLARE_STATE(ButtonActivateWait);
+ DECLARE_STATE(CoinCountdown);
DECLARE_STATE(Wait);
DECLARE_STATE(HideWait);
};