int ft_strncmp(const char *s1, const char *s2, size_t n)
Compare up to n characters of string s1 with string s2.
static int open_map(char *filename)
Validate filename and open fdf map file.
int main(int argc, char **argv)
int fdf(t_map map)
Initialize mlx, run map projection and scaling, execute mlx, and cleanup.
t_map read_map(int fd)
Initialize map from an fdf map file pointed to by fd.