Cub3D
 
Loading...
Searching...
No Matches
ft_map_check.c File Reference
#include "cub3d.h"
#include "ft_print.h"
#include "ft_printf.h"
#include <stdbool.h>
Include dependency graph for ft_map_check.c:

Functions

t_map ft_map_check_dimensions (t_map *map, char *map_name)
 Check the map structure and try to open the map file. sets error to -1 if an error occurred.
 
t_map check_map_chars_borders (t_map *map)
 Check if the map has only acceptable characters and if there is borders everywhere, as it should be.