aboutsummaryrefslogtreecommitdiffstats
path: root/inc/cub3d_structs.h
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-02-23 16:30:47 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2020-02-23 16:30:47 +0100
commitbf2cce96c3c5657946070a07b8dcda5dad199481 (patch)
treeaf6bb51948d880494d7841c5e5da0f9aff862166 /inc/cub3d_structs.h
parentColors fix (diff)
download42-cub3d-bf2cce96c3c5657946070a07b8dcda5dad199481.tar.gz
42-cub3d-bf2cce96c3c5657946070a07b8dcda5dad199481.tar.bz2
42-cub3d-bf2cce96c3c5657946070a07b8dcda5dad199481.tar.xz
42-cub3d-bf2cce96c3c5657946070a07b8dcda5dad199481.tar.zst
42-cub3d-bf2cce96c3c5657946070a07b8dcda5dad199481.zip
Trying life bars
Diffstat (limited to '')
-rw-r--r--inc/cub3d_structs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/inc/cub3d_structs.h b/inc/cub3d_structs.h
index 639de11..b185d92 100644
--- a/inc/cub3d_structs.h
+++ b/inc/cub3d_structs.h
@@ -67,6 +67,7 @@ typedef struct s_player
float cam_x;
float plane_x;
float plane_y;
+ int8_t life;
} t_player;
typedef struct s_ray