Cub3D
 
Loading...
Searching...
No Matches
ft_map_boundaries.c File Reference
#include "cub3d.h"
#include <stddef.h>
#include "libft.h"
Include dependency graph for ft_map_boundaries.c:

Functions

t_coordinates find_position (t_map *map, const char *charset)
 Find the position of the player with charset in the map.
 
int is_walkable (char c)
 Check if a character is walkable or not.
 
int is_in_bounds (char **map, size_t y, size_t x)
 Check if a position is in bounds of map or not.