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 /src/main.c | |
| parent | c8de182e9fa0c8a2674bf2f13d2ed9f500607ebd (diff) | |
| download | cub3d-3b224458a5d539bbe00318d939c9a099f3f158e1.tar.gz cub3d-3b224458a5d539bbe00318d939c9a099f3f158e1.tar.bz2 cub3d-3b224458a5d539bbe00318d939c9a099f3f158e1.zip | |
better parsing
Diffstat (limited to 'src/main.c')
| -rw-r--r-- | src/main.c | 28 |
1 files changed, 14 insertions, 14 deletions
@@ -6,7 +6,7 @@ /* By: cacharle <marvin@42.fr> +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2019/11/15 06:39:39 by cacharle #+# #+# */ -/* Updated: 2020/02/03 20:45:17 by cacharle ### ########.fr */ +/* Updated: 2020/02/04 05:29:40 by cacharle ### ########.fr */ /* */ /* ************************************************************************** */ @@ -29,7 +29,7 @@ int main(int argc, char **argv) return (0); } - +/* */ /* int main(int argc, char **argv) */ /* { */ /* (void)argc; */ @@ -37,11 +37,11 @@ int main(int argc, char **argv) /* if (s == NULL) */ /* return (1); */ /* printf("R %d %d\n", s->window.width, s->window.height); */ -/* printf("NO %s\n", s->textures_path[TEX_NORTH]); */ -/* printf("SO %s\n", s->textures_path[TEX_SOUTH]); */ -/* printf("WE %s\n", s->textures_path[TEX_WEST]); */ -/* printf("EA %s\n\n", s->textures_path[TEX_EAST]); */ -/* printf("S %s\n", s->textures_path[TEX_SPRITE]); */ +/* printf("NO |%s|\n", s->textures_path[TEX_NORTH]); */ +/* printf("SO |%s|\n", s->textures_path[TEX_SOUTH]); */ +/* printf("WE |%s|\n", s->textures_path[TEX_WEST]); */ +/* printf("EA |%s|\n\n", s->textures_path[TEX_EAST]); */ +/* printf("S |%s|\n", s->textures_path[TEX_SPRITE]); */ /* printf("F %d,%d,%d\n", s->floor_color.rgb.r, s->floor_color.rgb.g, s->floor_color.rgb.b); */ /* printf("C %d,%d,%d\n\n", s->ceilling_color.rgb.r, s->ceilling_color.rgb.g, s->ceilling_color.rgb.b); */ /* printf("%dx%d\n", s->map_height, s->map_width); */ @@ -61,12 +61,12 @@ int main(int argc, char **argv) /* printf("\n"); */ /* } */ /* printf("post state_new\n"); */ -/* if ((s = state_new(s)) == NULL) */ -/* { */ -/* printf("Error: state new"); */ -/* return 1; */ -/* } */ -/* printf("state->pos [%f %f]\n", s->pos.x, s->pos.y); */ -/* state_destroy(s); */ +/* #<{(| if ((s = state_new(s)) == NULL) |)}># */ +/* #<{(| { |)}># */ +/* #<{(| printf("Error: state new"); |)}># */ +/* #<{(| return 1; |)}># */ +/* #<{(| } |)}># */ +/* #<{(| printf("state->pos [%f %f]\n", s->pos.x, s->pos.y); |)}># */ +/* #<{(| state_destroy(s); |)}># */ /* return 0; */ /* } */ |
