diff options
author | BoredGuy <osome3717@gmail.com> | 2024-12-14 08:16:53 +0300 |
---|---|---|
committer | BoredGuy <osome3717@gmail.com> | 2024-12-14 08:16:53 +0300 |
commit | 36144cc98ed6d96cc4f28e73d8da3434774c5d7a (patch) | |
tree | 947de22d753cdba817bf3de7c48b97de8351c891 /Week1-Pacman/src/pacman.c | |
parent | 0979d3fef156da87b906c55621b49634dced28ba (diff) |
Animation system updates
- implement draw_animation
- add dpi scaling
Diffstat (limited to 'Week1-Pacman/src/pacman.c')
-rw-r--r-- | Week1-Pacman/src/pacman.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Week1-Pacman/src/pacman.c b/Week1-Pacman/src/pacman.c index 6eef8f4..c0a9644 100644 --- a/Week1-Pacman/src/pacman.c +++ b/Week1-Pacman/src/pacman.c @@ -3,6 +3,7 @@ #include "pacman.h" #define PACMAN_SPEED 40 +#define PACMAN_SIDE 20 void handle_pacman_input(SDL_Event* e, struct pacman* pacman) { |