1
0

🏗️」 wip: information map

This commit is contained in:
Maelys
2024-09-12 17:00:27 +02:00
parent 621a7b8e21
commit fa4c3d6d39
7 changed files with 103 additions and 70 deletions

View File

@ -6,13 +6,26 @@
/* By: madumerg <madumerg@42angouleme.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/09/12 12:49:16 by madumerg #+# #+# */
/* Updated: 2024/09/12 12:57:11 by madumerg ### ########.fr */
/* Updated: 2024/09/12 16:58:29 by madumerg ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef PARSING_H
# define PARSING_H
typedef struct s_coord
{
int x;
int y;
} t_coord;
typedef struct s_pars
{
int f_color;
int c_color;
t_coord coor;
} t_pars;
//check_arg.c
int check_err_arg(int ac, char **av);
int check_format_file(char *file);
@ -25,6 +38,7 @@ int count_player(char **map);
int check_char_map(char **map);
//principal_pars.c
int verif_info_map(char *av);
int verif_all_map(char **map);
char **parse_map(char *map);
@ -32,6 +46,7 @@ char **parse_map(char *map);
int err_mess(char *str);
//parse_utils.c
char **info_map(char **file);
void convert_white_s(char *str);
int verif_char(char c);
#endif