diff options
author | kartofen <mladenovnasko0@gmail.com> | 2023-04-09 02:02:51 +0300 |
---|---|---|
committer | kartofen <mladenovnasko0@gmail.com> | 2023-04-09 02:02:51 +0300 |
commit | fc027f7d214028086178a7328926c9b14ead464d (patch) | |
tree | d2972055a06565f26a19626ac3fb26ead84e0766 /src/player.h |
map loading done
Diffstat (limited to 'src/player.h')
-rw-r--r-- | src/player.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/player.h b/src/player.h new file mode 100644 index 0000000..91a9d5e --- /dev/null +++ b/src/player.h @@ -0,0 +1,14 @@ +#ifndef PLAYER_H +#define PLAYER_H + +#include "common.h" + +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 +} player_t; + +// TODO: Add functions to manipulate a player + +#endif |