diff options
Diffstat (limited to '')
-rw-r--r-- | inc/cub3d.h | 6 | ||||
-rw-r--r-- | inc/cub3d_structs.h | 2 |
2 files changed, 8 insertions, 0 deletions
diff --git a/inc/cub3d.h b/inc/cub3d.h index b0f91fd..e9a6ddb 100644 --- a/inc/cub3d.h +++ b/inc/cub3d.h @@ -145,6 +145,12 @@ void ft_floor_cast(t_cub *cl); void ft_floor_cast_inits(uint16_t y, t_ray *rl, t_cub *cl); /* +** ====== ARGS ====== +*/ + +void ft_sfx_trap(t_cub *cl); + +/* ** ====== OTHER ====== */ diff --git a/inc/cub3d_structs.h b/inc/cub3d_structs.h index 543c5a3..fb0fe15 100644 --- a/inc/cub3d_structs.h +++ b/inc/cub3d_structs.h @@ -230,6 +230,8 @@ typedef struct s_cub char errmsg[64]; int32_t key_input[5]; pid_t mpid; + pid_t trap_pid; + pid_t pain_pid; int (*key_ptr[6])(struct s_cub*); int8_t (*get_ptr[14])(char**, struct s_cub*); char ref[22][3]; |