summaryrefslogtreecommitdiff
path: root/src/player.h
blob: 91a9d5ed5c25facc5c81bbe28d933fc2389e35b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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