SAE11_2021/images.c

48 lines
2.0 KiB
C

#include<stdio.h>
#include<stdlib.h>
#include<graph.h>
int main(void){
InitialiserGraphique();
ChoisirEcran(0);
CreerFenetre(0,0,1024,576);
ChargerImage("Images/background.png",0,0,0,0,1024,576);
ChargerImage("Images/image00.png",10,10,0,0,40,40);
ChargerImage("Images/image01.png",60,10,0,0,40,40);
ChargerImage("Images/image02.png",110,10,0,0,40,40);
ChargerImage("Images/image03.png",160,10,0,0,40,40);
ChargerImage("Images/image04.jpg",210,10,0,0,40,40);
ChargerImage("Images/image05.jpg",260,10,0,0,40,40);
ChargerImage("Images/image06.jpg",310,10,0,0,40,40);
ChargerImage("Images/image07.png",360,10,0,0,40,40);
ChargerImage("Images/image08.png",10,60,0,0,40,40);
ChargerImage("Images/image09.png",60,60,0,0,40,40);
ChargerImage("Images/image10.png",110,60,0,0,40,40);
ChargerImage("Images/image11.png",160,60,0,0,40,40);
ChargerImage("Images/image12.png",210,60,0,0,40,40);
ChargerImage("Images/image13.png",260,60,0,0,40,40);
ChargerImage("Images/image14.png",310,60,0,0,40,40);
ChargerImage("Images/image15.png",360,60,0,0,40,40);
ChargerImage("Images/image16.png",10,110,0,0,40,40);
ChargerImage("Images/image17.png",60,110,0,0,40,40);
ChargerImage("Images/image18.png",110,110,0,0,40,40);
ChargerImage("Images/image19.png",160,110,0,0,40,40);
ChargerImage("Images/image20.png",210,110,0,0,40,40);
ChargerImage("Images/image00.png",260,110,0,0,40,40);
ChargerImage("Images/image00.png",310,110,0,0,40,40);
ChargerImage("Images/image00.png",360,110,0,0,40,40);
ChargerImage("Images/image00.png",10,160,0,0,40,40);
ChargerImage("Images/image00.png",60,160,0,0,40,40);
ChargerImage("Images/image00.png",110,160,0,0,40,40);
ChargerImage("Images/image00.png",160,160,0,0,40,40);
ChargerImage("Images/image00.png",210,160,0,0,40,40);
ChargerImage("Images/image00.png",260,160,0,0,40,40);
ChargerImage("Images/image00.png",310,160,0,0,40,40);
ChargerImage("Images/image00.png",360,160,0,0,40,40);
Touche();
FermerGraphique();
return EXIT_SUCCESS;
}