summaryrefslogtreecommitdiffstats
path: root/zoom/player.h
blob: 200edcca3c15ad428aceacd8a62a514f2ef9964a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#ifndef GAME_PLAYER_H
#define GAME_PLAYER_H

#include "types.h"

#define INPUT_UP 1
#define INPUT_DOWN 2
#define INPUT_RIGHT 4
#define INPUT_LEFT 8
#define INPUT_OPEN 16

typedef struct _PLAYER {
	VERTEX pos;
	float rotx;
	float rotysin, rotycos;
	int health;
	int shield;
	int room;
} PLAYER;

void MouseInput(int, int);
void DoInput(int);

#endif