mirror of
https://codeberg.org/ACME-Corporation/cub3d.git
synced 2025-12-06 09:58:09 +01:00
started to parse the 'real' map
This commit is contained in:
parent
d336d7bc15
commit
02079dfa87
4 changed files with 92 additions and 6 deletions
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue