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.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/inc/cub3d_structs.h b/inc/cub3d_structs.h
index a45af47..3ad9eec 100644
--- a/inc/cub3d_structs.h
+++ b/inc/cub3d_structs.h
@@ -58,10 +58,11 @@ typedef struct s_bmp_info
typedef struct s_sfx
{
- char *cmd_one;
- char *cmd_two;
+ char *cmd;
+ char *cmd_alt;
pthread_t tid;
pthread_mutex_t mutex;
+ void (*ft_sfx_play)(struct s_sfx*);
/* old */
/* ========= */