projects
/
gbajam22
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
UI sprites
[gbajam22]
/
src
/
player.h
diff --git
a/src/player.h
b/src/player.h
index
33abfaf
..
7636af5
100644
(file)
--- a/
src/player.h
+++ b/
src/player.h
@@
-4,6
+4,7
@@
#include <stdint.h>
struct cell;
+struct level;
struct player {
int32_t x, y;
@@
-12,6
+13,7
@@
struct player {
struct cell *cell;
};
+void init_player(struct player *p, struct level *lvl);
void player_input(struct player *p, uint16_t bnstate);
#endif /* PLAYER_H_ */