started to parse the 'real' map

This commit is contained in:
Theo Champion 2025-06-16 17:03:32 +02:00
parent d336d7bc15
commit 02079dfa87
4 changed files with 92 additions and 6 deletions

View file

@ -6,7 +6,7 @@
/* By: tchampio <tchampio@student.42lehavre. +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2025/05/06 13:16:11 by tchampio #+# #+# */
/* Updated: 2025/06/06 17:43:26 by tchampio ### ########.fr */
/* Updated: 2025/06/16 16:12:50 by tchampio ### ########.fr */
/* */
/* ************************************************************************** */
@ -61,6 +61,7 @@ int main(int argc, char **argv)
t_mlx_data data;
t_mapdata map;
ft_bzero(&map, sizeof(map));
if (argc < 2)
return (ft_printf("Error: Missing cub3d file\n"), 1);
if (!check_cubfile(argv[1], &map))