diff options
-rw-r--r-- | Makefile | 10 | ||||
-rw-r--r-- | map/adv_one.cub | 2 | ||||
-rw-r--r-- | src/ft_exit.c | 1 | ||||
-rw-r--r-- | src/ft_warp_level.c | 1 |
4 files changed, 10 insertions, 4 deletions
@@ -255,8 +255,14 @@ re: fclean all #--------------------------------------------------------------------------------------------------# bonus: all #--------------------------------------------------------------------------------------------------# -run: all +quest: all @./${NAME} "map/quest_start.cub" #--------------------------------------------------------------------------------------------------# -.PHONY: all clean clean fclean re bonus run default +sergio: all + @./${NAME} "map/adv_one.cub" +#--------------------------------------------------------------------------------------------------# +soundtest: + espeak "Hello, partner" +#--------------------------------------------------------------------------------------------------# +.PHONY: all clean clean fclean re bonus quest sergio soundtest default #============================================== EOF ===============================================# diff --git a/map/adv_one.cub b/map/adv_one.cub index 916967e..faf8db0 100644 --- a/map/adv_one.cub +++ b/map/adv_one.cub @@ -1,4 +1,4 @@ -R 1200 1000 +R 1100 900 NO ./media/img/tex/BRIQUASSE_3.xpm SO ./media/img/tex/BRIQUASSE_3.xpm diff --git a/src/ft_exit.c b/src/ft_exit.c index ea43576..28e8a6f 100644 --- a/src/ft_exit.c +++ b/src/ft_exit.c @@ -87,7 +87,6 @@ int ft_del_sfx_cmd(clist); ft_del_last_remains(clist); } - ft_printf("Exiting program\n"); exit(exit_code); return (0); } diff --git a/src/ft_warp_level.c b/src/ft_warp_level.c index abbed03..cbaf3f5 100644 --- a/src/ft_warp_level.c +++ b/src/ft_warp_level.c @@ -79,6 +79,7 @@ static void { pthread_cancel(cl->mtid); pthread_join(cl->mtid, NULL); + system(FT_SND_TERM_CMD); cl->isoldmus = 0; } else if (isoldmus && cl->mlist.ismusic |