diff options
Diffstat (limited to 'inc/cub3d_defines.h')
-rw-r--r-- | inc/cub3d_defines.h | 34 |
1 files changed, 31 insertions, 3 deletions
diff --git a/inc/cub3d_defines.h b/inc/cub3d_defines.h index 1c2c39c..588670d 100644 --- a/inc/cub3d_defines.h +++ b/inc/cub3d_defines.h @@ -80,13 +80,34 @@ enum # endif /* -** ====== MUSIC CMD ====== +** ====== SOUNDS ====== */ +# define FT_SFX_DEATH_PATH "./media/sound/sfx/death_screen.wav" +# define FT_SFX_FS_ONE_PATH "./media/sound/sfx/footstep_one.wav" +# define FT_SFX_FS_TWO_PATH "./media/sound/sfx/footstep_two.wav" +# define FT_SFX_N_LVL_PATH "./media/sound/sfx/next_lvl.wav" +# define FT_SFX_SCR_ONE_PATH "./media/sound/sfx/scream_one.wav" +# define FT_SFX_SCR_TWO_PATH "./media/sound/sfx/scream_two.wav" +# define FT_SFX_SCR_TRAP_PATH "./media/sound/sfx/trap.wav" # if FT_OS == 1 -# define FT_SND_CMD "/usr/bin/afplay --volume 0.2 %s" +# define FT_MUS_CMD "/usr/bin/afplay --volume 0.2 %s" +# define FT_SFX_DEATH "/usr/bin/afplay --volume 0.2 ./media/sound/sfx/death_screen.wav" +# define FT_SFX_FS_ONE "/usr/bin/afplay --volume 0.2 ./media/sound/sfx/footstep_one.wav" +# define FT_SFX_FS_TWO "/usr/bin/afplay --volume 0.2 ./media/sound/sfx/footstep_two.wav" +# define FT_SFX_N_LVL "/usr/bin/afplay --volume 0.2 ./media/sound/sfx/next_lvl.wav" +# define FT_SFX_PAIN_ONE "/usr/bin/afplay --volume 0.2 ./media/sound/sfx/scream_one.wav" +# define FT_SFX_PAIN_TWO "/usr/bin/afplay --volume 0.2 ./media/sound/sfx/scream_two.wav" +# define FT_SFX_TRAP "/usr/bin/afplay --volume 0.2 ./media/sound/sfx/trap.wav" # else -# define FT_SND_CMD "/usr/bin/aplay -f cd -t wav -q %s" +# define FT_MUS_CMD "/usr/bin/aplay -f cd -t wav -q %s" +# define FT_SFX_DEATH "/usr/bin/aplay -f cd -t wav -q ./media/sound/sfx/death_screen.wav" +# define FT_SFX_FS_ONE "/usr/bin/aplay -f cd -t wav -q ./media/sound/sfx/footstep_one.wav" +# define FT_SFX_FS_TWO "/usr/bin/aplay -f cd -t wav -q ./media/sound/sfx/footstep_two.wav" +# define FT_SFX_N_LVL "/usr/bin/aplay -f cd -t wav -q ./media/sound/sfx/next_lvl.wav" +# define FT_SFX_PAIN_ONE "/usr/bin/aplay -f cd -t wav -q ./media/sound/sfx/scream_one.wav" +# define FT_SFX_PAIN_TWO "/usr/bin/aplay -f cd -t wav -q ./media/sound/sfx/scream_two.wav" +# define FT_SFX_TRAP "/usr/bin/aplay -f cd -t wav -q ./media/sound/sfx/trap.wav" # endif /* @@ -190,6 +211,13 @@ enum # define FT_ERR_MISS_CEIL_C "ceiling color" # define FT_ERR_MISS_PLAYER_SPAWN "player spawn" # define FT_ERR_MISS_TRAP "traps" +# define FT_ERR_MISS_SFX_DEATH "missing sound effect death" +# define FT_ERR_MISS_SFX_FS_ONE "missing sound effect footstep one" +# define FT_ERR_MISS_SFX_FS_TWO "missing sound effect footstep two" +# define FT_ERR_MISS_SFX_N_LVL "missing sound effect new level" +# define FT_ERR_MISS_SFX_SCR_ONE "missing sound effect scream one" +# define FT_ERR_MISS_SFX_SCR_TWO "missing sound effect scream two" +# define FT_ERR_MISS_SFX_TRAP "missing sound effect trap" /* ** ====== OTHER ====== |