From 5517672ac8479c94e07e0629998f72d61a0c2912 Mon Sep 17 00:00:00 2001 From: morinl Date: Sat, 10 Dec 2022 16:32:16 +0100 Subject: [PATCH] =?UTF-8?q?suppression=20fichier=20inutilis=C3=A9s?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- action.c | 11 ----------- action.h | 6 ------ grillage.c | 12 ------------ temps.c | 32 -------------------------------- temps.h | 6 ------ 5 files changed, 67 deletions(-) delete mode 100644 action.c delete mode 100644 action.h delete mode 100644 grillage.c delete mode 100644 temps.c delete mode 100644 temps.h diff --git a/action.c b/action.c deleted file mode 100644 index cc03c64..0000000 --- a/action.c +++ /dev/null @@ -1,11 +0,0 @@ -#include -#include -#include -#include -#include "images.h" -#include "action.h" - -int main(void){ - tirage_aleatoire(); - return EXIT_SUCCESS; -} \ No newline at end of file diff --git a/action.h b/action.h deleted file mode 100644 index d5fd548..0000000 --- a/action.h +++ /dev/null @@ -1,6 +0,0 @@ -#ifndef ACTION_H -#define ACTION_H - -int main(void); - -#endif \ No newline at end of file diff --git a/grillage.c b/grillage.c deleted file mode 100644 index 2200407..0000000 --- a/grillage.c +++ /dev/null @@ -1,12 +0,0 @@ -#include -#include -#include - -int graphique(int L,int H){ - InitialiserGraphique(); - ChoisirEcran(0); - CreerFenetre(150,150,L,H);/*recuperation de L et H via le reste du programme*/ - Touche(); - FermerGraphique(); - return EXIT_SUCCESS; -} \ No newline at end of file diff --git a/temps.c b/temps.c deleted file mode 100644 index 73b5072..0000000 --- a/temps.c +++ /dev/null @@ -1,32 +0,0 @@ -#include -#include -#include -#include -#include "temps.h" -//faire une boucle tant que le jeu n'est pas fini -//affichage de texte pour afficher le timer -int main(void){ - char tab[50]; - InitialiserGraphique(); - CreerFenetre(0,0,1024,576); - couleur c=CouleurParComposante(0,0,0); - ChoisirCouleurDessin(c); - unsigned long temps; - unsigned long temps2; - temps=Microsecondes(); - while (1){ - temps2=(Microsecondes()-temps)/1000000; - snprintf(tab,50,"%ld secondes ecoulees",temps2); - c=CouleurParComposante(0,0,0); - ChoisirCouleurDessin(c); - RemplirRectangle(863,83,120,20); - c=CouleurParComposante(255,255,255); - ChoisirCouleurDessin(c); - EcrireTexte(867,100,tab,0); - if(SourisCliquee()){ - printf("x %d y %d",_X,_Y); - } - } - FermerGraphique(); - return EXIT_SUCCESS; -} \ No newline at end of file diff --git a/temps.h b/temps.h deleted file mode 100644 index 70c1b0b..0000000 --- a/temps.h +++ /dev/null @@ -1,6 +0,0 @@ -#ifndef TEMPS_H -#define TEMPS_H - -int timer(void); - -#endif \ No newline at end of file