diff options
| author | Charles <sircharlesaze@gmail.com> | 2019-11-18 19:00:53 +0100 |
|---|---|---|
| committer | Charles <sircharlesaze@gmail.com> | 2019-11-18 19:00:53 +0100 |
| commit | 264676907b55f429e65b4de523eeb729fb64e9f9 (patch) | |
| tree | 5b2cc36bc91abf91ff89b68c70958dad0777931a /parse/parse.c | |
| parent | 542ae0113ac850e0d5216c7e2dc4543e66a1237f (diff) | |
| download | cub3d-264676907b55f429e65b4de523eeb729fb64e9f9.tar.gz cub3d-264676907b55f429e65b4de523eeb729fb64e9f9.tar.bz2 cub3d-264676907b55f429e65b4de523eeb729fb64e9f9.zip | |
floor and ceiling color, WIP window image buffer
Diffstat (limited to 'parse/parse.c')
| -rw-r--r-- | parse/parse.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/parse/parse.c b/parse/parse.c index f543ca5..8f3124d 100644 --- a/parse/parse.c +++ b/parse/parse.c @@ -6,7 +6,7 @@ /* By: cacharle <marvin@42.fr> +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2019/11/15 09:29:21 by cacharle #+# #+# */ -/* Updated: 2019/11/15 09:32:54 by cacharle ### ########.fr */ +/* Updated: 2019/11/18 17:21:38 by cacharle ### ########.fr */ /* */ /* ************************************************************************** */ @@ -23,6 +23,8 @@ t_parsing *parse(char *filename) if ((parsing = (t_parsing*)malloc(sizeof(t_parsing))) == NULL) return (NULL); parsing->map = NULL; + parsing->ceilling_color.hexcode = 0; + parsing->floor_color.hexcode = 0; i = -1; while (lines[++i] != NULL) { |
