/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* parsing_private.h :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: cchauvet # include "../libftx/libftx.h" # include "./parsing.h" int parsing_meta(const char *path); int get_token(const char *str); char ***get_header(const char **file_content, size_t *header_size); int header_is_valid(char ***header, t_map *map); char **get_body(const char **file_content, size_t header_size); int body_is_valid(t_map *map); int get_spawn_position(const char **body, double *x, double *y); int map_is_in_one_part(const char **body); int set_texture(t_map *map, int token, const char *key, const char *value); int set_color(long long *color, const char *key, const char *value); int check_header_is_complete(t_map *map); #endif