aboutsummaryrefslogtreecommitdiffstats
path: root/src/shop.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/shop.h')
-rw-r--r--src/shop.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/shop.h b/src/shop.h
index bae42b3..e9555a5 100644
--- a/src/shop.h
+++ b/src/shop.h
@@ -2,10 +2,24 @@
// The fullname is waaayyy toooo looonnnng for lazy lazy me
+#define SHOP_ENTRY_COUNT 1
+
#ifndef SHOP_H
#define SHOP_H
+typedef void (*ShopyEntryCB)(Game* game);
+
+typedef struct ShopEntry {
+ Texture* texture;
+ int cost;
+ ShopyEntryCB callback;
+} ShopEntry;
+
typedef struct Shop {
+ ShopEntry entries[SHOP_ENTRY_COUNT];
+
+ // Some silly textures.
+ Texture penguinLol;
} Shop;
void initShop(Shop* shop, Game* game);