From 2ad0774ca20e56a4c64cd1fa6531739c701a61ed Mon Sep 17 00:00:00 2001
From: JozanLeClerc <bousset.rudy@gmail.com>
Date: Fri, 13 Mar 2020 04:54:43 +0100
Subject: I fucking love it

---
 inc/cub3d.h         | 6 ++++++
 inc/cub3d_structs.h | 2 ++
 2 files changed, 8 insertions(+)

(limited to 'inc')

diff --git a/inc/cub3d.h b/inc/cub3d.h
index b0f91fd..e9a6ddb 100644
--- a/inc/cub3d.h
+++ b/inc/cub3d.h
@@ -144,6 +144,12 @@ void			ft_detect(t_cub *cl);
 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];
-- 
cgit v1.2.3