aboutsummaryrefslogtreecommitdiffstats
path: root/inc/cub3d_structs.h
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-03-11 12:38:21 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2020-03-11 12:38:21 +0100
commitb236416db21d03f7749e1c80d5b7abee70ea07d5 (patch)
tree69d7ddceef69415ec70bf383f1365552b8b8c7e1 /inc/cub3d_structs.h
parentPerfect collision on them traps (diff)
download42-cub3d-b236416db21d03f7749e1c80d5b7abee70ea07d5.tar.gz
42-cub3d-b236416db21d03f7749e1c80d5b7abee70ea07d5.tar.bz2
42-cub3d-b236416db21d03f7749e1c80d5b7abee70ea07d5.tar.xz
42-cub3d-b236416db21d03f7749e1c80d5b7abee70ea07d5.tar.zst
42-cub3d-b236416db21d03f7749e1c80d5b7abee70ea07d5.zip
Pretty cool animation
Diffstat (limited to 'inc/cub3d_structs.h')
-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 5ba3b38..7665e96 100644
--- a/inc/cub3d_structs.h
+++ b/inc/cub3d_structs.h
@@ -120,6 +120,7 @@ typedef struct s_player
float cam_x;
float plane_x;
float plane_y;
+ int8_t life;
} t_player;
typedef struct s_ray