summaryrefslogtreecommitdiffstats
path: root/zoom/player.h
blob: e9beec6b27a262d0cadd6a71020bcd4cd74ca067 (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 ZOOM_PLAYER_H
#define ZOOM_PLAYER_H

#include <zoom/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