summaryrefslogtreecommitdiff
path: root/include/player_data.h
diff options
context:
space:
mode:
authorBoredGuy <osome3717@gmail.com>2025-09-11 12:50:08 -0700
committerBoredGuy <osome3717@gmail.com>2025-09-11 12:50:08 -0700
commit97b60a12642473a0a29bc1ce567aae487f576c7e (patch)
treebe05cb1fb6cda9323489387db24f63232f8d5aa9 /include/player_data.h
parentc326d6c5297667304cec5f78eede6e3c94163431 (diff)
Added gitignore and windows compatabilitymaster
Diffstat (limited to 'include/player_data.h')
-rw-r--r--include/player_data.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/player_data.h b/include/player_data.h
index 7df3c77..c4a3148 100644
--- a/include/player_data.h
+++ b/include/player_data.h
@@ -5,21 +5,21 @@
#define PLAYER_SPEED 300.0f
-Rectangle shadowDestRect = (Rectangle) {
+Rectangle shadowDestRect = {
.x = -20,
.y = 115,
.width = 128,
.height = 20
};
-Rectangle physicsCollider = (Rectangle) {
+Rectangle physicsCollider = {
.x = NO_OFFSET,
.y = NO_OFFSET,
.width = 100,
.height = 100
};
-Rectangle bodyDestRect = (Rectangle) {
+Rectangle bodyDestRect = {
.x = -160,
.y = -280,
.width = 400,
@@ -29,7 +29,7 @@ Rectangle bodyDestRect = (Rectangle) {
#define HITBOX_XPOS 70
#define HITBOX_XPOS_FLIPPED -90
-Rectangle punchHitBox = (Rectangle) {
+Rectangle punchHitBox = {
.x = HITBOX_XPOS,
.y = -5,
.width = 100,