#include #include #include #include int main(void) { t_win *wlist; t_cub *clist; wlist = ft_init_win(); clist = ft_init_cub(); ft_parse_map(wlist, clist, "map/map_one.cub"); mlx_key_hook(wlist->winptr, ft_key_event, wlist); ft_drawsquare(wlist, clist, 80, 80); mlx_loop(wlist->wlx); ft_memdel(clist); return (0); }