From 6a6f7be378bee10679e9e1ea61a70b00b4731589 Mon Sep 17 00:00:00 2001 From: BoredGuy Date: Wed, 15 Jan 2025 18:12:03 +0300 Subject: Scuffed Resource System I am super proud of this one TBH --- Week1-Pacman/src/pacman.h | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'Week1-Pacman/src/pacman.h') 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); -- cgit v1.2.3