aboutsummaryrefslogtreecommitdiffstats
path: root/inc
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--inc/cub3d.h1
-rw-r--r--inc/cub3d_structs.h3
2 files changed, 3 insertions, 1 deletions
diff --git a/inc/cub3d.h b/inc/cub3d.h
index e9a6ddb..3cea604 100644
--- a/inc/cub3d.h
+++ b/inc/cub3d.h
@@ -149,6 +149,7 @@ void ft_floor_cast_inits(uint16_t y, t_ray *rl, t_cub *cl);
*/
void ft_sfx_trap(t_cub *cl);
+void ft_sfx_death(t_cub *cl);
/*
** ====== OTHER ======
diff --git a/inc/cub3d_structs.h b/inc/cub3d_structs.h
index fb0fe15..2f10f29 100644
--- a/inc/cub3d_structs.h
+++ b/inc/cub3d_structs.h
@@ -230,8 +230,9 @@ typedef struct s_cub
char errmsg[64];
int32_t key_input[5];
pid_t mpid;
- pid_t trap_pid;
+ pid_t death_pid;
pid_t pain_pid;
+ pid_t trap_pid;
int (*key_ptr[6])(struct s_cub*);
int8_t (*get_ptr[14])(char**, struct s_cub*);
char ref[22][3];