aboutsummaryrefslogtreecommitdiffstats
path: root/inc/cub3d_structs.h
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-03-19 20:59:02 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2020-03-19 20:59:02 +0100
commitf63e12e2f7aca68d867e362223804afdc987af73 (patch)
tree9a3c02963378f55982d590a78831017067c094c3 /inc/cub3d_structs.h
parentStarting sfx rework (diff)
download42-cub3d-f63e12e2f7aca68d867e362223804afdc987af73.tar.gz
42-cub3d-f63e12e2f7aca68d867e362223804afdc987af73.tar.bz2
42-cub3d-f63e12e2f7aca68d867e362223804afdc987af73.tar.xz
42-cub3d-f63e12e2f7aca68d867e362223804afdc987af73.tar.zst
42-cub3d-f63e12e2f7aca68d867e362223804afdc987af73.zip
Rework in progress
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 */
/* ========= */