aboutsummaryrefslogtreecommitdiffstats
path: root/src/shop.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/shop.c')
-rw-r--r--src/shop.c40
1 files changed, 40 insertions, 0 deletions
diff --git a/src/shop.c b/src/shop.c
new file mode 100644
index 0000000..68ce2f9
--- /dev/null
+++ b/src/shop.c
@@ -0,0 +1,40 @@
+#include "shop.h"
+#include "game.h"
+#include "assets.h"
+
+void initShop(Shop* shop, Game* game)
+{
+
+}
+
+void updateShop(Shop* shop, Game* game)
+{
+ Texture shopBoard = game->assets.textures[SHOP_BOARD_TEXTURE];
+
+ // Board thingy.
+ DrawTexturePro(
+ shopBoard,
+ (Rectangle){0.0, 0.0, shopBoard.width, shopBoard.height},
+ (Rectangle){0.0, 0.0, WINDOW_WIDTH, WINDOW_HEIGHT},
+ (Vector2){0.0, 0.0},
+ 0.0,
+ WHITE
+ );
+
+ // Penguin thingy thing thing
+ Texture yoyoyo = game->assets.textures[EMPEROR_SHOP_UI_TEXTURE];
+
+ DrawTexturePro(
+ yoyoyo,
+ (Rectangle){0.0, 0.0, yoyoyo.width, yoyoyo.height},
+ (Rectangle){0.0, 0.0, WINDOW_WIDTH, WINDOW_HEIGHT},
+ (Vector2){0.0, 0.0},
+ 0.0,
+ WHITE
+ );
+}
+
+void closeShop(Shop* shop)
+{
+
+}