#include void ft_set_minimap_scale(t_cub *clist) { ((clist->scale = (clist->wlist->x_size / (uint16_t)clist->map_w) - 1) < 1) ? (clist->scale = 1) : 0; (clist->wlist->y_size < (clist->map_h * clist->scale)) ? (clist->scale = (clist->wlist->y_size / (uint16_t)clist->map_h) - 1) : 0; }