projects
/
gbajam22
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
starting to separate platform-specific code to facilitate a PC build
[gbajam22]
/
src
/
player.h
1
#ifndef PLAYER_H_
2
#define PLAYER_H_
3
4
#include <stdint.h>
5
6
struct cell;
7
struct level;
8
9
struct player {
10
int32_t x, y;
11
int32_t theta, phi;
12
int cx, cy;
13
struct cell *cell;
14
};
15
16
void init_player(struct player *p, struct level *lvl);
17
void player_input(struct player *p, uint16_t bnstate);
18
19
#endif /* PLAYER_H_ */