From 97b60a12642473a0a29bc1ce567aae487f576c7e Mon Sep 17 00:00:00 2001 From: BoredGuy Date: Thu, 11 Sep 2025 12:50:08 -0700 Subject: Added gitignore and windows compatability --- include/player_data.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'include/player_data.h') 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, -- cgit v1.2.3