From 8c9efb6d586213138def6b8e03ee82c7c24a5527 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Tue, 3 Mar 2020 19:50:46 +0100 Subject: Better music command handling --- inc/cub3d_defines.h | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'inc/cub3d_defines.h') 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 @@ -76,6 +76,15 @@ enum # define FT_ESC_KEY 65307 # 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 -- cgit v1.2.3