aboutsummaryrefslogtreecommitdiffstats
path: root/inc/cub3d_structs.h
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-03-13 18:09:55 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2020-03-13 18:09:55 +0100
commit273459283c98b5f10814fdf74c74c2e6a13f10c0 (patch)
tree6959619028e32cb5452e7ca6b65cccf5a7ca0072 /inc/cub3d_structs.h
parentNew sfx, clean exit (diff)
download42-cub3d-273459283c98b5f10814fdf74c74c2e6a13f10c0.tar.gz
42-cub3d-273459283c98b5f10814fdf74c74c2e6a13f10c0.tar.bz2
42-cub3d-273459283c98b5f10814fdf74c74c2e6a13f10c0.tar.xz
42-cub3d-273459283c98b5f10814fdf74c74c2e6a13f10c0.tar.zst
42-cub3d-273459283c98b5f10814fdf74c74c2e6a13f10c0.zip
Not ideal
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];