summaryrefslogtreecommitdiff
path: root/player.h
blob: c30d9e75be6f15ab3db17ae6f7b45ef0f94527a6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#ifndef player_h
#define player_h

struct Services;

typedef struct {
	int p[3];
	int r[2];
	int f[2], l[2];
} Player;

void init_player(Player* p);
void update_player(Player* p, struct Services* s);
void push_player_cam(const Player* p);
void pop_player_cam(void);

#endif