diff options
Diffstat (limited to 'include/barrel_data.h')
| -rw-r--r-- | include/barrel_data.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/barrel_data.h b/include/barrel_data.h index 8dbfd5e..8c611b7 100644 --- a/include/barrel_data.h +++ b/include/barrel_data.h @@ -1,27 +1,27 @@ #include "barrel.h" -static Rectangle physicsCollider = (Rectangle) { +static Rectangle physicsCollider = { .x = NO_OFFSET, .y = NO_OFFSET, .width = 100, .height = 120 }; -static Rectangle destRect = (Rectangle) { +static Rectangle destRect = { .x = -65, .y = -140, .width = 230, .height = 300 }; -static Rectangle srcRect = (Rectangle) { +static Rectangle srcRect = { .x = 0, .y = 0, .width = 32, .height = 32 }; -static Rectangle srcRectDamaged = (Rectangle) { +static Rectangle srcRectDamaged = { .x = 32, .y = 0, .width = 32, |
