3 (* Auteurs: Peyrard Fabrice & Pianelo Patrice *)
\r
8 h,v,p,lg,b,vitd,vith : Integer,
\r
12 (*ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ»*)
\r
13 (*º/////////////////////// CUB \\\\\\\\\\\\\\\\\\\\\\ º*)
\r
14 (*ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ*)
\r
21 (*ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ»*)
\r
22 (*º/////////////////////// DROITE \\\\\\\\\\\\\\\\\\\\º*)
\r
23 (*ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ*)
\r
25 Unit Droite : Coroutine;
\r
27 dif,dif1,b : Integer;
\r
34 b := Calcul_b (cour.x,cour.y);
\r
35 dif := (b - y) - (x+lg+lg Div 3);
\r
36 If ((dif < dif1) AND (dif > 0)) Then
\r
39 If (cour.suiv = NONE) Then
\r
46 If (dif1 < vith) Then
\r
52 Call Setwindow (x,x+(lg+lg Div 3),y,y+lg);
\r
57 (*ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ»*)
\r
58 (*º/////////////////////// GAUCHE \\\\\\\\\\\\\\\\\\\\º*)
\r
59 (*ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ*)
\r
61 Unit Gauche: Coroutine;
\r
63 dif,dif1,b : Integer;
\r
70 b := Calcul_b (cour.x+lg+lg Div 3,cour.y);
\r
72 If ((dif < dif1) AND (dif > 0)) Then
\r
75 If (cour.suiv = NONE) Then
\r
82 If (dif1 < vith) Then
\r
88 Call Setwindow (x,x+(lg+lg Div 3),y,y+lg);
\r
93 (*ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ»*)
\r
94 (*º/////////////////////// HAUT \\\\\\\\\\\\\\\\\\\\\\º*)
\r
95 (*ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ*)
\r
97 Unit Haut: Coroutine;
\r
106 dif := y-(lg Div 2) - cour.y;
\r
107 If ((dif < dif1) AND (dif > 0)) Then
\r
110 If (cour.suiv = NONE) Then
\r
117 If (dif1 < vitd) Then
\r
124 Call Cube (x,y,15);
\r
125 Call Setwindow (x,x+(lg+lg Div 3),y,y+lg);
\r
130 (*ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ»*)
\r
131 (*º//////////////////////// BAS \\\\\\\\\\\\\\\\\\\\\\º*)
\r
132 (*ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ*)
\r
134 Unit Bas: Coroutine;
\r
143 dif := cour.y-(lg Div 2) - y;
\r
144 If ((dif < dif1) AND (dif > 0)) Then
\r
147 If (cour.suiv = NONE) Then
\r
154 If (dif1 < vitd) Then
\r
161 Call Cube (x,y,15);
\r
162 Call Setwindow (x,x+(lg+lg Div 3),y,y+lg);
\r
167 (*ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ»*)
\r
168 (*º/////////////////////// CUBE \\\\\\\\\\\\\\\\\\\\\ º*)
\r
169 (*ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ*)
\r
171 Unit Cube: IIUWGraph Procedure (x,y,c : Integer);
\r
175 Call Draw (x + lg + lg Div 3,y);
\r
176 Call Draw (x + lg + lg Div 2 + lg Div 3,y - lg Div 2);
\r
177 Call Draw (x + lg Div 2,y - lg Div 2);
\r
179 Call Draw (x,y + lg);
\r
180 Call Draw (x + lg + lg Div 3,y + lg);
\r
181 Call Draw (x + lg + lg Div 3,y);
\r
182 Call Move (x + lg + lg Div 3,y + lg);
\r
183 Call Draw (x + lg + lg Div 2 + lg Div 3,y + lg Div 2);
\r
184 Call Draw (x + lg + lg Div 2 + lg Div 3,y - lg Div 2);
\r
187 (*ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ»*)
\r
188 (*º/////////////////////// NOIR \\\\\\\\\\\\\\\\\\\\\ º*)
\r
189 (*ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ*)
\r
191 Unit Noir: IIUWGraph Procedure (x,y,c : Integer);
\r
196 For i:= x + 1 To x + (lg+lg Div 3) - 1 Do
\r
198 Call Draw (i,y+lg-1);
\r
200 For i := y To y + lg-2 Do
\r
201 Call Move (x+(lg+lg Div 3)+1,i);
\r
202 Call Draw (x+(lg+lg Div 2+lg Div 3)-1,i-(lg Div 2)+2);
\r
204 For i:= x + 2 To x + (lg+lg Div 3) Do
\r
206 Call Draw (i+(lg Div 2)-2,y-(lg Div 2)+1);
\r
210 Unit Calcul_b: Function (vx,vy:Integer):Integer;
\r
215 (*ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ»*)
\r
216 (*º////////////////////// DEPLACE \\\\\\\\\\\\\\\\\\\ º*)
\r
217 (*ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ*)
\r
219 UNIT Deplace: IIUWGraph Procedure;
\r
234 Call Setposition (x+(4*lg) Div 6,y+lg Div 2);
\r
238 Call Status (h,v,l,r,z);
\r
240 (*ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ»*)
\r
241 (*º/////////////////////// DROITE \\\\\\\\\\\\\\\\\\\\º*)
\r
242 (*ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ*)
\r
244 If ((i = -77) OR (h>=x+(lg+lg Div 3))) Then
\r
245 If (x+lg+lg Div 3 < 595-vith) Then
\r
249 b := Calcul_b (cour.x,cour.y);
\r
250 If (y = -(x+lg+lg Div 3) + b) Then
\r
251 If ((y-lg Div 2 < cour.y) AND (y > cour.y-lg Div 2)) Then
\r
256 If (cour.suiv = NONE) Then
\r
267 Call Cube (cour.x,cour.y,2);
\r
268 If (cour.suiv = NONE) Then
\r
277 (*ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ»*)
\r
278 (*º/////////////////////// GAUCHE \\\\\\\\\\\\\\\\\\\\º*)
\r
279 (*ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ*)
\r
281 If ((i = -75) OR (h<=x)) Then
\r
286 b := Calcul_b (cour.x+lg+lg Div 3,cour.y);
\r
288 If ((y-lg Div 2 < cour.y) AND (y > cour.y-lg Div 2)) Then
\r
293 If (cour.suiv = NONE) Then
\r
304 Call Cube (cour.x,cour.y,2);
\r
305 If (cour.suiv = NONE) Then
\r
314 (*ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ»*)
\r
315 (*º//////////////////////// BAS \\\\\\\\\\\\\\\\\\\\\\º*)
\r
316 (*ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ*)
\r
318 If ((i = -80) OR (v>=y+lg)) Then
\r
319 If (y+lg < 300-vitd) AND (x > vith) Then
\r
323 If (y = cour.y-(lg Div 2)) Then
\r
324 If ((x <= cour.x+(lg+lg Div 2+lg Div 3)) AND
\r
325 (x >= cour.x-(lg Div 2+lg Div 3))) Then
\r
330 If (cour.suiv = NONE) Then
\r
341 Call Cube (cour.x,cour.y,2);
\r
342 If (cour.suiv = NONE) Then
\r
351 (*ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ»*)
\r
352 (*º/////////////////////// HAUT \\\\\\\\\\\\\\\\\\\\\\º*)
\r
353 (*ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ*)
\r
355 If ((i = -72) OR (v<=y)) Then
\r
356 If (y-lg Div 2 > vitd) AND (x+lg+lg Div 3 < 595-vith) Then
\r
360 If (y-(lg Div 2) = cour.y) Then
\r
361 If ((x+(lg + lg Div 2 + lg Div 3) >= cour.x) AND
\r
362 (x+(lg Div 2) <= cour.x+(lg + lg Div 3))) Then
\r
367 If (cour.suiv = NONE) Then
\r
378 Call Cube (cour.x,cour.y,2);
\r
379 If (cour.suiv = NONE) Then
\r
388 (*ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ»*)
\r
389 (*º///////////////////// VALIDATION \\\\\\\\\\\\\\\\\\º*)
\r
390 (*ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ*)
\r
392 If ((i = 27) OR l) Then
\r
398 b := Calcul_b (debut.x+lg+lg Div 3,debut.y);
\r
399 If ((y-lg Div 2) < debut.y) AND (x < (b-y))
\r
400 OR ((y) < (debut.y-lg Div 2) AND (x >= (b-y))) Then
\r
405 If (cour.suiv = NONE) Then
\r
410 b := Calcul_b (cour.suiv.x+lg+lg Div 3,cour.suiv.y);
\r
411 If ((y-lg Div 2) < cour.suiv.y) AND (x < (b-y))
\r
412 OR ((y) < (cour.suiv.y-lg Div 2) AND (x >= (b-y))) Then
\r
413 C1.suiv := cour.suiv;
\r
421 Call Cube (cour.x,cour.y,2);
\r
422 Call Noir (cour.x,cour.y,0);
\r
423 If (cour.suiv = NONE) Then
\r
440 (*ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ»*)
\r
441 (*º///////////////////// RECTANGLE \\\\\\\\\\\\\\\\\\\º*)
\r
442 (*ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ*)
\r
444 Unit Rectangle: IIUWGraph Procedure (x1,y1,x2,y2,c : Integer);
\r
452 Call Move (x1+1,y1+1);
\r
453 Call Draw (x2-1,y1+1);
\r
454 Call Draw (x2-1,y2-1);
\r
455 Call Draw (x1+1,y2-1);
\r
456 Call Draw (x1+1,y1+1);
\r
459 (*ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ»*)
\r
460 (*º////////////////////// EFFACE \\\\\\\\\\\\\\\\\\\\\º*)
\r
461 (*ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ*)
\r
463 Unit Efface: IIUWGraph Procedure (x1,y1,x2,y2,c : Integer);
\r
474 (*ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ»*)
\r
475 (*º////////////////////// TEXTE \\\\\\\\\\\\\\\\\\\\\\º*)
\r
476 (*ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ*)
\r
478 Unit Texte: IIUWGraph Procedure (x,y : Integer,ch:String);
\r
482 Call Outstring (ch);
\r
485 (*ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ»*)
\r
486 (*º///////////////////// OPTIONS \\\\\\\\\\\\\\\\\\\\\º*)
\r
487 (*ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ*)
\r
489 Unit Options: IIUWGraph Procedure;
\r
496 Call cc.Cube (290,50,15);
\r
497 Call cc.Noir (290,50,1);
\r
498 Call cc.Cube (235,40,15);
\r
499 Call cc.Noir (235,40,2);
\r
500 Call cc.Cube (360,35,15);
\r
501 Call cc.Noir (360,35,3);
\r
502 Call cc.Cube (200,70,15);
\r
503 Call cc.Noir (200,70,4);
\r
504 Call cc.Cube (260,80,15);
\r
505 Call cc.Noir (260,80,5);
\r
506 Call cc.Cube (320,75,15);
\r
507 Call cc.Noir (320,75,6);
\r
509 Call Move (260,135);
\r
510 Call Outstring ("OPTIONS");
\r
512 Call Move (100,150);
\r
513 Call Outstring ("Vitesse");
\r
514 Call Move (410,150);
\r
515 Call Outstring ("Taille");
\r
516 Call Rectangle (150,170,165,185,9);
\r
517 Call Rectangle (150,200,165,215,9);
\r
518 Call Rectangle (150,230,165,245,9);
\r
520 Call Move (180,178);
\r
521 Call Outstring ("Lent");
\r
522 Call Move (180,208);
\r
523 Call Outstring ("Moyen");
\r
524 Call Move (180,238);
\r
525 Call Outstring ("Rapide");
\r
526 Call Rectangle (450,170,465,185,9);
\r
527 Call Rectangle (450,200,465,215,9);
\r
528 Call Rectangle (450,230,465,245,9);
\r
530 Call Move (480,178);
\r
531 Call Outstring ("Petit");
\r
532 Call Move (480,208);
\r
533 Call Outstring ("Moyen");
\r
534 Call Move (480,238);
\r
535 Call Outstring ("Gros");
\r
536 Call Rectangle (250,300,350,330,14);
\r
537 Call Texte (265,310,"Continuer");
\r
538 Call Efface (152,202,163,213,7);
\r
539 Call Efface (452,202,463,213,7);
\r
544 Call Setwindow (0,630,0,330);
\r
547 Call Status (h,v,l,r,z);
\r
550 If ((h >= 250) AND (h <= 350)) AND ((v >= 300) AND (v <= 330)) Then
\r
553 If ((h >= 150) AND (h <= 165)) AND ((v >= 170) AND (v <= 185)) Then
\r
555 When 2: Call Efface (152,172,163,183,0);
\r
556 When 4: Call Efface (152,202,163,213,0);
\r
557 When 10: Call Efface (152,232,163,243,0);
\r
559 Call Efface (152,172,163,183,7);
\r
563 If ((h >= 150) AND (h <= 165)) AND ((v >= 200) AND (v <= 215)) Then
\r
565 When 2: Call Efface (152,172,163,183,0);
\r
566 When 4: Call Efface (152,202,163,213,0);
\r
567 When 10: Call Efface (152,232,163,243,0);
\r
569 Call Efface (152,202,163,213,7);
\r
573 If ((h >= 150) AND (h <= 165)) AND ((v >= 230) AND (v <= 245)) Then
\r
575 When 2: Call Efface (152,172,163,183,0);
\r
576 When 4: Call Efface (152,202,163,213,0);
\r
577 When 10: Call Efface (152,232,163,243,0);
\r
579 Call Efface (152,232,163,243,7);
\r
583 If ((h >= 450) AND (h <= 465)) AND ((v >= 170) AND (v <= 185)) Then
\r
585 When 30: Call Efface (452,172,463,183,0);
\r
586 When 60: Call Efface (452,202,463,213,0);
\r
587 When 80: Call Efface (452,232,463,243,0);
\r
589 Call Efface (452,172,463,183,7);
\r
592 If ((h >= 450) AND (h <= 465)) AND ((v >= 200) AND (v <= 215)) Then
\r
594 When 30: Call Efface (452,172,463,183,0);
\r
595 When 60: Call Efface (452,202,463,213,0);
\r
596 When 80: Call Efface (452,232,463,243,0);
\r
598 Call Efface (452,202,463,213,7);
\r
601 If ((h >= 450) AND (h <= 465)) AND ((v >= 230) AND (v <= 245)) Then
\r
603 When 30: Call Efface (452,172,463,183,0);
\r
604 When 60: Call Efface (452,202,463,213,0);
\r
605 When 80: Call Efface (452,232,463,243,0);
\r
607 Call Efface (452,232,463,243,7);
\r
613 Call Efface (0,0,640,350,0);
\r
618 (*ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ»*)
\r
619 (*º/////////////// PROGRAMME PRINCIPAL \\\\\\\\\\\\\\\º*)
\r
620 (*ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ*)
\r
623 Pref IIUWGraph Block
\r
630 Call Gron (nocard);
\r
635 Call Draw (605,300);
\r
636 Call Draw (605,310);
\r
638 Call Move (605,300);
\r
639 Call Draw (638,267);
\r
640 Call Move (605,310);
\r
641 Call Draw (638,277);
\r
647 Call C.Cube (C.x,C.y,2);
\r
650 Call Rectangle (520,315,600,345,14);
\r
651 Call Texte (535,325,"Quitter");
\r
652 Call Rectangle (420,315,500,345,14);
\r
653 Call Texte (435,325,"Suivant");
\r
655 Call Setwindow (0,630,0,330);
\r
658 Call Status (h,v,l,r,z);
\r
660 If ((h >= 520) AND (h <= 600)) AND
\r
661 ((v >= 315) AND (v <= 345)) Then
\r
663 Call Efface (520,315,600,345,0);
\r
664 Call Efface (420,315,500,345,0);
\r
668 If ((h >= 420) AND (h <= 500)) AND
\r
669 ((v >= 315) AND (v <= 345)) Then
\r
675 Call Efface (520,315,600,345,0);
\r
676 Call Efface (420,315,500,345,0);
\r
678 Call Move (10,320);
\r
679 Call Outstring ("D
\82placez le cube, et fixez");
\r
680 Call Outstring (" le en cliquant sur le bouton de GAUCHE.");
\r
682 C.x := 595-lg-lg Div 3;
\r
684 Call C.Cube (C.x,C.y,15);
\r
687 Call Move (10,320);
\r
688 Call Outstring (" ");
\r
689 Call Outstring (" ");
\r
693 Call Outstring ("Cliquez sur le bouton de DROITE");
\r
694 Call Outstring (" pour obtenir une figure en couleurs. ");
\r
696 Call Status (h,v,l,r,z);
\r
701 Call C.Cube (cour.x,cour.y,15);
\r
702 Call C.Noir (cour.x,cour.y,i);
\r
703 If (cour.suiv = NONE) Then
\r
715 Call Outstring ("Cliquez sur le bouton de GAUCHE");
\r
716 Call Outstring (" pour sortir ... ");
\r
718 Call Status (h,v,l,r,z);
\r