/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* parsing2.c :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: cchauvet patern); if (patern == NULL) return (1); ft_fill_pos(map); ft_collector(patern, map->player_pos[0], map->player_pos[1]); i = 1; ok = 1; while (patern[i + 1] != NULL) { if (ft_is_in(patern[i], 'C') || ft_is_in(patern[i], 'E')) ok = 0; i++; } ft_freer_tab_ultimate(1, patern); return (ok); }