From 155a3c5f91c7a3bd89febfeb9927478961f5ee28 Mon Sep 17 00:00:00 2001 From: scratko Date: Sun, 7 Apr 2024 22:40:47 +0300 Subject: Tracking coins eaten The initialization of ncurses parameters and ghosts was put into functions. The order of movements has been changed: now pacman moves first. Accounting for eaten coins. Correct coin erasure. --- queue.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'queue.h') diff --git a/queue.h b/queue.h index 413b76f..97a0e77 100644 --- a/queue.h +++ b/queue.h @@ -19,7 +19,7 @@ struct coordinates queue_front(const struct queue *q); int empty(const struct queue *q); void pop(struct queue *q); int equal_points(struct coordinates tmp_point, struct coordinates target_point); -int is_consist_point(const struct queue *q, struct coordinates target_point); +int queue_consists_point(const struct queue *q, struct coordinates target_point); void queue_clear(struct queue *q); #endif -- cgit v1.2.3