Valid map file

This commit is contained in:
2025-12-05 17:11:31 +01:00
parent 7acb059c20
commit f693cda860
4 changed files with 174 additions and 8 deletions

View File

@@ -6,7 +6,7 @@
/* By: aortigos <aortigos@student.42malaga.com +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2025/11/25 19:47:02 by aortigos #+# #+# */
/* Updated: 2025/12/05 16:30:21 by aortigos ### ########.fr */
/* Updated: 2025/12/05 17:10:22 by aortigos ### ########.fr */
/* */
/* ************************************************************************** */
@@ -70,11 +70,21 @@ int check_color_textures(char *line);
int check_count_textures(t_data *m, int count);
// textures_utils.c
int is_valid_texture(char *line);
int count_comma(char *rgb);
int check_pos_cf(char *l);
int line_around_one(char *line);
char *getlastline(char **map);
int is_valid_texture(char *line);
int count_comma(char *rgb);
int check_pos_cf(char *l);
int line_around_one(char *line);
char *getlastline(char **map);
//valid_map.c
int h_map(char **map);
int v_map(char **map);
char *fixline(char *line, int maxlen);
int getsize_line(char **map);
int valid_map(t_data *m);
// frees.c
void ft_delete_texture(t_texture *texture);
void ft_exit(t_mlx *mlx);
#endif