From b135ba89ccceffa88356cc25f256b0cb2adbd88c Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Thu, 19 Mar 2020 21:59:13 +0100 Subject: The og OOP --- inc/cub3d_structs.h | 22 +--------------------- 1 file changed, 1 insertion(+), 21 deletions(-) (limited to 'inc/cub3d_structs.h') diff --git a/inc/cub3d_structs.h b/inc/cub3d_structs.h index 3ad9eec..4532a3d 100644 --- a/inc/cub3d_structs.h +++ b/inc/cub3d_structs.h @@ -62,27 +62,7 @@ typedef struct s_sfx char *cmd_alt; pthread_t tid; pthread_mutex_t mutex; - void (*ft_sfx_play)(struct s_sfx*); - - /* old */ - /* ========= */ - /* char *death; */ - /* char *footstep_one; */ - /* char *footstep_two; */ - /* char *new_lvl; */ - /* char *pain_one; */ - /* char *pain_two; */ - /* char *trap; */ - /* pthread_t death_tid; */ - /* pthread_t footstep_tid; */ - /* pthread_t new_lvl_tid; */ - /* pthread_t pain_tid; */ - /* pthread_t trap_tid; */ - /* pthread_mutex_t death_mutex; */ - /* pthread_mutex_t footstep_mutex; */ - /* pthread_mutex_t new_lvl_mutex; */ - /* pthread_mutex_t pain_mutex; */ - /* pthread_mutex_t trap_mutex; */ + void (*sfx_play)(struct s_sfx *); } t_sfx; typedef struct s_bmp_rgb -- cgit v1.2.3