From 29afbdf8e26f741ac1d090f2e7704093253f17fc Mon Sep 17 00:00:00 2001 From: scratko Date: Thu, 18 Apr 2024 20:05:03 +0300 Subject: Release version --- field.h | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) (limited to 'field.h') diff --git a/field.h b/field.h index c527309..728d75a 100644 --- a/field.h +++ b/field.h @@ -37,14 +37,17 @@ struct free_directions { void print_field(game_space field); -void display_character(int y, int x, enum select_character symbol); +void display_character(int y, int x, int symbol, int prison_status); struct ghost_type; void display_ghosts_on_field(struct ghost_type *red_ghost, struct ghost_type *pink_ghost, struct ghost_type *blue_ghost, - struct ghost_type *orange_ghost); + struct ghost_type *orange_ghost, + int frightened_counter); void display_score(int value); +void display_ready(); + struct coordinates; void display_hit(struct coordinates pac_position, const struct ghost_type *red_ghost, @@ -57,6 +60,10 @@ void clear_or_revert_symbol(game_space field, struct coordinates position, enum select_character character, const struct queue *eaten_coins); +void clear_energizer(game_space field, struct coordinates point); +void clear_field(game_space *field); +void clear_ready(); + enum intersection_type get_intersection(const game_space field, struct ghost_type *ghost); @@ -72,13 +79,9 @@ int field_has_energizer(const game_space field, int x, int y); void change_point_if_outside_tunnel(struct coordinates *point); -void clear_energizer(game_space field, struct coordinates point); - int is_equal_points(struct coordinates first_point, struct coordinates second_point); -void clear_field(game_space field); - void erase_life(int value); void erase_hit(struct coordinates point); -- cgit v1.2.3