diff options
author | neoraider <devnull@localhost> | 2005-04-18 17:27:00 +0200 |
---|---|---|
committer | neoraider <devnull@localhost> | 2005-04-18 17:27:00 +0200 |
commit | f3df7ef89aa15aed2e4d68e2b414d31aef57f976 (patch) | |
tree | 53c5630e7a890dc6c1b0b0a2d631119a21da984a /zoom/player.h | |
download | libzoom-f3df7ef89aa15aed2e4d68e2b414d31aef57f976.tar libzoom-f3df7ef89aa15aed2e4d68e2b414d31aef57f976.zip |
Verzeichnisstruktur ge?ndert
Diffstat (limited to 'zoom/player.h')
-rw-r--r-- | zoom/player.h | 24 |
1 files changed, 24 insertions, 0 deletions
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
|