#include "th02/player/player.h" #define PLAYER_MOVE_MARGIN_LEFT 8 #define PLAYER_MOVE_MARGIN_TOP 8 #define PLAYER_MOVE_MARGIN_RIGHT 8 #define PLAYER_MOVE_MARGIN_BOTTOM 16 #define PLAYER_OPTION_W 16 #define PLAYER_OPTION_H 16 #define PLAYER_OPTION_DISTANCE ((PLAYER_W / 2) + (PLAYER_OPTION_W / 2)) // Reset to 0 when moving to a new stage. extern unsigned int stage_graze; extern motion_t player_pos; void pascal near player_pos_update_and_clamp(void); // Shots // ----- #define SHOT_W 16 #define SHOT_H 16 // -----