aboutsummaryrefslogtreecommitdiffstats
path: root/inc/cub3d_structs.h
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-03-19 16:39:26 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2020-03-19 16:39:26 +0100
commit39257df9e9c18665545464467a48d1ec26f094a9 (patch)
tree9f8d7c77cdbc583762a2964c568e70ca50e2d527 /inc/cub3d_structs.h
parentAdded new sprite (diff)
download42-cub3d-39257df9e9c18665545464467a48d1ec26f094a9.tar.gz
42-cub3d-39257df9e9c18665545464467a48d1ec26f094a9.tar.bz2
42-cub3d-39257df9e9c18665545464467a48d1ec26f094a9.tar.xz
42-cub3d-39257df9e9c18665545464467a48d1ec26f094a9.tar.zst
42-cub3d-39257df9e9c18665545464467a48d1ec26f094a9.zip
Few changes
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 8e38e36..ba6243b 100644
--- a/inc/cub3d_structs.h
+++ b/inc/cub3d_structs.h
@@ -143,6 +143,8 @@ typedef struct s_player
float plane_x;
float plane_y;
int8_t life;
+ uint8_t has_weapon[2];
+ int8_t handles_weapon;
} t_player;
typedef struct s_ray