optimisation mémoire timer.c
This commit is contained in:
parent
551c22f521
commit
11d4d230d0
@ -48,8 +48,6 @@ int main(void){
|
||||
InitialiserGraphique();
|
||||
CreerFenetre(0, 0, 1200, 1000);
|
||||
ChoisirTitreFenetre("Snake By Moncef & Marco");
|
||||
|
||||
menus();
|
||||
return EXIT_SUCCESS;
|
||||
|
||||
}
|
@ -11,7 +11,7 @@ void initialiser_timer(int *min, int *sec) {
|
||||
}
|
||||
|
||||
int afficher_seconde(int sec){
|
||||
char timer[50];
|
||||
char timer[4];
|
||||
int x = 230 ,y = 850;
|
||||
if(sec<=9){
|
||||
ChoisirCouleurDessin(CouleurParComposante(0, 0, 0));
|
||||
@ -31,7 +31,7 @@ int afficher_seconde(int sec){
|
||||
}
|
||||
|
||||
int afficher_minute(int min){
|
||||
char timer[50];
|
||||
char timer[4];
|
||||
int x = 190 ,y = 850;
|
||||
if(min<=9){
|
||||
ChoisirCouleurDessin(CouleurParComposante(0, 0, 0));
|
||||
|
Loading…
Reference in New Issue
Block a user