fixed clipping, emuprint for mgba, foo
[gbajam22] / src / player.h
1 #ifndef PLAYER_H_
2 #define PLAYER_H_
3
4 #include <stdint.h>
5
6 struct cell;
7
8 struct player {
9         int32_t x, y;
10         int32_t theta, phi;
11         int cx, cy;
12         struct cell *cell;
13 };
14
15 void player_input(struct player *p, uint16_t bnstate);
16
17 #endif  /* PLAYER_H_ */