#include #include #include #include t_winlist *ft_init_winlist(void) { t_winlist *wlist; wlist = (t_winlist*)malloc(sizeof(t_winlist)); wlist->x_size = 800; wlist->y_size = 600; wlist->wlx = mlx_init(); wlist->winptr = (void*)malloc(800 * 600); wlist->winptr = mlx_new_window(wlist->wlx, 800, 600, "Cub3D"); return (wlist); } t_cublist *ft_init_cublist(void) { t_cublist *clist; clist = (t_cublist*)malloc(sizeof(t_cublist)); return (clist); }