ajout de test_big_map pour faire tourner une grande map sur une petite
This commit is contained in:
@@ -6,6 +6,7 @@
|
|||||||
/* By: vmanzoni <vmanzoni@student.42.fr> +#+ +:+ +#+ */
|
/* By: vmanzoni <vmanzoni@student.42.fr> +#+ +:+ +#+ */
|
||||||
/* +#+#+#+#+#+ +#+ */
|
/* +#+#+#+#+#+ +#+ */
|
||||||
/* Created: 2019/04/15 14:48:14 by vmanzoni #+# #+# */
|
/* Created: 2019/04/15 14:48:14 by vmanzoni #+# #+# */
|
||||||
|
/* Updated: 2019/04/18 16:09:24 by vmanzoni ### ########.fr */
|
||||||
/* Updated: 2019/04/19 12:53:40 by hulamy ### ########.fr */
|
/* Updated: 2019/04/19 12:53:40 by hulamy ### ########.fr */
|
||||||
/* */
|
/* */
|
||||||
/* ************************************************************************** */
|
/* ************************************************************************** */
|
||||||
@@ -67,10 +68,7 @@ short create_tetribit(char *tetri)
|
|||||||
if (tetri[i] != '\n') // Pour comparer avec le tetri en char
|
if (tetri[i] != '\n') // Pour comparer avec le tetri en char
|
||||||
printf("%c", tetri[i]);
|
printf("%c", tetri[i]);
|
||||||
if (tetri[i] == '#')
|
if (tetri[i] == '#')
|
||||||
{
|
|
||||||
tetribit = tetribit | 1;
|
tetribit = tetribit | 1;
|
||||||
tetribit <<= 1;
|
|
||||||
}
|
|
||||||
else
|
else
|
||||||
tetribit <<= 1;
|
tetribit <<= 1;
|
||||||
i++;
|
i++;
|
||||||
|
|||||||
Reference in New Issue
Block a user