aboutsummaryrefslogtreecommitdiffstats
path: root/inc
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-03-13 00:25:57 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2020-03-13 00:25:57 +0100
commit24c048797025d31a23413c69a2e9ed5009e79eaf (patch)
tree6edfa5f053ba16e62cd65c671bb7e84fd9ab04f9 /inc
parentOk nice (diff)
download42-cub3d-24c048797025d31a23413c69a2e9ed5009e79eaf.tar.gz
42-cub3d-24c048797025d31a23413c69a2e9ed5009e79eaf.tar.bz2
42-cub3d-24c048797025d31a23413c69a2e9ed5009e79eaf.tar.xz
42-cub3d-24c048797025d31a23413c69a2e9ed5009e79eaf.tar.zst
42-cub3d-24c048797025d31a23413c69a2e9ed5009e79eaf.zip
Better linux compat
Diffstat (limited to 'inc')
-rw-r--r--inc/cub3d_defines.h5
1 files changed, 3 insertions, 2 deletions
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"