aboutsummaryrefslogtreecommitdiffstats
path: root/inc/cub3d_defines.h
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-03-03 19:50:46 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2020-03-03 19:50:46 +0100
commit8c9efb6d586213138def6b8e03ee82c7c24a5527 (patch)
treea56474b5997d0dd2b92661c20952e8ce24e63095 /inc/cub3d_defines.h
parentNew map, now we die (diff)
download42-cub3d-8c9efb6d586213138def6b8e03ee82c7c24a5527.tar.gz
42-cub3d-8c9efb6d586213138def6b8e03ee82c7c24a5527.tar.bz2
42-cub3d-8c9efb6d586213138def6b8e03ee82c7c24a5527.tar.xz
42-cub3d-8c9efb6d586213138def6b8e03ee82c7c24a5527.tar.zst
42-cub3d-8c9efb6d586213138def6b8e03ee82c7c24a5527.zip
Better music command handling
Diffstat (limited to 'inc/cub3d_defines.h')
-rw-r--r--inc/cub3d_defines.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/inc/cub3d_defines.h b/inc/cub3d_defines.h
index 3f32fe3..c84f6c1 100644
--- a/inc/cub3d_defines.h
+++ b/inc/cub3d_defines.h
@@ -77,6 +77,15 @@ enum
# endif
/*
+** ====== MUSIC CMD ======
+*/
+# if FT_OS == 1
+# define FT_MUS_CMD "aplay -f cd -t wav -q %s"
+# else
+# define FT_MUS_CMD ""
+# endif
+
+/*
** ====== MOVE SPEED ======
*/
@@ -85,7 +94,7 @@ enum
# define FT_ROT_SPEED 0.09
/*
-** ====== MOVE SPEED ======
+** ====== COLLISION ======
*/
# define FT_COLL_MULT 0.225