diff options
Diffstat (limited to '')
-rw-r--r-- | inc/cub3d.h | 3 | ||||
-rw-r--r-- | inc/cub3d_structs.h | 8 |
2 files changed, 7 insertions, 4 deletions
diff --git a/inc/cub3d.h b/inc/cub3d.h index 3cea604..8148561 100644 --- a/inc/cub3d.h +++ b/inc/cub3d.h @@ -148,8 +148,9 @@ void ft_floor_cast_inits(uint16_t y, t_ray *rl, t_cub *cl); ** ====== ARGS ====== */ -void ft_sfx_trap(t_cub *cl); void ft_sfx_death(t_cub *cl); +void ft_sfx_footstep(t_cub *cl); +void ft_sfx_trap(t_cub *cl); /* ** ====== OTHER ====== diff --git a/inc/cub3d_structs.h b/inc/cub3d_structs.h index 2f10f29..04ee59c 100644 --- a/inc/cub3d_structs.h +++ b/inc/cub3d_structs.h @@ -64,6 +64,11 @@ typedef struct s_sfx char **pain_one; char **pain_two; char **trap; + pid_t death_pid; + pid_t footstep_pid; + pid_t new_lvl_pid; + pid_t pain_pid; + pid_t trap_pid; } t_sfx; typedef struct s_bmp_rgb @@ -230,9 +235,6 @@ typedef struct s_cub char errmsg[64]; int32_t key_input[5]; pid_t mpid; - 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]; |