diff options
author | scratko <m@scratko.xyz> | 2024-04-18 20:05:03 +0300 |
---|---|---|
committer | scratko <m@scratko.xyz> | 2024-04-18 20:05:03 +0300 |
commit | 29afbdf8e26f741ac1d090f2e7704093253f17fc (patch) | |
tree | 453dff441936bf712aaa72d27b62f5ca5d0f1bbf /ghosts.c | |
parent | ef3844bf2128fa82f20c5995d1fca66fadba2ce3 (diff) | |
download | pacman-29afbdf8e26f741ac1d090f2e7704093253f17fc.tar.gz pacman-29afbdf8e26f741ac1d090f2e7704093253f17fc.tar.bz2 pacman-29afbdf8e26f741ac1d090f2e7704093253f17fc.zip |
Release version
Diffstat (limited to 'ghosts.c')
-rw-r--r-- | ghosts.c | 12 |
1 files changed, 0 insertions, 12 deletions
@@ -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) |