aboutsummaryrefslogtreecommitdiffstats
path: root/inc/cub3d_structs.h
diff options
context:
space:
mode:
Diffstat (limited to 'inc/cub3d_structs.h')
-rw-r--r--inc/cub3d_structs.h8
1 files changed, 5 insertions, 3 deletions
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];