summaryrefslogtreecommitdiff
path: root/Week1-Pacman/src/pacman.h
diff options
context:
space:
mode:
authorBoredGuy <osome3717@gmail.com>2024-12-31 09:57:35 +0300
committerBoredGuy <osome3717@gmail.com>2024-12-31 09:57:35 +0300
commitdf5888dde7755175f4ee300a87c2e983c5b384c4 (patch)
tree10a8910640ab684b1f1e024f545b562042055ede /Week1-Pacman/src/pacman.h
parent5f347311d117a8f453779c37c67fb2ec387c084b (diff)
Pacman Movement Complete
- The movement system doesn't let you turn into walls now - Minor maze improvements(more to come)
Diffstat (limited to 'Week1-Pacman/src/pacman.h')
-rw-r--r--Week1-Pacman/src/pacman.h2
1 files changed, 1 insertions, 1 deletions
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);