summaryrefslogtreecommitdiff
path: root/src/player.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/player.h')
-rw-r--r--src/player.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/player.h b/src/player.h
index 91a9d5e..ee5270b 100644
--- a/src/player.h
+++ b/src/player.h
@@ -6,9 +6,11 @@
typedef struct player {
struct xyz pos, velocity; // vectors for the player
float angle, anglesin, anglecos, yaw; // angle, and its sine and cosine
- uint sector; // the sector that the player is in
+ size_t sector; // the sector that the player is in
} player_t;
+int player_update(player_t *player);
+
// TODO: Add functions to manipulate a player
#endif