sans les codes de debug

This commit is contained in:
Hugo LAMY
2019-05-06 23:29:04 +02:00
parent 23c9e19ea6
commit d057ef941b
2 changed files with 2 additions and 54 deletions

View File

@@ -6,7 +6,7 @@
/* By: hulamy <hulamy@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2019/04/30 13:24:28 by hulamy #+# #+# */
/* Updated: 2019/05/06 21:35:59 by hulamy ### ########.fr */
/* Updated: 2019/05/06 23:28:36 by hulamy ### ########.fr */
/* */
/* ************************************************************************** */
@@ -110,10 +110,6 @@ void print_final_map(t_fillist *list, int size)
if (1 << (15 - i) & tmp->tetribit && tmp->position != -1) // DEBUG "&& tmp->position != -1" pour imprimer les bonnes lettres au coours du debug
map[tmp->position + i + j - 1] = tmp->letter;
}
// ft_putstr("position: "); ft_putnbrendl(tmp->position); // DEBUG
// print = tmp->tetribit << 16; // DEBUG
// print_map(&print, tmp->width, tmp->height, tmp->letter); // DEBUG
// ft_putchar('\n'); // DEBUG
tmp = tmp->next;
}
i = -1;
@@ -121,10 +117,8 @@ void print_final_map(t_fillist *list, int size)
{
if (i && i % size == 0)
ft_putchar('\n');
//ft_putchar(map[i]);
ft_put_tetri_color(map[i]);
ft_putchar(' ');
}
ft_putchar('\n');
ft_putchar('\n'); // DEBUG
}