From df5888dde7755175f4ee300a87c2e983c5b384c4 Mon Sep 17 00:00:00 2001 From: BoredGuy Date: Tue, 31 Dec 2024 09:57:35 +0300 Subject: Pacman Movement Complete - The movement system doesn't let you turn into walls now - Minor maze improvements(more to come) --- Week1-Pacman/src/pacman.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Week1-Pacman/src/pacman.h') diff --git a/Week1-Pacman/src/pacman.h b/Week1-Pacman/src/pacman.h index 3bb0681..c800910 100644 --- a/Week1-Pacman/src/pacman.h +++ b/Week1-Pacman/src/pacman.h @@ -26,7 +26,7 @@ struct pacman { struct animation animations[4]; }; -void handle_pacman_input(SDL_Event* e, struct pacman* pacman); +void handle_pacman_input(SDL_Event* e, struct pacman* pacman, struct map* map); void update_pacman(struct pacman* pacman, float dt, struct map* map); void draw_pacman(struct demo* demo, const struct pacman* pacman); -- cgit v1.2.3