#ifndef PLAYER_DATA_H_ #define PLAYER_DATA_H_ #include "game.h" #define PLAYER_SPEED 300.0f Rectangle shadowDestRect = (Rectangle) { .x = -20, .y = 115, .width = 128, .height = 20 }; Rectangle physicsCollider = (Rectangle) { .x = NO_OFFSET, .y = NO_OFFSET, .width = 100, .height = 100 }; Rectangle bodyDestRect = (Rectangle) { .x = -160, .y = -280, .width = 400, .height = 400 }; #define HITBOX_XPOS 70 #define HITBOX_XPOS_FLIPPED -90 Rectangle punchHitBox = (Rectangle) { .x = HITBOX_XPOS, .y = -5, .width = 100, .height = 40 }; #define IDLE_FTIME 0.1f #endif // PLAYER_DATA_H_