diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-03-06 22:10:16 +0100 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-03-06 22:10:16 +0100 |
commit | 079a4b6e9389b05db2c672594cfb2f2b197e35dd (patch) | |
tree | f4a2bc882dd7667e2c9758e2be38e3484879e225 /inc/cub3d.h | |
parent | qwe (diff) | |
parent | okok (diff) | |
download | 42-cub3d-079a4b6e9389b05db2c672594cfb2f2b197e35dd.tar.gz 42-cub3d-079a4b6e9389b05db2c672594cfb2f2b197e35dd.tar.bz2 42-cub3d-079a4b6e9389b05db2c672594cfb2f2b197e35dd.tar.xz 42-cub3d-079a4b6e9389b05db2c672594cfb2f2b197e35dd.tar.zst 42-cub3d-079a4b6e9389b05db2c672594cfb2f2b197e35dd.zip |
Merge branch 'fork-music'
Diffstat (limited to 'inc/cub3d.h')
-rw-r--r-- | inc/cub3d.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/inc/cub3d.h b/inc/cub3d.h index 7b57942..6078801 100644 --- a/inc/cub3d.h +++ b/inc/cub3d.h @@ -112,14 +112,16 @@ size_t ft_get_line_len(char *line); */ uint8_t ft_check_map_arg(int argc, const char *argv[]); -uint8_t ft_use_args(int argc, const char *argv[], t_cub *clist); +uint8_t ft_use_args(int argc, const char *argv[], + char *const envp[], t_cub *clist); /* ** ====== OTHER ====== */ void ft_set_minimap_scale(t_cub *clist); -void *ft_music_thread(void *vargp); +void ft_enable_music(t_cub *cl); +void ft_music_fork(char **mcmd_words, char *const envp[]); void ft_detect(t_cub *cl); void ft_castray(t_cub *cl); int8_t ft_save_to_bmp(t_cub *cl); |