Modification de la fonction fin()
La fonction fin() prend désormais en argument le temps écoulé lors de la partie en Microsecondes
This commit is contained in:
parent
6dd9ddbc19
commit
7a04fe45bf
@ -14,7 +14,6 @@ int fin(unsigned long int timer) {
|
||||
EcrireTexte(550, 150, "You Win !", 2);
|
||||
|
||||
char buf[100];
|
||||
timer = stop_timer(timer);
|
||||
unsigned int secondes = timer / DELTA;
|
||||
unsigned int minutes = 0;
|
||||
while (secondes >= 60) {
|
||||
|
@ -106,5 +106,5 @@ int game(int colonnes, int lignes) {
|
||||
}
|
||||
}
|
||||
|
||||
return fin(timer);
|
||||
return fin(stop_timer(timer));
|
||||
}
|
Loading…
Reference in New Issue
Block a user