aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_hud_threads_next.c
blob: c69d4c74569a5a3d899ad3015ce7280d388171a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
/* ************************************************************************** */
/*                                                                            */
/*                                                        :::      ::::::::   */
/*   ft_hud_threads.c                                   :+:      :+:    :+:   */
/*                                                    +:+ +:+         +:+     */
/*   By: joelecle <marvin@42.fr>                    +#+  +:+       +#+        */
/*                                                +#+#+#+#+#+   +#+           */
/*   Created: 2020/02/22 20:02:47 by joelecle          #+#    #+#             */
/*   Updated: 2020/02/22 20:02:48 by joelecle         ###   ########lyon.fr   */
/*                                                                            */
/* ************************************************************************** */

#include <cub3d.h>
#include <stdint.h>
#include <pthread.h>

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);
}