summaryrefslogtreecommitdiff
path: root/game/bounding.hpp
diff options
context:
space:
mode:
authorRitabrata Das <[email protected]>2026-09-09 21:07:21 +0530
committerRitabrata Das <[email protected]>2026-09-09 21:07:21 +0530
commitffd968a26826108ca9fb23d46ed5789260852eb7 (patch)
tree3861d08dae1c28f547952dbcc16e04ae7b5286b5 /game/bounding.hpp
intial commit
Diffstat (limited to 'game/bounding.hpp')
-rw-r--r--game/bounding.hpp21
1 files changed, 21 insertions, 0 deletions
diff --git a/game/bounding.hpp b/game/bounding.hpp
new file mode 100644
index 0000000..012729a
--- /dev/null
+++ b/game/bounding.hpp
@@ -0,0 +1,21 @@
+#include <raylib.h>
+#include "../lib/gameState.hpp"
+#define UI_PADDING_BOTTOM 10
+#define UI_BUTTON_SIZE 32
+
+inline Rectangle Calendar = {170, 65, 40, 45};
+inline Rectangle Forehead = {80, 190, 58, 50};
+inline Rectangle Chest = {75, 130, 70, 50};
+inline Rectangle Futton = {145, 190, 80, 110};
+
+inline Rectangle YokaiMountain = {0, 0, 225, 128};
+inline Rectangle Igloo = {130, 160, 100, 90};
+inline Rectangle MistyLake = {0, 128, 225, 32};
+inline Rectangle Flower = {25, 350, 47, 47};
+
+inline Rectangle Frog = {32, 270, 55, 45};
+inline Rectangle RiceCake = {160, 180, 64, 100};
+
+// UI components
+inline Rectangle UI_arrowBtn = {(int)(VIRTUAL_SCREEN_W/3)*2 + UI_BUTTON_SIZE/2.0f ,VIRTUAL_SCREEN_H - UI_BUTTON_SIZE - UI_PADDING_BOTTOM, 32, 32};
+inline Rectangle UI_talkBtn = {(int)(VIRTUAL_SCREEN_W/2) - 88.0f/2,VIRTUAL_SCREEN_H - UI_BUTTON_SIZE - UI_PADDING_BOTTOM,88, 32};