summaryrefslogtreecommitdiff
path: root/Week1-Pacman/src/pacman.h
diff options
context:
space:
mode:
authorBoredGuy <osome3717@gmail.com>2025-01-15 18:12:03 +0300
committerBoredGuy <osome3717@gmail.com>2025-01-15 18:12:03 +0300
commit6a6f7be378bee10679e9e1ea61a70b00b4731589 (patch)
tree8017237147d72e455d6479734579df39eefd2853 /Week1-Pacman/src/pacman.h
parent5f7e0d8cf88d0adb9739e2cc7e26ba26243975f8 (diff)
Scuffed Resource SystemHEADmaster
I am super proud of this one TBH
Diffstat (limited to 'Week1-Pacman/src/pacman.h')
-rw-r--r--Week1-Pacman/src/pacman.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/Week1-Pacman/src/pacman.h b/Week1-Pacman/src/pacman.h
index 65137cd..07096a8 100644
--- a/Week1-Pacman/src/pacman.h
+++ b/Week1-Pacman/src/pacman.h
@@ -5,13 +5,7 @@
#include "animation.h"
#include "demo.h"
#include "map.h"
-
-enum facing {
- FACING_RIGHT,
- FACING_DOWN,
- FACING_LEFT,
- FACING_UP
-};
+#include "facing.h"
struct pacman_init {
float initial_xpos;
@@ -32,7 +26,6 @@ struct pacman {
struct animation animations[4];
};
-void load_pacman_spritesheet(struct demo* demo);
void init_pacman(struct pacman* pacman, struct pacman_init* init);
void handle_pacman_input(struct pacman* pacman, struct map* map);
void update_pacman(struct pacman* pacman, float dt, struct map* map);