UI sprites
[gbajam22] / src / player.h
index 6751691..7636af5 100644 (file)
@@ -3,11 +3,17 @@
 
 #include <stdint.h>
 
+struct cell;
+struct level;
+
 struct player {
        int32_t x, y;
        int32_t theta, phi;
+       int cx, cy;
+       struct cell *cell;
 };
 
+void init_player(struct player *p, struct level *lvl);
 void player_input(struct player *p, uint16_t bnstate);
 
 #endif /* PLAYER_H_ */