diff options
author | kartofen <mladenovnasko0@gmail.com> | 2023-04-09 23:36:55 +0300 |
---|---|---|
committer | kartofen <mladenovnasko0@gmail.com> | 2023-04-09 23:36:55 +0300 |
commit | 80ead50951c8b0d2c60c9fd57b8a4c943634b084 (patch) | |
tree | 635d8479b7e862d3cd7b3bc69b0cb64e31c38c2e /src/player.h | |
parent | fc027f7d214028086178a7328926c9b14ead464d (diff) |
things...
Diffstat (limited to 'src/player.h')
-rw-r--r-- | src/player.h | 4 |
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 |