#include #include int8_t ft_f1_key(t_cub *clist) { if (clist->minimap == 0) { clist->minimap = 1; ft_draw_scene(clist); } else if (clist->minimap == 1) { clist->minimap = 0; ft_draw_scene(clist); } return (0); }