summaryrefslogtreecommitdiff
path: root/src/koopatlas/shop.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/koopatlas/shop.h')
-rw-r--r--src/koopatlas/shop.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/koopatlas/shop.h b/src/koopatlas/shop.h
index 719a087..304154a 100644
--- a/src/koopatlas/shop.h
+++ b/src/koopatlas/shop.h
@@ -2,8 +2,9 @@
#define __KOOPATLAS_SHOP_H
#include "koopatlas/core.h"
+#include "texmapcolouriser.h"
-class dWMShop_c : public dBase_c {
+class dWMShop_c : public dActor_c {
public:
static dWMShop_c *build();
static dWMShop_c *instance;
@@ -56,6 +57,11 @@ class dWMShop_c : public dBase_c {
*CoinCount, *CoinCountShadow,
*BackText, *BuyText;
+ nw4r::lyt::Picture
+ *BtnLeft[6], *BtnMid[6], *BtnRight[6];
+
+ dTexMapColouriser_c leftCol, midCol, rightCol;
+
class ShopModel_c {
public:
mHeapAllocator_c allocator;
@@ -64,7 +70,7 @@ class dWMShop_c : public dBase_c {
m3d::mdl_c model;
m3d::anmChr_c animation;
- float x, y;
+ float x, y, scaleFactor;
void setupItem(float x, float y, ItemTypes type);
void setupLakitu(int id);
@@ -78,6 +84,7 @@ class dWMShop_c : public dBase_c {
void show(int shopNumber);
+ void loadInfo();
void loadModels();
void deleteModels();