From 5ad03a84ee06712ef4331a173c710657da70d0d0 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Mon, 23 Mar 2020 22:31:15 +0100 Subject: got work to do --- src/ft_hud_threads_next.c | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 src/ft_hud_threads_next.c (limited to 'src/ft_hud_threads_next.c') diff --git a/src/ft_hud_threads_next.c b/src/ft_hud_threads_next.c new file mode 100644 index 0000000..e390050 --- /dev/null +++ b/src/ft_hud_threads_next.c @@ -0,0 +1,38 @@ +/* ************************************************************************** */ +/* */ +/* ::: :::::::: */ +/* ft_hud_threads.c :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: rbousset +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2020/02/22 20:02:47 by rbousset #+# #+# */ +/* Updated: 2020/02/22 20:02:48 by rbousset ### ########lyon.fr */ +/* */ +/* ************************************************************************** */ + +#include +#include +#include + +void + *ft_health_cap_thread(void *vargp) +{ + t_cub *clist; + + clist = (t_cub *)vargp; + ft_draw_health_caption(clist); + pthread_exit(0x0); + return (0x0); +} + +void + *ft_ammo_cap_thread(void *vargp) +{ + t_cub *clist; + + clist = (t_cub *)vargp; + ft_draw_ammo_caption(clist); + pthread_exit(0x0); + return (0x0); +} + -- cgit v1.2.3