modifié : assets-fx/img/1.png

modifié :         assets-fx/img/10.png
	modifié :         assets-fx/img/11.png
	modifié :         assets-fx/img/12.png
	modifié :         assets-fx/img/13.png
	modifié :         assets-fx/img/14.png
	modifié :         assets-fx/img/15.png
	modifié :         assets-fx/img/2.png
	modifié :         assets-fx/img/3.png
	modifié :         assets-fx/img/4.png
	modifié :         assets-fx/img/5.png
	modifié :         assets-fx/img/6.png
	modifié :         assets-fx/img/7.png
	modifié :         assets-fx/img/8.png
	modifié :         assets-fx/img/9.png
	supprimé :        assets-fx/img/D.png
	supprimé :        assets-fx/img/G.png
	supprimé :        assets-fx/img/N.png
	modifié :         assets-fx/img/Porte.png
	modifié :         assets-fx/img/Rebond.png
	modifié :         assets-fx/img/Vitesse.png
	modifié :         assets-fx/img/t0.png
	modifié :         assets-fx/img/t1.png
	modifié :         assets-fx/img/t10.png
	modifié :         assets-fx/img/t11.png
	modifié :         assets-fx/img/t12.png
	modifié :         assets-fx/img/t13.png
	modifié :         assets-fx/img/t14.png
	modifié :         assets-fx/img/t15.png
	modifié :         assets-fx/img/t2.png
	modifié :         assets-fx/img/t3.png
	modifié :         assets-fx/img/t4.png
	modifié :         assets-fx/img/t5.png
	modifié :         assets-fx/img/t6.png
	modifié :         assets-fx/img/t7.png
	modifié :         assets-fx/img/t8.png
	modifié :         assets-fx/img/t9.png
	supprimé :        build-fx/CPC.elf
	modifié :         build-fx/assets/img/1.png.o
	copié :           build-fx/assets/img/t3.png.o -> build-fx/assets/img/10.png.o
	copié :           build-fx/assets/img/t0.png.o -> build-fx/assets/img/11.png.o
	copié :           build-fx/assets/img/t1.png.o -> build-fx/assets/img/12.png.o
	copié :           build-fx/assets/img/t2.png.o -> build-fx/assets/img/13.png.o
	modifié :         build-fx/assets/img/14.png.o
	modifié :         build-fx/assets/img/15.png.o
	modifié :         build-fx/assets/img/2.png.o
	modifié :         build-fx/assets/img/3.png.o
	modifié :         build-fx/assets/img/4.png.o
	modifié :         build-fx/assets/img/5.png.o
	modifié :         build-fx/assets/img/6.png.o
	modifié :         build-fx/assets/img/7.png.o
	modifié :         build-fx/assets/img/8.png.o
	modifié :         build-fx/assets/img/9.png.o
	modifié :         build-fx/assets/img/Porte.png.o
	modifié :         build-fx/assets/img/t0.png.o
	modifié :         build-fx/assets/img/t1.png.o
	modifié :         build-fx/assets/img/t10.png.o
	modifié :         build-fx/assets/img/t11.png.o
	modifié :         build-fx/assets/img/t12.png.o
	modifié :         build-fx/assets/img/t13.png.o
	modifié :         build-fx/assets/img/t14.png.o
	modifié :         build-fx/assets/img/t15.png.o
	modifié :         build-fx/assets/img/t2.png.o
	modifié :         build-fx/assets/img/t3.png.o
	modifié :         build-fx/assets/img/t4.png.o
	modifié :         build-fx/assets/img/t5.png.o
	modifié :         build-fx/assets/img/t6.png.o
	modifié :         build-fx/assets/img/t7.png.o
	modifié :         build-fx/assets/img/t8.png.o
	modifié :         build-fx/assets/img/t9.png.o
	modifié :         build-fx/map
	modifié :         build-fx/src/main.c.o
	modifié :         src/main.c
This commit is contained in:
Michel vespier 2020-03-20 22:28:50 +01:00
parent 146427a32c
commit c8a573e82b
73 changed files with 396 additions and 441 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 588 B

After

Width:  |  Height:  |  Size: 585 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 593 B

After

Width:  |  Height:  |  Size: 593 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 593 B

After

Width:  |  Height:  |  Size: 592 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 587 B

After

Width:  |  Height:  |  Size: 587 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 593 B

After

Width:  |  Height:  |  Size: 594 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 594 B

After

Width:  |  Height:  |  Size: 597 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 595 B

After

Width:  |  Height:  |  Size: 595 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 591 B

After

Width:  |  Height:  |  Size: 588 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 591 B

After

Width:  |  Height:  |  Size: 586 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 587 B

After

Width:  |  Height:  |  Size: 584 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 591 B

After

Width:  |  Height:  |  Size: 588 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 595 B

After

Width:  |  Height:  |  Size: 592 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 593 B

After

Width:  |  Height:  |  Size: 589 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 583 B

After

Width:  |  Height:  |  Size: 585 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 591 B

After

Width:  |  Height:  |  Size: 591 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 605 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 605 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 608 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 647 B

After

Width:  |  Height:  |  Size: 636 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 605 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 618 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 609 B

After

Width:  |  Height:  |  Size: 609 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 605 B

After

Width:  |  Height:  |  Size: 603 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 605 B

After

Width:  |  Height:  |  Size: 602 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 599 B

After

Width:  |  Height:  |  Size: 596 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 601 B

After

Width:  |  Height:  |  Size: 601 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 596 B

After

Width:  |  Height:  |  Size: 594 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 598 B

After

Width:  |  Height:  |  Size: 598 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 592 B

After

Width:  |  Height:  |  Size: 590 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 607 B

After

Width:  |  Height:  |  Size: 605 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 602 B

After

Width:  |  Height:  |  Size: 599 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 603 B

After

Width:  |  Height:  |  Size: 603 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 597 B

After

Width:  |  Height:  |  Size: 597 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 598 B

After

Width:  |  Height:  |  Size: 599 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 593 B

After

Width:  |  Height:  |  Size: 593 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 606 B

After

Width:  |  Height:  |  Size: 605 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 601 B

After

Width:  |  Height:  |  Size: 602 B

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

File diff suppressed because it is too large Load Diff

Binary file not shown.

View File

@ -1,5 +1,4 @@
// Includes !
#include <gint/gray.h>
#include <gint/display.h>
#include <gint/keyboard.h>
@ -12,8 +11,6 @@ int main(void)
int tp[2]={0, 0};
key_event_t touche;
int boucle = 0;
gray_start();
gray_delays(762, 1311);
//Importation de BEAUCOUPS d'images
extern image_t img_t0;
@ -76,11 +73,11 @@ int main(void)
//Le dessin ^^
while (boucle == 0)
{
gclear(C_WHITE);
dclear(C_WHITE);
tile(map, p_img, p_sup);
perso(tp, p_perso);
//L'affichage
gupdate();
dupdate();
touche = pollevent();
switch (touche.key)
{
@ -101,7 +98,6 @@ int main(void)
break;
}
}
gray_stop();
//La fin de la fin
return 1;
}
@ -114,10 +110,10 @@ void tile(int* map, image_t** img, image_t** sup)
{
if (map[16*i + j] != 17)
{
gimage(8*j, 8*i, img[map[16*i+j]-(map[16*i+j]/100)*100]/**(img + *(map + 16*i + j) - 100 * (*(map + 16*i + j) / 100))*/);
dimage(8*j, 8*i, img[map[16*i+j]-(map[16*i+j]/100)*100]);
if (map[16*i+j] > 99)
{
gimage(8*j, 8*i, sup[(map[16*i+j]/100)-1]);
dimage(8*j, 8*i, sup[(map[16*i+j]/100)-1]);
}
}
@ -128,9 +124,9 @@ void tile(int* map, image_t** img, image_t** sup)
void perso(int* tp, image_t** perso)
{
if (tp[0] == 1)
gimage(2, 18, perso[0]);
dimage(2, 18, perso[0]);
else if (tp[1] == 1)
gimage(2, 18, perso[2]);
dimage(2, 18, perso[2]);
else
gimage(2, 18, perso[1]);
dimage(2, 18, perso[1]);
}