Cub3D
 
Loading...
Searching...
No Matches
ft_print_errors.c File Reference
#include "cub3d.h"
#include "data_structure.h"
#include "ft_print.h"
#include "ft_printf.h"
#include "maze.h"
Include dependency graph for ft_print_errors.c:

Functions

void print_map_error (t_map *map, enum e_map_error error)
 Print the corresponding map error.
 
int print_map_validate_error (t_map *map, enum e_map_error error)
 Print the corresponding map validation error.
 
void print_maze_error (enum e_maze_error error)
 Print the corresponding maze error.
 
int print_error (t_map *map, enum e_fx_error error)
 Print a special message according to enum.
 
void print_leak_map (char **map, size_t y, size_t x)
 Print where a leak is located on the map.