diff options
| author | Charles <sircharlesaze@gmail.com> | 2020-02-04 05:34:27 +0100 |
|---|---|---|
| committer | Charles <sircharlesaze@gmail.com> | 2020-02-04 05:34:27 +0100 |
| commit | 3b224458a5d539bbe00318d939c9a099f3f158e1 (patch) | |
| tree | 1e8533c49647120e2239904e2e0b167b408043cc /include/cub3d.h | |
| parent | c8de182e9fa0c8a2674bf2f13d2ed9f500607ebd (diff) | |
| download | cub3d-3b224458a5d539bbe00318d939c9a099f3f158e1.tar.gz cub3d-3b224458a5d539bbe00318d939c9a099f3f158e1.tar.bz2 cub3d-3b224458a5d539bbe00318d939c9a099f3f158e1.zip | |
better parsing
Diffstat (limited to 'include/cub3d.h')
| -rw-r--r-- | include/cub3d.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/include/cub3d.h b/include/cub3d.h index 30b3b74..eed376c 100644 --- a/include/cub3d.h +++ b/include/cub3d.h @@ -6,7 +6,7 @@ /* By: cacharle <marvin@42.fr> +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2019/11/15 06:40:37 by cacharle #+# #+# */ -/* Updated: 2020/02/04 02:54:03 by cacharle ### ########.fr */ +/* Updated: 2020/02/04 04:09:56 by cacharle ### ########.fr */ /* */ /* ************************************************************************** */ #include <stdio.h> @@ -14,6 +14,7 @@ #ifndef CUB3D_H # define CUB3D_H +# include <errno.h> # include <unistd.h> # include <fcntl.h> # include <stdlib.h> @@ -172,12 +173,17 @@ typedef struct s_option_parser */ t_state *parse(char *filename); -char **get_file_lines(char *filename); t_bool parse_line(t_state *state, char *line); t_state *parse_map(t_state *state, char **lines); t_cell *create_map_row(char *line); /* +** parse/parse_file.c +*/ + +char **get_file_lines(char *filename); + +/* ** parse/parse_check.c */ |
