ajout main.c manquant
This commit is contained in:
parent
29ed7dc6df
commit
85409dab44
@ -7,16 +7,13 @@
|
||||
#include "../fichier.h/time.h"
|
||||
#include "../fichier.h/main.h"
|
||||
#include "../fichier.h/menu.h"
|
||||
|
||||
#define CYCLE 100000L
|
||||
#define DELAI_MILLISECONDES 100
|
||||
|
||||
void attente(int milliseconds) {
|
||||
clock_t start_time = clock();
|
||||
while ((clock() - start_time) * 1000 / CLOCKS_PER_SEC < milliseconds) {
|
||||
}
|
||||
}
|
||||
|
||||
int lancer_jeu(){
|
||||
int go_on=1;
|
||||
int pause = 1;
|
||||
@ -75,4 +72,3 @@ int main(void){
|
||||
FermerGraphique();
|
||||
return EXIT_SUCCESS;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user