Cub3D
 
Loading...
Searching...
No Matches
ft_file_fill.c File Reference
#include "cub3d.h"
#include "get_next_line.h"
#include <stdlib.h>
Include dependency graph for ft_file_fill.c:

Functions

size_t count_file_lines (char *file_name)
 Simple function to count the number of lines in a file.
 
char ** read_file_lines (t_map *map, char *map_name)
 Read the map file line by line and return an array of strings.