aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.c
blob: 16c96efb5e0a1f0f98182c7e230242304d09ee01 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#include <libft.h>
#include <mlx.h>
#include <cub3d.h>
#include <stdlib.h>

int
	main(void)
{
	t_winlist	*wlist;
	t_cublist	*clist;

	wlist = ft_init_winlist();
	clist = ft_init_cublist();
	mlx_loop(wlist->wlx);
	ft_memdel(wlist->wlx);
	ft_memdel(wlist->winptr);
	ft_memdel(wlist);
	ft_memdel(clist);
	return (0);
}