read map files

This commit is contained in:
2025-12-04 10:32:50 +01:00
parent 488aeeaeac
commit 3e837f1144
3 changed files with 191 additions and 1 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/01 10:03:36 by aortigos ### ########.fr */
/* Updated: 2025/12/04 10:04:49 by aortigos ### ########.fr */
/* */
/* ************************************************************************** */
@@ -48,4 +48,12 @@ t_turelist *new_texture(char *line);
void lst_back_ture(t_turelist **l_ture, t_turelist *new);
int lst_ture(t_data *m, t_turelist **l_ture);
// read_map.c
int is_surrounded(char *line);
int is_validmap(char *line, int *flag);
char *getmap(t_data *map);
int read_map_(t_data *map, int count);
void process_map(t_data *map, int *count);
#endif