imprime les lettres pendant la recursive pour debug

This commit is contained in:
Hugo LAMY
2019-05-06 16:28:23 +02:00
parent 60b970e901
commit b85454473d
4 changed files with 16 additions and 10 deletions

View File

@@ -6,7 +6,7 @@
/* By: vmanzoni <vmanzoni@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2019/04/15 14:48:14 by vmanzoni #+# #+# */
/* Updated: 2019/05/03 16:10:12 by hulamy ### ########.fr */
/* Updated: 2019/05/06 16:26:19 by hulamy ### ########.fr */
/* */
/* ************************************************************************** */
@@ -62,7 +62,6 @@ unsigned short reduce_tetri(unsigned short tetri, int width)
void fill_list(char line[], t_fillist *list)
{
unsigned int tmp;
unsigned int mask;
int i;
@@ -90,6 +89,7 @@ void fill_list(char line[], t_fillist *list)
list->height = i;
// fabrique la ligne pour le tetriminos de la bonne largeur
list->tetribit = reduce_tetri(list->tetribit, list->width);
list->position = -1; // DEBUG pour que print_final_map puisse imprimer correctement au fur et a mesure
}
/*