diff options
Diffstat (limited to 'include/player_data.h')
| -rw-r--r-- | include/player_data.h | 8 |
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, |
