Connected parsing to rest of the game

This commit is contained in:
Philippe BLAGOJEVIC
2022-04-23 20:12:13 +02:00
parent fac1f78230
commit f53e66556b
19 changed files with 1010 additions and 23 deletions

View File

@@ -13,14 +13,31 @@ int shut_down();
// SRC/INIT
// -------------------------------
// init_struct.c
t_game *init_game(void);
// init_parsing.c
void init_parsing(int ac, char **av, t_game *game);
t_game *init_struct(void);
void init_game(t_game *game);
void init_plr(t_plr *plr, t_map *map);
// -------------------------------
// SRC/GNL
// -------------------------------
// get_next_line.c
int get_next_line(int fd, char **line);
// -------------------------------
// SRC/PARSING
// -------------------------------
// init_parsing.c
int init_parsing(t_game *game, char *file);
// check_extension.c
int check_extension(char *filename, char *ext);
// check_path.c
int check_elements(t_game *game, char *file);
// check_rgb.c
int check_rgb(t_txt *txt, char *element, char identifier);
// check_map.c
int check_map(t_map *map);
// -------------------------------