From 29afbdf8e26f741ac1d090f2e7704093253f17fc Mon Sep 17 00:00:00 2001 From: scratko Date: Thu, 18 Apr 2024 20:05:03 +0300 Subject: Release version --- ghosts.c | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'ghosts.c') diff --git a/ghosts.c b/ghosts.c index 5c60200..72e4f81 100644 --- a/ghosts.c +++ b/ghosts.c @@ -48,7 +48,6 @@ void initialize_ghost(struct ghost_type *ghost, enum ghost_color color) ghost->prison_params.position.y = orange_prison_y; break; } - ghost->frightened_status = 0; ghost->direction = none; ghost->prison_params.prison_counter = 0; ghost->prison_params.active = 0; @@ -448,17 +447,6 @@ void reverse_all_ghosts(struct ghost_type *red_ghost, left : orange_ghost->direction ^ 1; } -void set_frightened_status(int status, struct ghost_type *red_ghost, - struct ghost_type *pink_ghost, - struct ghost_type *blue_ghost, - struct ghost_type *orange_ghost) -{ - red_ghost->frightened_status = status; - pink_ghost->frightened_status = status; - blue_ghost->frightened_status = status; - orange_ghost->frightened_status = status; -} - int is_pac_nearby(struct pacman pac, struct ghost_type ghost) { if(ghost.capture_info.status) -- cgit v1.2.3