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_draw_hud.c | 77 ------------------------------------------------------- 1 file changed, 77 deletions(-) (limited to 'src/ft_draw_hud.c') diff --git a/src/ft_draw_hud.c b/src/ft_draw_hud.c index 6e4f86f..ca553f0 100644 --- a/src/ft_draw_hud.c +++ b/src/ft_draw_hud.c @@ -42,83 +42,6 @@ static void } } -void -*ft_ammo_back_thread(void *vargp) -{ - t_cub *clist; - - clist = (t_cub *)vargp; - ft_draw_ammo_back(clist); - pthread_exit(0x0); - return (0x0); -} - -void -*ft_minimap_back_thread(void *vargp) -{ - t_cub *clist; - - clist = (t_cub *)vargp; - ft_draw_minimap_back(clist); - pthread_exit(0x0); - return (0x0); -} - -void -*ft_map_thread(void *vargp) -{ - t_cub *clist; - - clist = (t_cub *)vargp; - ft_draw_map(clist->mlist.map, clist); - pthread_exit(0x0); - return (0x0); -} - -void -*ft_life_bar_thread(void *vargp) -{ - t_cub *clist; - - clist = (t_cub *)vargp; - ft_draw_life_bar(clist); - pthread_exit(0x0); - return (0x0); -} - -void -*ft_ammo_bar_thread(void *vargp) -{ - t_cub *clist; - - clist = (t_cub *)vargp; - ft_draw_ammo_bar(clist); - pthread_exit(0x0); - return (0x0); -} - -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); -} - int8_t ft_draw_hud(t_cub *clist) { -- cgit v1.2.3