diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-03-02 00:33:11 +0100 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-03-02 00:33:11 +0100 |
commit | fc61b9019c867c88868da308fd2d0bfce7408c7f (patch) | |
tree | 31ca264c2f2cc61613d38a0ffa91e1894e691f53 /src/ft_get_music.c | |
parent | Another song (diff) | |
download | 42-cub3d-fc61b9019c867c88868da308fd2d0bfce7408c7f.tar.gz 42-cub3d-fc61b9019c867c88868da308fd2d0bfce7408c7f.tar.bz2 42-cub3d-fc61b9019c867c88868da308fd2d0bfce7408c7f.tar.xz 42-cub3d-fc61b9019c867c88868da308fd2d0bfce7408c7f.tar.zst 42-cub3d-fc61b9019c867c88868da308fd2d0bfce7408c7f.zip |
in progress
Diffstat (limited to 'src/ft_get_music.c')
-rw-r--r-- | src/ft_get_music.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/ft_get_music.c b/src/ft_get_music.c index c9119c9..0b6fede 100644 --- a/src/ft_get_music.c +++ b/src/ft_get_music.c @@ -10,6 +10,10 @@ /* */ /* ************************************************************************** */ +#include <libft.h> +#include <cub3d.h> +#include <stdint.h> + int8_t ft_get_music(char **words, t_cub *clist) { @@ -18,6 +22,7 @@ int8_t ft_sprintf(clist->errmsg, FT_ERR_ARGS); return (-1); } + ft_printf("%s", *(words + 1)); if (ft_check_ext(*(words + 1), ".wav") < 0) { ft_sprintf(clist->errmsg, FT_ERR_NOT_A_WAV); |