diff options
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 |