From 80ead50951c8b0d2c60c9fd57b8a4c943634b084 Mon Sep 17 00:00:00 2001 From: kartofen Date: Sun, 9 Apr 2023 23:36:55 +0300 Subject: things... --- src/player.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/player.h') 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 -- cgit v1.2.3