From 273459283c98b5f10814fdf74c74c2e6a13f10c0 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Fri, 13 Mar 2020 18:09:55 +0100 Subject: Not ideal --- inc/cub3d_structs.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'inc/cub3d_structs.h') 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]; -- cgit v1.2.3