From 693a9ac135a1c88d1608c29b40dc36bb0fbda80b Mon Sep 17 00:00:00 2001
From: antoinemeyer5 <antoine.meyer54@gmail.com>
Date: Mon, 20 Jun 2022 15:55:42 +0200
Subject: [PATCH] dessin du moulin

---
 .../Meyer/pave_de_serpents/main               | Bin 21168 -> 22032 bytes
 .../Meyer/pave_de_serpents/main.c             |  85 ++++++++++++++++--
 2 files changed, 79 insertions(+), 6 deletions(-)

diff --git a/travail_individuel/Meyer/pave_de_serpents/main b/travail_individuel/Meyer/pave_de_serpents/main
index 0aff295c94b235d24b463ae154c3757b6ecb31ac..0130edc9e30a444de3016821db2bb91eb1982ae1 100755
GIT binary patch
delta 6643
zcma)B4^&fEn!hi}gZGjENk|Am{sfgSYJs35ph!)Cr=bD@f}&Fksl<{ki^!jfo!T(d
zcH1;^3cc+d-LWlhZ4Z0K>A|7hqGJ_mN3=aN13k5?-OeuVzmv8*Q?%1Pj;qan-+k{P
z((c)PoZRpGeSh!!?tS;&cNuw|8#vAlBwP9{gk5f#5L4CQ@;CI21{pRQ20zUcV`cDm
zEVXdCK|v!!l@gPTIUq6cbLPm{S#md>Rs2j^S+4q_82wy|pG)ymDN+0sO3!j9&0|hE
z#vG*~O;hIomU%{rFhfOcllArN;%ACd_wN1Oj?s_*r7ZHuKgYjznm(@0cGw}NdK1rj
zj&ejtmZL0%zN@thMc2crSN1lh(i56g?zc2km&Y0Cbg7-Xs&({FS}Qk7uW9YvENcr;
z!#&6NH)t)`zR36));2Qj7Un%wn#^@EX$O<0GO3AA=AL1kn|E=C>0aK>^-^D%z2Z3Z
z&_q&*%Pm(xZC?br1vG&~S@J8T$^np@!QQFZ3yQ-Ko#ua(Ro3bEb^Gi5?JfRJe<#^e
zUfHz8-!0?vPT#(=J#BkB>BgAcI9XQH>F@Hlchim-XSysYYxDbL$2(q?fp$L)$E4G@
zHm1bO;theewmSc=ZaN*48Q;|n={m{oj?O@P_ilPE#z)6B`k+=BVR^LVmIE0Ff7r?w
z@)fKIGPVW+af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el/Meyer/pave_de_serpents/main.c
index 5f1e1b2..cbf2666 100644
--- a/travail_individuel/Meyer/pave_de_serpents/main.c
+++ b/travail_individuel/Meyer/pave_de_serpents/main.c
@@ -7,6 +7,8 @@ int main(int argc, char **argv)
     (void)argc;
     (void)argv;
 
+    int vainqueur = 0;
+
     SDL_Window
         *window = NULL;
 
@@ -20,6 +22,12 @@ int main(int argc, char **argv)
     int display_width;
     int display_height;
 
+    SDL_Renderer *renderer;
+    SDL_Rect rect;
+
+    int pale_1_x;
+    int pale_1_y;
+
     if (SDL_GetDesktopDisplayMode(0, &mode) != 0)
     {
         SDL_Log("SDL_GetDesktopDisplayMode failed: %s", SDL_GetError());
@@ -40,7 +48,7 @@ int main(int argc, char **argv)
     window_x = (display_width - window_width) / 2;
     window_y = (display_height - window_height) / 2;
     window = SDL_CreateWindow(
-        "Course de formes",
+        "Moulin à serpents",
         window_x, window_y,          // centrage de la fenêtre
         window_width, window_height, // largeur, hauteur
         SDL_WINDOW_RESIZABLE);       // redimensionnable
@@ -53,13 +61,78 @@ int main(int argc, char **argv)
         exit(EXIT_FAILURE);
     }
 
-    // decompte decollage
-    SDL_Delay(1000);
-    SDL_SetWindowTitle(window, "Rocket : 2");
+    renderer = SDL_CreateRenderer(window, -1, SDL_RENDERER_ACCELERATED); /*  SDL_RENDERER_SOFTWARE */
+    if (renderer == 0)
+    {
+        fprintf(stderr, "Erreur d'initialisation de la SDL : %s\n", SDL_GetError());
+
+        SDL_Quit(); // On referme la SDL
+        exit(EXIT_FAILURE);
+    }
+
+    // dessin
+    /* couleur de fond */
+    SDL_SetRenderDrawColor(renderer, 157, 224, 144, 255);
+    SDL_RenderClear(renderer);
+
+    //sol
+    SDL_SetRenderDrawColor(renderer, 49, 150, 29, 255);
+    rect.w = window_width;
+    rect.h = window_height/3;
+    rect.x = 0;
+    rect.y = window_height - window_height/3;
+    SDL_RenderFillRect(renderer, &rect);
+
+    /* bloc du moulin */
+    SDL_SetRenderDrawColor(renderer, 255, 255, 255, 255);
+    rect.w = 150;
+    rect.h = 250;
+    rect.x = (window_width - rect.w)/2;
+    rect.y = window_height - rect.h - 150;
+    SDL_RenderFillRect(renderer, &rect);
+
+    /*triangle moulin*/
+    SDL_SetRenderDrawColor(renderer, 255, 0, 0, 255);
+    rect.w = 150;
+    rect.h = 50;
+    rect.x = (window_width - rect.w)/2;
+    rect.y = window_height - rect.h - 400;
+    SDL_RenderFillRect(renderer, &rect);
+
+    //pales du moulin
+    //pale 1 du moulin
+    pale_1_x = 50;
+    pale_1_y = 50;
+    SDL_SetRenderDrawColor(renderer, 163, 82, 2, 255);
+    SDL_RenderDrawLine(renderer,
+        (window_width - rect.w)/2,
+        window_height - rect.h - 400,
+        pale_1_x, 
+        pale_1_y);
+
+   
+
+    /* afficher à l'ecran */
+    SDL_RenderPresent(renderer);
+
+
+
+    // départ de la course
+    /*while (vainqueur == 0)
+    {
+
+        if (cercle.x > display_width)
+        {
+            vainqueur = 1;
+        }
+    }*/
+
+    // ecrire victoire
+
 
-    //actualise la bete
+    SDL_Delay(2000);
 
-    // explosion de la rocket
+    // fermer fenetre
     SDL_DestroyWindow(window); // la fenêtre
 
     SDL_Quit(); // la SDL
-- 
GitLab