aboutsummaryrefslogtreecommitdiffstats
path: root/inc/cub3d_structs.h
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-03-19 19:04:46 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2020-03-19 19:04:46 +0100
commit6463914b0dc8136c453a1c163dd98f39e55e1c21 (patch)
tree0df94a05e92460e578da7092fde5b2502c8cceef /inc/cub3d_structs.h
parentIt's going well (diff)
download42-cub3d-6463914b0dc8136c453a1c163dd98f39e55e1c21.tar.gz
42-cub3d-6463914b0dc8136c453a1c163dd98f39e55e1c21.tar.bz2
42-cub3d-6463914b0dc8136c453a1c163dd98f39e55e1c21.tar.xz
42-cub3d-6463914b0dc8136c453a1c163dd98f39e55e1c21.tar.zst
42-cub3d-6463914b0dc8136c453a1c163dd98f39e55e1c21.zip
Decent tier
Diffstat (limited to '')
-rw-r--r--inc/cub3d_structs.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/inc/cub3d_structs.h b/inc/cub3d_structs.h
index ba6243b..c2e1d4a 100644
--- a/inc/cub3d_structs.h
+++ b/inc/cub3d_structs.h
@@ -16,6 +16,7 @@
#include <stddef.h>
#include <stdint.h>
#include <sys/types.h>
+#include <time.h>
#include <pthread.h>
typedef struct s_win
@@ -142,6 +143,7 @@ typedef struct s_player
float cam_x;
float plane_x;
float plane_y;
+ uint8_t fire;
int8_t life;
uint8_t has_weapon[2];
int8_t handles_weapon;