From f3df7ef89aa15aed2e4d68e2b414d31aef57f976 Mon Sep 17 00:00:00 2001 From: neoraider Date: Mon, 18 Apr 2005 15:27:00 +0000 Subject: Verzeichnisstruktur ge?ndert --- zoom/player.h | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 zoom/player.h (limited to 'zoom/player.h') diff --git a/zoom/player.h b/zoom/player.h new file mode 100644 index 0000000..200edcc --- /dev/null +++ b/zoom/player.h @@ -0,0 +1,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 -- cgit v1.2.3