From 24c048797025d31a23413c69a2e9ed5009e79eaf Mon Sep 17 00:00:00 2001 From: JozanLeClerc <bousset.rudy@gmail.com> Date: Fri, 13 Mar 2020 00:25:57 +0100 Subject: Better linux compat --- inc/cub3d_defines.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'inc') diff --git a/inc/cub3d_defines.h b/inc/cub3d_defines.h index 2fbd325..1c2c39c 100644 --- a/inc/cub3d_defines.h +++ b/inc/cub3d_defines.h @@ -84,9 +84,9 @@ enum */ # if FT_OS == 1 -# define FT_MUS_CMD "/usr/bin/afplay --volume 0.2 %s" +# define FT_SND_CMD "/usr/bin/afplay --volume 0.2 %s" # else -# define FT_MUS_CMD "/usr/bin/aplay -f cd -t wav -q %s" +# define FT_SND_CMD "/usr/bin/aplay -f cd -t wav -q %s" # endif /* @@ -138,6 +138,7 @@ enum # define FT_ERR_ALLOCATE "Allocation error" # define FT_ERR_READ "read error" # define FT_ERR_ARGS "too many or to few arguments" +# define FT_ERR_ARGV "Bad arguments" # define FT_ERR_RES_SMALL "resolution is too small, 50x50 minimum pls" # define FT_ERR_RES_ALPHA "resolution should be digits only" # define FT_ERR_SH_ALPHA "shadow amount should be digits only" -- cgit v1.2.3