summaryrefslogtreecommitdiff
path: root/player.h
diff options
context:
space:
mode:
Diffstat (limited to 'player.h')
-rw-r--r--player.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/player.h b/player.h
new file mode 100644
index 0000000..5c26b9d
--- /dev/null
+++ b/player.h
@@ -0,0 +1,16 @@
+#ifndef player_h
+#define player_h
+
+struct Services;
+
+typedef struct {
+ int p[3];
+ int r[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