####################################################################################################################################### # # # G E N E R A T I O N D E S I M A G E S D U M O U V E M E N T D E S P A R T I C U L E S : # # D A N S L E B I L L I A R D C O U R A N T A V E C # # U N " D E C O R " D Y N A M I Q U E ' $xTV/BOITE.3.???? ' : # # # # # # Author of '$xivP/disk.000000009/face.2/.REFL.C.82.$U' : # # # # Jean-Francois Colonna (LACTAMME, AAAAMMJJhhmmss). # # # ####################################################################################################################################### $c #include <stdio.h> $c $c extern int atoi(); $c extern char *getenv(); $c $c #define NA0 (atoi(getenv("PremiereA"))) $c #define NA (atoi(getenv("DerniereA"))) $c $c #define NR0 1 $c #define NR 4 $c #define PAS 1 $c $c int main() $c { $c int n; $c $c if (((NA-NA0+1)%2) != 0) $c { $c printf("\n ATTENTION : le nombre d'images n'est pas divisible par 2"); $c } $c else $c { $c } $c $c for (n=NA0 ; n<=NA ; n=n+2) $c { $c int n1=n+0; $c int n2=n+1; $c $c printf("$xcg/parallele.1N$X $c commande11=%c $c $xci/cache.11$Z $c $_____imagesW.%04d $c $xTV/BOITE.3.%04d $c $_____images.%04d%c $c commande21=%c $c $xci/cache.11$Z $c $_____imagesW.%04d $c $xTV/BOITE.3.%04d $c $_____images.%04d%c\n" $c ,'"',n1,n1,n1,'"' $c ,'"',n2,n2,n2,'"' $c ); $c } $c }