delete printf

This commit is contained in:
kinou-p 2022-06-14 16:36:31 +02:00
parent 6b1be25f25
commit 3f4a9dd296
2 changed files with 4 additions and 4 deletions

View File

@ -6,7 +6,7 @@
/* By: apommier <apommier@student.42.fr> +#+ +:+ +#+ */ /* By: apommier <apommier@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */ /* +#+#+#+#+#+ +#+ */
/* Created: 2022/05/06 16:10:11 by apommier #+# #+# */ /* Created: 2022/05/06 16:10:11 by apommier #+# #+# */
/* Updated: 2022/06/14 16:26:14 by apommier ### ########.fr */ /* Updated: 2022/06/14 16:36:08 by apommier ### ########.fr */
/* */ /* */
/* ************************************************************************** */ /* ************************************************************************** */
@ -49,7 +49,7 @@ unsigned char *get_texture(char type, char *path, t_data *img)
if (!path) if (!path)
{ {
printf("no path\n"); //printf("no path\n");
path = ft_strjoin("./sprite/brick_wall.ppm", 0); path = ft_strjoin("./sprite/brick_wall.ppm", 0);
} }
(void)type; (void)type;

View File

@ -6,7 +6,7 @@
/* By: apommier <apommier@student.42.fr> +#+ +:+ +#+ */ /* By: apommier <apommier@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */ /* +#+#+#+#+#+ +#+ */
/* Created: 2022/06/11 01:00:17 by apommier #+# #+# */ /* Created: 2022/06/11 01:00:17 by apommier #+# #+# */
/* Updated: 2022/06/14 14:58:34 by apommier ### ########.fr */ /* Updated: 2022/06/14 16:35:53 by apommier ### ########.fr */
/* */ /* */
/* ************************************************************************** */ /* ************************************************************************** */
@ -44,7 +44,7 @@ char *transform_map(char **double_map, t_data *img)
index = 0; index = 0;
//print_double_fd(double_map, 1); //print_double_fd(double_map, 1);
img->map.size = img->map.x * img->map.y; img->map.size = img->map.x * img->map.y;
printf("x= %d y= %d\n", img->map.x, img->map.y); //printf("x= %d y= %d\n", img->map.x, img->map.y);
map = ft_calloc(sizeof(char), img->map.size + 1); map = ft_calloc(sizeof(char), img->map.size + 1);
if (!map) if (!map)
quit_game(img); quit_game(img);