home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / x / volume8 / xlife / part05 < prev    next >
Internet Message Format  |  1990-07-06  |  73KB

  1. Path: uunet!cs.utexas.edu!usc!elroy.jpl.nasa.gov!ames!sun-barr!newstop!sun!andrew.cmu.edu
  2. From: dl2n+@andrew.cmu.edu (Daniel Edward Lovinger)
  3. Newsgroups: comp.sources.x
  4. Subject: v08i041: Xlife 2.0, Part05/10
  5. Message-ID: <138510@sun.Eng.Sun.COM>
  6. Date: 7 Jul 90 00:01:27 GMT
  7. Sender: news@sun.Eng.Sun.COM
  8. Lines: 4366
  9. Approved: argv@sun.com
  10.  
  11. Submitted-by: Daniel Edward Lovinger <dl2n+@andrew.cmu.edu>
  12. Posting-number: Volume 8, Issue 41
  13. Archive-name: xlife/part05
  14.  
  15. #! /bin/sh
  16. # This is a shell archive.  Remove anything before this line, then unpack
  17. # it by saving it into a file and typing "sh file".  To overwrite existing
  18. # files, type "sh file -c".  You can also feed this as standard input via
  19. # unshar, or by typing "sh <file", e.g..  If this archive is complete, you
  20. # will see the following message at the end:
  21. #        "End of archive 5 (of 8)."
  22. # Contents:  xlife-2.0/data.h xlife-2.0/file.c xlife-2.0/icon.h
  23. #   xlife-2.0/lifeconv.c xlife-2.0/patterns/background1.life
  24. #   xlife-2.0/patterns/billiards.life
  25. #   xlife-2.0/patterns/blockpusher4.life
  26. #   xlife-2.0/patterns/counter.life
  27. #   xlife-2.0/patterns/gliderarmyof256.life
  28. #   xlife-2.0/patterns/rake2.life xlife-2.0/patterns/round.life
  29. #   xlife-2.0/utils.c xlife-2.0/xlife.man
  30. # Wrapped by dl2n@niobe.weh.andrew.cmu.edu on Mon Jul  2 22:48:10 1990
  31. PATH=/bin:/usr/bin:/usr/ucb ; export PATH
  32. if test -f xlife-2.0/data.h -a "${1}" != "-c" ; then 
  33.   echo shar: Will not over-write existing file \"xlife-2.0/data.h\"
  34. else
  35. echo shar: Extracting \"xlife-2.0/data.h\" \(3374 characters\)
  36. sed "s/^X//" >xlife-2.0/data.h <<'END_OF_xlife-2.0/data.h'
  37. X/*
  38. X * XLife Copyright 1989 Jon Bennett jb7m+@andrew.cmu.edu, jcrb@cs.cmu.edu
  39. X *
  40. X * Permission to use, copy, modify, distribute, and sell this software and its
  41. X * documentation for any purpose is hereby granted without fee, provided that
  42. X * the above copyright notice appear in all copies and that both that
  43. X * copyright notice and this permission notice appear in supporting
  44. X * documentation, and that the name of the copyright holders not be used in
  45. X * advertising or publicity pertaining to distribution of the software without
  46. X * specific, written prior permission.  The copyright holders make no
  47. X * representations about the suitability of this software for any purpose.  It
  48. X * is provided "as is" without express or implied warranty.
  49. X *
  50. X * THE COPYRIGHT HOLDERS DISCLAIM ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
  51. X * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
  52. X * EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY SPECIAL, INDIRECT OR
  53. X * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
  54. X * DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
  55. X * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
  56. X * PERFORMANCE OF THIS SOFTWARE.
  57. X */
  58. X
  59. Xextern int sys_nerr, errno;
  60. Xextern char *sys_errlist[];
  61. X#define SYSERR sys_errlist[(errno > sys_nerr? 0 : errno)]
  62. X
  63. XGLOBAL Display *disp;
  64. XGLOBAL Window rootw, mainw, lifew, inputw;
  65. XGLOBAL int screen;
  66. XGLOBAL unsigned long fcolor, bcolor;
  67. XGLOBAL XEvent event;
  68. XGLOBAL XFontStruct *nfont, *bfont;
  69. XGLOBAL int getinput;
  70. X#define INPBUFLEN 255
  71. XGLOBAL char inpbuf[INPBUFLEN];
  72. XGLOBAL int minbuflen;
  73. X#define DIRBUFLEN 100
  74. XGLOBAL int numcomments;
  75. X#define MAXCOMMENTS 50
  76. XGLOBAL char comments[MAXCOMMENTS][256];
  77. XGLOBAL char loadirbuf[DIRBUFLEN];
  78. XGLOBAL char loadir[DIRBUFLEN];
  79. XGLOBAL char keybuf[16];
  80. XGLOBAL char lookup[0xfffff];
  81. XGLOBAL char fname[256];
  82. XGLOBAL KeySym ks;
  83. XGLOBAL XGCValues xgcv;
  84. XGLOBAL GC ntextgc, btextgc,inputgc,blackgc,whitegc;
  85. XGLOBAL Pixmap lifepm;
  86. XGLOBAL Cursor cursor;
  87. X
  88. XGLOBAL char *itoa();
  89. X
  90. XGLOBAL unsigned long xpos,ypos;
  91. X
  92. XGLOBAL int getcell();
  93. XGLOBAL void generate();
  94. XGLOBAL void addcell();
  95. XGLOBAL void deletecell();
  96. XGLOBAL void redisplay();
  97. XGLOBAL void forget();
  98. XGLOBAL void Motion();
  99. XGLOBAL void setcell();
  100. XGLOBAL void kill();
  101. XGLOBAL void clear();
  102. XGLOBAL void savefile();
  103. XGLOBAL void loadfile();
  104. XGLOBAL void center();
  105. XGLOBAL void newrules();
  106. XGLOBAL void redrawscreen();
  107. XGLOBAL void help();
  108. XGLOBAL void randomize();
  109. XGLOBAL void settimeout();
  110. XGLOBAL void gentab();
  111. XGLOBAL void saveall();
  112. XGLOBAL void getxstring();
  113. XGLOBAL void name_file();
  114. XGLOBAL void comment();
  115. XGLOBAL void view_comments();
  116. XGLOBAL void benchmark();
  117. XGLOBAL unsigned long dispcells;
  118. XGLOBAL unsigned long load;
  119. XGLOBAL unsigned long save;
  120. XGLOBAL unsigned long scale;
  121. XGLOBAL unsigned long born;
  122. XGLOBAL unsigned long live;
  123. XGLOBAL unsigned long run;
  124. XGLOBAL unsigned long maxdead;
  125. XGLOBAL unsigned long hide;
  126. XGLOBAL unsigned long generations;
  127. XGLOBAL unsigned long numboxes;
  128. XGLOBAL unsigned long numcells;
  129. XGLOBAL unsigned long collisions;
  130. X#define CHASHSIZE 65537
  131. X#define CHASHMULT 16383
  132. X
  133. XGLOBAL unsigned long hashcnt[CHASHSIZE];
  134. XGLOBAL int width;
  135. XGLOBAL int height;
  136. XGLOBAL int inputlength;
  137. XGLOBAL int onpt,offpt,onrect,offrect;
  138. XGLOBAL int state;
  139. XGLOBAL struct timeval timeout;
  140. X
  141. X
  142. XGLOBAL int link_called;
  143. XGLOBAL int link_search;
  144. XGLOBAL int create_called;
  145. XGLOBAL int create_null;
  146. END_OF_xlife-2.0/data.h
  147. if test 3374 -ne `wc -c <xlife-2.0/data.h`; then
  148.     echo shar: \"xlife-2.0/data.h\" unpacked with wrong size!
  149. fi
  150. # end of overwriting check
  151. fi
  152. if test -f xlife-2.0/file.c -a "${1}" != "-c" ; then 
  153.   echo shar: Will not over-write existing file \"xlife-2.0/file.c\"
  154. else
  155. echo shar: Extracting \"xlife-2.0/file.c\" \(5219 characters\)
  156. sed "s/^X//" >xlife-2.0/file.c <<'END_OF_xlife-2.0/file.c'
  157. X/*
  158. X * XLife Copyright 1989 Jon Bennett jb7m+@andrew.cmu.edu, jcrb@cs.cmu.edu
  159. X *
  160. X * Permission to use, copy, modify, distribute, and sell this software and its
  161. X * documentation for any purpose is hereby granted without fee, provided that
  162. X * the above copyright notice appear in all copies and that both that
  163. X * copyright notice and this permission notice appear in supporting
  164. X * documentation, and that the name of the copyright holders not be used in
  165. X * advertising or publicity pertaining to distribution of the software without
  166. X * specific, written prior permission.  The copyright holders make no
  167. X * representations about the suitability of this software for any purpose.  It
  168. X * is provided "as is" without express or implied warranty.
  169. X *
  170. X * THE COPYRIGHT HOLDERS DISCLAIM ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
  171. X * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
  172. X * EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY SPECIAL, INDIRECT OR
  173. X * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
  174. X * DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
  175. X * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
  176. X * PERFORMANCE OF THIS SOFTWARE.
  177. X */
  178. X
  179. X#include "defs.h"
  180. X#include "data.h"
  181. X#include <stdio.h>
  182. X#include <pwd.h>
  183. X#include <ctype.h>
  184. X
  185. Xchar *gethome()
  186. X{
  187. X    return(getpwuid(getuid())->pw_dir);
  188. X}
  189. X
  190. X
  191. Xchar *checktilda(stng)
  192. Xchar *stng;
  193. X{
  194. X    static char full[1024];
  195. X    struct passwd *pw;
  196. X    int i;
  197. X    if (stng[0]=='~') {
  198. X    i=1;
  199. X    while(stng[i]!='/' && stng[i]!='\0')
  200. X        full[i-1]=stng[i], i++;
  201. X    if (i==1) 
  202. X        strcpy(full,gethome());
  203. X    else {
  204. X        full[i-1]='\0';
  205. X        if((pw = getpwnam(full)) == NULL){
  206. X        XClearWindow(disp,inputw);
  207. X        XDrawString(disp,inputw,ntextgc,ICOORDS(0,0),SYSERR,strlen(SYSERR));
  208. X        }
  209. X        else{
  210. X        strcpy(full,pw->pw_dir);
  211. X        }
  212. X    }
  213. X    strcat(full,stng+i);
  214. X    } else
  215. X    strcpy(full,stng);
  216. X    return(full);
  217. X}
  218. X
  219. Xchar *addlifeext(buf)
  220. Xchar *buf;
  221. X{
  222. X    int len=strlen(buf);
  223. X    if(strcmp(buf+len-5,".life")){
  224. X    return(".life");
  225. X    }
  226. X    return("");
  227. X}
  228. X
  229. Xvoid savefile(){
  230. X
  231. X    FILE *savefl;
  232. X    char outbuf[100];
  233. X    
  234. X    strcpy(inpbuf,"Save to:");
  235. X    minbuflen=8;
  236. X    strcat(inpbuf, "./");
  237. X    XClearWindow(disp,inputw);
  238. X    XDrawString(disp, inputw, ntextgc,ICOORDS(0,0),inpbuf, strlen(inpbuf));
  239. X
  240. X    getxstring();
  241. X
  242. X    strcpy(outbuf,checktilda(inpbuf+8));
  243. X    inpbuf[0]=0;
  244. X    strcat(outbuf,addlifeext(outbuf));
  245. X    if((savefl=fopen(outbuf,"w")) != NULL){
  246. X    saveall(savefl, '\0');
  247. X    fclose(savefl);
  248. X    }
  249. X    else{
  250. X    XClearWindow(disp,inputw);
  251. X    XDrawString(disp,inputw,ntextgc,ICOORDS(0,0),SYSERR,strlen(SYSERR));
  252. X    }
  253. X}
  254. X
  255. X
  256. Xint do_loadfile(filename, hotx, hoty)
  257. X    char *filename;
  258. X    int hotx, hoty;
  259. X{
  260. X    FILE *loadfl;
  261. X    int x,y, linect = 0;
  262. X#define M_ABSOLUTE    0
  263. X#define M_RELATIVE    1
  264. X#define M_PICTURE    2
  265. X    int loadmode = M_ABSOLUTE;
  266. X
  267. X    if ((loadfl=fopen(filename,"r")) != NULL)
  268. X    {
  269. X    char    buf[BUFSIZ];
  270. X    int    xoff = 0, yoff = 0;
  271. X
  272. X    while (fgets(buf, BUFSIZ, loadfl) != (char *)NULL)
  273. X    {
  274. X        if (buf[0] == '#')
  275. X        {
  276. X        char    incl[BUFSIZ];
  277. X        int    lx, ly;
  278. X
  279. X        incl[0] = '\0';
  280. X        switch(buf[1])
  281. X        {
  282. X
  283. X          case 'N':
  284. X            (void) strcat(fname,buf+2);
  285. X            fname[strlen(fname)-1]=0;
  286. X            break;
  287. X
  288. X          case 'A':
  289. X            loadmode = M_ABSOLUTE;
  290. X            break;
  291. X            
  292. X          case 'R':
  293. X            loadmode = M_RELATIVE;
  294. X            xoff = yoff = 0;
  295. X            (void) sscanf(buf+2, " %d %d", &xoff, &yoff);
  296. X            break;
  297. X            
  298. X          case 'P':
  299. X            loadmode = M_PICTURE;
  300. X            xoff = yoff = 0;
  301. X            (void) sscanf(buf+2, " %d %d", &xoff, &yoff); 
  302. X            break;
  303. X            
  304. X          case 'I':
  305. X            xoff = yoff = 0;
  306. X            (void) sscanf(buf+2, " %s %d %d", incl, &xoff, &yoff); 
  307. X            (void) strcat(incl, addlifeext(incl));
  308. X            if (!do_loadfile(incl, hotx + xoff, hoty + yoff))
  309. X            return(0);
  310. X            break;
  311. X            
  312. X          case 'L':
  313. X            (void) sscanf(buf+2, " %d %d %[^\n]", &lx, &ly, incl); 
  314. X            XDrawString(disp, lifew, ntextgc,
  315. X                RXPOS(xoff+lx, xpos), RYPOS(yoff+ly, ypos),
  316. X                incl, strlen(incl));
  317. X            break;
  318. X
  319. X            
  320. X          default:
  321. X            break;
  322. X        }
  323. X        }
  324. X        else if (loadmode == M_ABSOLUTE && sscanf(buf,"%d %d\n",&x,&y)==2)
  325. X        {
  326. X        addcell(xpos + x, ypos + y);
  327. X        numcells++;
  328. X        }
  329. X        else if (loadmode == M_RELATIVE && sscanf(buf,"%d %d\n",&x,&y)==2)
  330. X        {
  331. X        addcell(hotx + xoff + x, hoty + yoff + y);
  332. X        numcells++;
  333. X        }
  334. X        else /* loadmode == M_PICTURE */
  335. X        {
  336. X        char    *cp;
  337. X
  338. X        for (cp = buf; *cp; cp++)
  339. X            if (*cp == '*')
  340. X            {
  341. X            addcell(hotx + xoff + (cp-buf),
  342. X                hoty + yoff + linect);
  343. X            numcells++;
  344. X            }
  345. X        }
  346. X        linect++;
  347. X    }
  348. X    fclose(loadfl);
  349. X    return 1;
  350. X    } else
  351. X    return 0;
  352. X}
  353. X
  354. X
  355. Xvoid loadfile(){
  356. X
  357. X    char outbuf[100];
  358. X    
  359. X    strcpy(inpbuf,"Load from:");
  360. X    minbuflen=10;
  361. X    strcat(inpbuf,loadirbuf);
  362. X    XClearWindow(disp,inputw);
  363. X    XDrawString(disp, inputw, ntextgc,ICOORDS(0,0),inpbuf, strlen(inpbuf));
  364. X
  365. X    getxstring();
  366. X       
  367. X    strcpy(outbuf,checktilda(inpbuf+10));
  368. X    inpbuf[0]=0;
  369. X    strcat(outbuf,addlifeext(outbuf));
  370. X    if (do_loadfile(outbuf, XPOS(event.xmotion.x, xpos), YPOS(event.xmotion.y, ypos))) {
  371. X/*            scale = 1;    */
  372. X    XClearWindow(disp,lifew);
  373. X        redrawscreen();
  374. X    }
  375. X    else{
  376. X    XClearWindow(disp,inputw);
  377. X    XDrawString(disp,inputw,ntextgc,ICOORDS(0,0),SYSERR,strlen(SYSERR));
  378. X    }
  379. X}
  380. X            
  381. END_OF_xlife-2.0/file.c
  382. if test 5219 -ne `wc -c <xlife-2.0/file.c`; then
  383.     echo shar: \"xlife-2.0/file.c\" unpacked with wrong size!
  384. fi
  385. # end of overwriting check
  386. fi
  387. if test -f xlife-2.0/icon.h -a "${1}" != "-c" ; then 
  388.   echo shar: Will not over-write existing file \"xlife-2.0/icon.h\"
  389. else
  390. echo shar: Extracting \"xlife-2.0/icon.h\" \(3319 characters\)
  391. sed "s/^X//" >xlife-2.0/icon.h <<'END_OF_xlife-2.0/icon.h'
  392. X#define icon_width 64
  393. X#define icon_height 64
  394. X#define icon_x_hot -1
  395. X#define icon_y_hot -1
  396. Xstatic char icon_bits[] = {
  397. X   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  398. X   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  399. X   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x60, 0x00, 0x30, 0x01,
  400. X   0x00, 0x00, 0x00, 0x00, 0xe0, 0x00, 0x38, 0x03, 0x00, 0x00, 0x00, 0x00,
  401. X   0xc0, 0x01, 0x1c, 0x03, 0x00, 0x00, 0x00, 0x00, 0x80, 0x03, 0x0e, 0x03,
  402. X   0x00, 0x00, 0x00, 0x00, 0x00, 0x07, 0x07, 0x03, 0x18, 0x1e, 0x78, 0x00,
  403. X   0x00, 0x8e, 0x03, 0x03, 0x18, 0x3f, 0xfc, 0x00, 0x00, 0xdc, 0x01, 0x03,
  404. X   0x80, 0x03, 0xce, 0x01, 0x00, 0xf8, 0x00, 0x03, 0x80, 0x01, 0x86, 0x01,
  405. X   0x00, 0x70, 0x00, 0x03, 0x98, 0x01, 0x86, 0x01, 0x00, 0xf8, 0x00, 0x03,
  406. X   0x98, 0x01, 0x86, 0x01, 0x00, 0xdc, 0x01, 0x03, 0x98, 0x01, 0xfe, 0x01,
  407. X   0x00, 0x8e, 0x03, 0x03, 0x98, 0x3f, 0xfe, 0x00, 0x00, 0x07, 0x07, 0x03,
  408. X   0x98, 0x1f, 0x06, 0x00, 0x80, 0x03, 0x0e, 0x03, 0x98, 0x01, 0x06, 0x00,
  409. X   0xc0, 0x01, 0x1c, 0x03, 0x98, 0x01, 0x0e, 0x00, 0xe0, 0x00, 0x38, 0xff,
  410. X   0x98, 0x01, 0xfc, 0x01, 0x60, 0x00, 0x30, 0xff, 0x99, 0x01, 0xf8, 0x00,
  411. X   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xe0, 0x01, 0x00,
  412. X   0x00, 0x00, 0x00, 0x00, 0x00, 0xe0, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00,
  413. X   0x00, 0xe0, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xe0, 0x01, 0x00,
  414. X   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  415. X   0x00, 0xe0, 0xbd, 0x07, 0x00, 0x00, 0x00, 0x00, 0x00, 0xe0, 0xbd, 0x07,
  416. X   0x00, 0x00, 0x00, 0x00, 0x00, 0xe0, 0xbd, 0x07, 0x00, 0x00, 0x00, 0x00,
  417. X   0x00, 0xe0, 0xbd, 0x07, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  418. X   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x00, 0x00, 0x00,
  419. X   0x00, 0x00, 0x00, 0xf0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xf0,
  420. X   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x00, 0x00, 0x00,
  421. X   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0xf7,
  422. X   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0xf7, 0x00, 0x00, 0x00, 0x00,
  423. X   0x00, 0x00, 0x80, 0xf7, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0xf7,
  424. X   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  425. X   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  426. X   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  427. X   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  428. X   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xc0, 0x7b, 0x00, 0x00,
  429. X   0x00, 0x00, 0x00, 0x00, 0xc0, 0x7b, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  430. X   0xc0, 0x7b, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xc0, 0x7b, 0x00, 0x00,
  431. X   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  432. X   0xc0, 0x03, 0x0f, 0x00, 0x00, 0x00, 0x00, 0x00, 0xc0, 0x03, 0x0f, 0x00,
  433. X   0x00, 0x00, 0x00, 0x00, 0xc0, 0x03, 0x0f, 0x00, 0x00, 0x00, 0x00, 0x00,
  434. X   0xc0, 0x03, 0x0f, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  435. X   0x00, 0x00, 0x00, 0x00, 0xc0, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  436. X   0xc0, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xc0, 0x03, 0x00, 0x00,
  437. X   0x00, 0x00, 0x00, 0x00, 0xc0, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  438. X   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  439. X   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00};
  440. END_OF_xlife-2.0/icon.h
  441. if test 3319 -ne `wc -c <xlife-2.0/icon.h`; then
  442.     echo shar: \"xlife-2.0/icon.h\" unpacked with wrong size!
  443. fi
  444. # end of overwriting check
  445. fi
  446. if test -f xlife-2.0/lifeconv.c -a "${1}" != "-c" ; then 
  447.   echo shar: Will not over-write existing file \"xlife-2.0/lifeconv.c\"
  448. else
  449. echo shar: Extracting \"xlife-2.0/lifeconv.c\" \(5093 characters\)
  450. sed "s/^X//" >xlife-2.0/lifeconv.c <<'END_OF_xlife-2.0/lifeconv.c'
  451. X/*
  452. X * lifeconv.c -- image format conversion routines for Xlife
  453. X *
  454. X * By Eric S. Raymond (eric@snark.uu.net)
  455. X *
  456. X * A leading -[RAP] argument forces the conversion format. Otherwise
  457. X * it uses the following rules:
  458. X *
  459. X * 1) If the image won't fit in a 1000x876 screen, leave it alone (thus,
  460. X *    very large patterns like the breeder are left in #A format).
  461. X *
  462. X * 2) Otherwise, convert it to whichever of `P' or `R' format takes up less
  463. X *    disk space. Offsets are generated in the header so that the hot spot is
  464. X *    at the center of the bounding rectangle.
  465. X *
  466. X * With no file arguments, lifeconv acts as a filter. If given file arguments,
  467. X * the files will be converted to the new format in place.
  468. X */
  469. X#include <stdio.h>
  470. X
  471. X#define MARK    '*'
  472. X#define SPACE    '.'
  473. X
  474. X/* XMAX should be divisible by 8 (bits in a char) 
  475. X * XMAX x YMAX should be big enough to handle anything reasonable
  476. X */
  477. X#define XMAX    2000
  478. X#define YMAX    2000
  479. X
  480. X/* image data */
  481. Xstatic char    image[XMAX >> 3][YMAX];
  482. Xstatic int    xmin, ymin, xmax, ymax, numcells;
  483. Xstatic int    xoff, yoff;
  484. X
  485. Xstatic void mark(x, y)
  486. X/* mark a cell and update the bounding-box data */
  487. Xint    x, y;
  488. X{
  489. X
  490. X    image[x >> 3][y] |= 1 << (0x07 - (x & 0x07));
  491. X    numcells++;
  492. X
  493. X    if (x < xmin)
  494. X    xmin = x;
  495. X    if (y < ymin)
  496. X    ymin = y;
  497. X    if (x > xmax)
  498. X    xmax = x;
  499. X    if (y > ymax)
  500. X    ymax = y;
  501. X}
  502. X
  503. Xstatic int cvimage(name, ifp, mode, ofp)
  504. X/* read in an image in A, R or P form */
  505. Xchar    *name;
  506. XFILE    *ifp;
  507. Xchar    mode;
  508. XFILE    *ofp;
  509. X{
  510. X    char    buf[BUFSIZ];
  511. X    int        x, y, i, j, xcorner, ycorner;
  512. X    char    inmode = 'A';
  513. X
  514. X    /* read in a complete image file in any mode */
  515. X    bzero(image, sizeof(image));
  516. X    numcells = 0;
  517. X    xmin = XMAX; ymin = YMAX; xmax = 0; ymax = 0;
  518. X    while (fgets(buf, BUFSIZ, ifp) != (char *)NULL)
  519. X    {
  520. X    extern char    *strchr();
  521. X
  522. X    if (buf[0] == '#')
  523. X    {
  524. X        xoff = yoff = 0;
  525. X
  526. X        if (strchr("RAI", buf[1]) != (char *)NULL)
  527. X        {
  528. X        inmode = buf[1];
  529. X        (void) sscanf(buf + 2, "%d %d", &xoff, &yoff);
  530. X        }
  531. X        else {
  532. X         if (buf[1] == '#')
  533. X           (void) fputs(buf, ofp);
  534. X        }
  535. X         
  536. X    }
  537. X    else if ((inmode=='A'||inmode=='R') && sscanf(buf, "%d %d", &x,&y)==2)
  538. X    {
  539. X        if (x >= XMAX || y >= YMAX)
  540. X        {
  541. X        /*
  542. X         * If you get this message, recompile with larger
  543. X         * XMAX and YMAX values
  544. X         */
  545. X        (void) fprintf(stderr,
  546. X                   "%s: point %d = (%d,%d) out of bounds\n",
  547. X                   name, numcells, x, y);
  548. X        return(-1);
  549. X        }
  550. X        else if (inmode == 'R')
  551. X        mark(XMAX/2 + xoff + x, YMAX/2 + yoff + y);
  552. X        else
  553. X        mark(xoff + x, yoff + y);
  554. X    }
  555. X    else /* inmode == 'P' */
  556. X    {
  557. X        char    *cp;
  558. X
  559. X        for (cp = buf; *cp; cp++)
  560. X        if (*cp == MARK)
  561. X            mark(xoff + cp - buf, yoff + y);
  562. X        y++;
  563. X    }
  564. X    }
  565. X
  566. X    /* if the mode is \0, we go for the shortest output form */
  567. X    if (mode == '\0')
  568. X    if (((ymax - ymin + 1) * (xmax - xmin + 1)) > numcells * 8)
  569. X        mode = 'R';
  570. X    else
  571. X        mode = 'P';
  572. X
  573. X    /* undo the hack to accept negative indices */
  574. X    if (inmode == 'R' && mode != 'A')
  575. X    {
  576. X    xcorner = XMAX/2; ycorner = YMAX/2;
  577. X    xmin -= XMAX/2; ymin -= YMAX/2;
  578. X    xmax -= XMAX/2; ymax -= YMAX/2;
  579. X    }
  580. X    else
  581. X    xcorner = ycorner = 0;
  582. X
  583. X    /* here goes the write side */
  584. X    if (mode == 'P')
  585. X    {
  586. X    (void) fprintf(ofp, "#P %d %d\n", -(xmax-xmin)/2,  -(ymax-ymin)/2);
  587. X    for (i = ymin; i <= ymax; i++)
  588. X    {
  589. X        for (j = xmin; j <= xmax; j++)
  590. X        if (image[(j + xcorner) >> 3][i + ycorner] & (1 << (0x07 - ((j+xcorner) & 0x07))))
  591. X            (void) fputc(MARK, ofp);
  592. X        else
  593. X            (void) fputc(SPACE, ofp);
  594. X        (void) fputc('\n', ofp);
  595. X    }
  596. X    }
  597. X    else if (mode == 'R')
  598. X    {
  599. X    int cx = xmin + (xmax-xmin)/2;
  600. X    int cy = ymin + (ymax-ymin)/2;
  601. X
  602. X    (void) fprintf(ofp, "#R\n");
  603. X    for (i = ymin; i <= ymax; i++)
  604. X        for (j = xmin; j <= xmax; j++)
  605. X        if (image[(j + xcorner) >> 3][i + ycorner] & (1 << (0x07 - ((j+xcorner & 0x07)))))
  606. X            (void) fprintf(ofp, "%3d %3d\n", j - cx, i - cy);
  607. X    }
  608. X    else /* if (mode == 'A') */
  609. X    {
  610. X    (void) fprintf(ofp, "#A\n");
  611. X    for (i = ymin; i <= ymax; i++)
  612. X        for (j = xmin; j <= xmax; j++)
  613. X        if (image[(j + xcorner) >> 3][i + ycorner] & (1 << (0x07 - ((j+xcorner & 0x07)))))
  614. X            (void) fprintf(ofp, "%3d %3d\n", xoff + j, yoff + i);
  615. X    }
  616. X
  617. X    return(mode);
  618. X}
  619. X
  620. Xmain(argc, argv)
  621. Xint argc;
  622. Xchar **argv;
  623. X{
  624. X    char    convmode = '\0';
  625. X
  626. X    if (argc == 1)
  627. X    (void) cvimage("stdin", stdin, convmode, stdout);
  628. X    else
  629. X    {
  630. X    char    tmpfile[BUFSIZ];
  631. X    FILE    *ifp, *ofp;
  632. X
  633. X        if (argv[1][0] == '-' && strchr("RAP", argv[1][1]) != (char *)NULL)
  634. X        {
  635. X        convmode = argv[1][1];
  636. X        argv++, argc--;
  637. X        }
  638. X
  639. X    (void) strcpy(tmpfile, ".lfcnvXXXXXX");
  640. X    (void) mktemp(tmpfile);
  641. X    while (++argv, --argc)
  642. X        if ((ifp = fopen(argv[0], "r")) == (FILE *)NULL)
  643. X        perror(argv[0]);
  644. X        else if ((ofp = fopen(tmpfile, "w")) == (FILE *)NULL)
  645. X        perror(tmpfile);
  646. X        else
  647. X        {
  648. X        char    oldname[BUFSIZ];
  649. X        int    status = cvimage(argv[0], ifp, convmode, ofp);
  650. X
  651. X        (void) fclose(ifp);
  652. X        (void) fclose(ofp);
  653. X        if (status < 0)
  654. X            continue;
  655. X
  656. X        (void) fprintf(stderr, "%s: %c\n", argv[0], status);
  657. X
  658. X        if (unlink(argv[0]) != 0)
  659. X            perror(argv[0]);
  660. X        else if (link(tmpfile, argv[0]) != 0)
  661. X            perror(argv[0]);
  662. X        else if (unlink(tmpfile) != 0)
  663. X            perror(argv[0]);
  664. X        }
  665. X    }
  666. X}
  667. X
  668. END_OF_xlife-2.0/lifeconv.c
  669. if test 5093 -ne `wc -c <xlife-2.0/lifeconv.c`; then
  670.     echo shar: \"xlife-2.0/lifeconv.c\" unpacked with wrong size!
  671. fi
  672. # end of overwriting check
  673. fi
  674. if test -f xlife-2.0/patterns/background1.life -a "${1}" != "-c" ; then 
  675.   echo shar: Will not over-write existing file \"xlife-2.0/patterns/background1.life\"
  676. else
  677. echo shar: Extracting \"xlife-2.0/patterns/background1.life\" \(3551 characters\)
  678. sed "s/^X//" >xlife-2.0/patterns/background1.life <<'END_OF_xlife-2.0/patterns/background1.life'
  679. X#P -29 -29
  680. X............**.**..........**.**..........**.**............
  681. X...........*.*.*.*........*.*.*.*........*.*.*.*...........
  682. X...........**...**........**...**........**...**...........
  683. X...........................................................
  684. X...........**...**........**...**........**...**...........
  685. X...........*.....*........*.....*........*.....*...........
  686. X...........*.....*........*.....*........*.....*...........
  687. X...........*.....*........*.....*........*.....*...........
  688. X...........*.....*........*.....*........*.....*...........
  689. X...........**...**........**...**........**...**...........
  690. X...........................................................
  691. X.**.******..**.**..******..**.**..******..**.**..******.**.
  692. X*.*.*....*.*.*.*.*.*....*.*.*.*.*.*....*.*.*.*.*.*....*.*.*
  693. X**.........**...**........**...**........**...**.........**
  694. X...........................................................
  695. X**.........**...**........**...**........**...**.........**
  696. X*.*.*....*.*.*.*.*.*....*.*.*.*.*.*....*.*.*.*.*.*....*.*.*
  697. X.**.******..**.**..******..**.**..******..**.**..******.**.
  698. X...........................................................
  699. X...........**...**........**...**........**...**...........
  700. X...........*.....*........*.....*........*.....*...........
  701. X...........*.....*........*.....*........*.....*...........
  702. X...........*.....*........*.....*........*.....*...........
  703. X...........*.....*........*.....*........*.....*...........
  704. X...........**...**........**...**........**...**...........
  705. X...........................................................
  706. X.**.******..**.**..******..**.**..******..**.**..******.**.
  707. X*.*.*....*.*.*.*.*.*....*.*.*.*.*.*....*.*.*.*.*.*....*.*.*
  708. X**.........**...**........**...**........**...**.........**
  709. X...........................................................
  710. X**.........**...**........**...**........**...**.........**
  711. X*.*.*....*.*.*.*.*.*....*.*.*.*.*.*....*.*.*.*.*.*....*.*.*
  712. X.**.******..**.**..******..**.**..******..**.**..******.**.
  713. X...........................................................
  714. X...........**...**........**...**........**...**...........
  715. X...........*.....*........*.....*........*.....*...........
  716. X...........*.....*........*.....*........*.....*...........
  717. X...........*.....*........*.....*........*.....*...........
  718. X...........*.....*........*.....*........*.....*...........
  719. X...........**...**........**...**........**...**...........
  720. X...........................................................
  721. X.**.******..**.**..******..**.**..******..**.**..******.**.
  722. X*.*.*....*.*.*.*.*.*....*.*.*.*.*.*....*.*.*.*.*.*....*.*.*
  723. X**.........**...**........**...**........**...**.........**
  724. X...........................................................
  725. X**.........**...**........**...**........**...**.........**
  726. X*.*.*....*.*.*.*.*.*....*.*.*.*.*.*....*.*.*.*.*.*....*.*.*
  727. X.**.******..**.**..******..**.**..******..**.**..******.**.
  728. X...........................................................
  729. X...........**...**........**...**........**...**...........
  730. X...........*.....*........*.....*........*.....*...........
  731. X...........*.....*........*.....*........*.....*...........
  732. X...........*.....*........*.....*........*.....*...........
  733. X...........*.....*........*.....*........*.....*...........
  734. X...........**...**........**...**........**...**...........
  735. X...........................................................
  736. X...........**...**........**...**........**...**...........
  737. X...........*.*.*.*........*.*.*.*........*.*.*.*...........
  738. X............**.**..........**.**..........**.**............
  739. END_OF_xlife-2.0/patterns/background1.life
  740. if test 3551 -ne `wc -c <xlife-2.0/patterns/background1.life`; then
  741.     echo shar: \"xlife-2.0/patterns/background1.life\" unpacked with wrong size!
  742. fi
  743. # end of overwriting check
  744. fi
  745. if test -f xlife-2.0/patterns/billiards.life -a "${1}" != "-c" ; then 
  746.   echo shar: Will not over-write existing file \"xlife-2.0/patterns/billiards.life\"
  747. else
  748. echo shar: Extracting \"xlife-2.0/patterns/billiards.life\" \(7074 characters\)
  749. sed "s/^X//" >xlife-2.0/patterns/billiards.life <<'END_OF_xlife-2.0/patterns/billiards.life'
  750. X#A
  751. X58 178
  752. X62 178
  753. X57 179
  754. X59 179
  755. X60 179
  756. X62 179
  757. X57 180
  758. X61 180
  759. X56 181
  760. X57 181
  761. X61 181
  762. X63 181
  763. X62 182
  764. X63 182
  765. X55 175
  766. X55 176
  767. X57 174
  768. X58 174
  769. X60 174
  770. X61 174
  771. X58 175
  772. X60 175
  773. X62 175
  774. X56 176
  775. X60 176
  776. X62 176
  777. X60 177
  778. X62 177
  779. X63 177
  780. X57 146
  781. X59 146
  782. X60 146
  783. X57 147
  784. X59 147
  785. X60 147
  786. X57 148
  787. X59 149
  788. X60 149
  789. X57 150
  790. X58 150
  791. X60 150
  792. X56 151
  793. X56 152
  794. X55 146
  795. X52 148
  796. X53 148
  797. X52 149
  798. X55 149
  799. X53 150
  800. X54 150
  801. X55 150
  802. X53 152
  803. X54 152
  804. X53 153
  805. X55 153
  806. X56 145
  807. X55 145
  808. X80 183
  809. X80 184
  810. X79 183
  811. X79 184
  812. X80 186
  813. X81 186
  814. X82 186
  815. X86 186
  816. X87 186
  817. X83 187
  818. X85 187
  819. X87 187
  820. X83 188
  821. X85 188
  822. X83 189
  823. X85 189
  824. X86 189
  825. X80 190
  826. X81 190
  827. X82 190
  828. X80 192
  829. X80 193
  830. X74 186
  831. X75 186
  832. X79 186
  833. X74 187
  834. X76 187
  835. X78 187
  836. X76 188
  837. X78 188
  838. X79 188
  839. X75 189
  840. X76 189
  841. X78 189
  842. X79 190
  843. X79 192
  844. X79 193
  845. X78 162
  846. X79 162
  847. X76 151
  848. X77 151
  849. X76 152
  850. X77 152
  851. X80 155
  852. X80 156
  853. X80 157
  854. X82 157
  855. X83 157
  856. X80 158
  857. X82 158
  858. X83 158
  859. X76 154
  860. X77 154
  861. X78 154
  862. X79 154
  863. X72 155
  864. X73 155
  865. X75 155
  866. X78 155
  867. X72 156
  868. X73 156
  869. X75 156
  870. X77 156
  871. X75 157
  872. X79 157
  873. X75 158
  874. X76 159
  875. X77 159
  876. X78 159
  877. X79 159
  878. X78 161
  879. X79 161
  880. X69 130
  881. X71 130
  882. X68 131
  883. X69 131
  884. X71 131
  885. X69 132
  886. X69 133
  887. X70 134
  888. X71 134
  889. X73 128
  890. X74 128
  891. X78 128
  892. X79 128
  893. X75 129
  894. X77 129
  895. X81 130
  896. X83 130
  897. X81 131
  898. X83 131
  899. X84 131
  900. X80 132
  901. X83 132
  902. X83 133
  903. X80 134
  904. X81 134
  905. X82 134
  906. X80 135
  907. X75 130
  908. X77 130
  909. X75 131
  910. X77 131
  911. X72 132
  912. X73 132
  913. X74 132
  914. X78 132
  915. X79 132
  916. X72 134
  917. X72 135
  918. X81 124
  919. X82 124
  920. X81 125
  921. X83 125
  922. X83 126
  923. X82 127
  924. X83 127
  925. X85 127
  926. X86 127
  927. X83 128
  928. X85 128
  929. X86 128
  930. X81 129
  931. X83 129
  932. X70 124
  933. X71 124
  934. X69 125
  935. X71 125
  936. X69 126
  937. X66 127
  938. X67 127
  939. X69 127
  940. X70 127
  941. X66 128
  942. X67 128
  943. X69 128
  944. X69 129
  945. X71 129
  946. X127 124
  947. X127 125
  948. X126 126
  949. X127 126
  950. X131 122
  951. X128 123
  952. X131 123
  953. X129 124
  954. X130 124
  955. X129 119
  956. X130 119
  957. X129 120
  958. X131 120
  959. X133 120
  960. X134 120
  961. X131 121
  962. X133 121
  963. X134 121
  964. X150 122
  965. X150 123
  966. X147 124
  967. X148 124
  968. X150 124
  969. X151 124
  970. X147 125
  971. X149 125
  972. X150 126
  973. X151 126
  974. X151 121
  975. X152 120
  976. X153 121
  977. X152 122
  978. X154 122
  979. X156 122
  980. X157 122
  981. X154 123
  982. X156 123
  983. X157 123
  984. X154 124
  985. X154 125
  986. X152 126
  987. X153 126
  988. X152 128
  989. X153 128
  990. X152 129
  991. X153 129
  992. X119 142
  993. X119 143
  994. X121 146
  995. X122 146
  996. X124 146
  997. X122 147
  998. X125 147
  999. X126 147
  1000. X127 147
  1001. X122 148
  1002. X123 149
  1003. X124 149
  1004. X125 149
  1005. X125 150
  1006. X128 146
  1007. X130 146
  1008. X131 146
  1009. X130 147
  1010. X130 148
  1011. X132 148
  1012. X131 149
  1013. X132 149
  1014. X123 139
  1015. X124 139
  1016. X122 140
  1017. X124 140
  1018. X122 141
  1019. X120 142
  1020. X122 142
  1021. X123 142
  1022. X120 143
  1023. X122 143
  1024. X126 143
  1025. X122 144
  1026. X124 144
  1027. X122 145
  1028. X124 145
  1029. X128 139
  1030. X129 139
  1031. X128 140
  1032. X130 140
  1033. X130 141
  1034. X129 142
  1035. X130 142
  1036. X132 142
  1037. X133 142
  1038. X130 143
  1039. X132 143
  1040. X133 143
  1041. X128 144
  1042. X130 144
  1043. X128 145
  1044. X130 145
  1045. X151 145
  1046. X154 141
  1047. X155 141
  1048. X154 142
  1049. X155 143
  1050. X154 144
  1051. X155 144
  1052. X152 145
  1053. X156 145
  1054. X157 145
  1055. X153 146
  1056. X154 146
  1057. X155 146
  1058. X158 146
  1059. X156 147
  1060. X157 147
  1061. X155 148
  1062. X155 149
  1063. X153 150
  1064. X154 150
  1065. X152 151
  1066. X152 152
  1067. X150 146
  1068. X150 147
  1069. X151 148
  1070. X146 149
  1071. X147 149
  1072. X149 149
  1073. X151 149
  1074. X146 150
  1075. X148 150
  1076. X149 150
  1077. X151 150
  1078. X150 151
  1079. X150 152
  1080. X151 153
  1081. X130 160
  1082. X131 160
  1083. X129 161
  1084. X131 161
  1085. X124 170
  1086. X126 170
  1087. X124 171
  1088. X127 171
  1089. X123 172
  1090. X124 172
  1091. X123 162
  1092. X124 162
  1093. X124 163
  1094. X127 163
  1095. X124 164
  1096. X126 164
  1097. X121 165
  1098. X122 165
  1099. X124 165
  1100. X126 165
  1101. X121 166
  1102. X122 166
  1103. X124 166
  1104. X126 166
  1105. X124 167
  1106. X121 168
  1107. X122 168
  1108. X124 168
  1109. X121 169
  1110. X122 169
  1111. X124 169
  1112. X127 169
  1113. X128 170
  1114. X130 170
  1115. X128 171
  1116. X130 171
  1117. X129 172
  1118. X129 173
  1119. X131 173
  1120. X130 174
  1121. X131 174
  1122. X129 162
  1123. X128 163
  1124. X130 163
  1125. X130 164
  1126. X128 165
  1127. X130 165
  1128. X132 165
  1129. X133 165
  1130. X128 166
  1131. X130 166
  1132. X132 166
  1133. X133 166
  1134. X130 167
  1135. X129 168
  1136. X130 168
  1137. X132 168
  1138. X133 168
  1139. X130 169
  1140. X132 169
  1141. X133 169
  1142. X160 170
  1143. X156 165
  1144. X157 165
  1145. X156 166
  1146. X158 166
  1147. X157 167
  1148. X160 164
  1149. X161 164
  1150. X160 165
  1151. X160 166
  1152. X160 167
  1153. X162 167
  1154. X163 167
  1155. X160 168
  1156. X162 168
  1157. X163 168
  1158. X160 169
  1159. X152 170
  1160. X158 170
  1161. X153 171
  1162. X158 171
  1163. X159 171
  1164. X152 172
  1165. X156 172
  1166. X157 172
  1167. X157 173
  1168. X152 174
  1169. X153 174
  1170. X154 174
  1171. X155 174
  1172. X156 174
  1173. X153 176
  1174. X154 176
  1175. X153 177
  1176. X154 177
  1177. X151 170
  1178. X151 171
  1179. X150 174
  1180. X151 174
  1181. X150 175
  1182. X174 118
  1183. X175 118
  1184. X173 119
  1185. X174 120
  1186. X175 120
  1187. X175 130
  1188. X170 122
  1189. X174 122
  1190. X175 122
  1191. X169 123
  1192. X171 123
  1193. X173 123
  1194. X169 124
  1195. X171 124
  1196. X173 124
  1197. X168 125
  1198. X169 125
  1199. X171 125
  1200. X173 125
  1201. X174 125
  1202. X171 126
  1203. X171 127
  1204. X173 127
  1205. X174 127
  1206. X175 127
  1207. X172 128
  1208. X173 129
  1209. X174 129
  1210. X175 129
  1211. X176 122
  1212. X178 122
  1213. X180 122
  1214. X176 123
  1215. X178 123
  1216. X180 123
  1217. X178 124
  1218. X180 124
  1219. X181 124
  1220. X178 125
  1221. X178 126
  1222. X176 127
  1223. X177 127
  1224. X176 117
  1225. X176 118
  1226. X176 120
  1227. X177 120
  1228. X178 120
  1229. X179 121
  1230. X184 147
  1231. X175 151
  1232. X178 146
  1233. X179 146
  1234. X181 146
  1235. X183 146
  1236. X176 147
  1237. X177 147
  1238. X181 147
  1239. X183 147
  1240. X176 148
  1241. X177 148
  1242. X181 148
  1243. X181 149
  1244. X176 150
  1245. X177 150
  1246. X178 150
  1247. X179 150
  1248. X180 150
  1249. X176 152
  1250. X177 152
  1251. X178 152
  1252. X178 153
  1253. X182 144
  1254. X178 145
  1255. X179 145
  1256. X181 145
  1257. X183 145
  1258. X184 167
  1259. X184 168
  1260. X183 167
  1261. X183 168
  1262. X184 179
  1263. X184 180
  1264. X183 179
  1265. X183 180
  1266. X181 170
  1267. X182 170
  1268. X183 170
  1269. X180 171
  1270. X180 172
  1271. X177 173
  1272. X178 173
  1273. X180 173
  1274. X177 174
  1275. X178 174
  1276. X180 174
  1277. X182 174
  1278. X183 174
  1279. X180 175
  1280. X182 175
  1281. X183 175
  1282. X180 176
  1283. X181 177
  1284. X182 177
  1285. X183 177
  1286. X184 170
  1287. X185 170
  1288. X186 170
  1289. X187 171
  1290. X184 172
  1291. X185 172
  1292. X187 172
  1293. X184 173
  1294. X185 173
  1295. X187 173
  1296. X189 173
  1297. X190 173
  1298. X187 174
  1299. X189 174
  1300. X190 174
  1301. X187 175
  1302. X187 176
  1303. X184 177
  1304. X185 177
  1305. X186 177
  1306. X175 190
  1307. X175 191
  1308. X173 193
  1309. X174 193
  1310. X175 193
  1311. X178 190
  1312. X181 190
  1313. X176 191
  1314. X177 191
  1315. X178 191
  1316. X179 191
  1317. X180 191
  1318. X181 191
  1319. X176 193
  1320. X177 193
  1321. X178 193
  1322. X179 193
  1323. X180 193
  1324. X181 193
  1325. X182 193
  1326. X183 193
  1327. X172 194
  1328. X172 195
  1329. X169 196
  1330. X170 196
  1331. X172 196
  1332. X170 197
  1333. X172 197
  1334. X174 197
  1335. X175 197
  1336. X170 198
  1337. X172 198
  1338. X174 198
  1339. X175 198
  1340. X169 199
  1341. X170 199
  1342. X172 199
  1343. X170 200
  1344. X172 200
  1345. X174 200
  1346. X175 200
  1347. X170 201
  1348. X172 201
  1349. X174 201
  1350. X175 201
  1351. X176 195
  1352. X177 195
  1353. X179 195
  1354. X180 195
  1355. X176 196
  1356. X177 196
  1357. X179 196
  1358. X180 196
  1359. X181 197
  1360. X182 197
  1361. X181 198
  1362. X182 198
  1363. X181 200
  1364. X182 200
  1365. X181 201
  1366. X182 201
  1367. X184 202
  1368. X186 202
  1369. X187 202
  1370. X184 203
  1371. X184 204
  1372. X184 194
  1373. X184 195
  1374. X184 196
  1375. X186 196
  1376. X187 196
  1377. X184 197
  1378. X186 197
  1379. X184 198
  1380. X186 198
  1381. X184 199
  1382. X186 199
  1383. X187 199
  1384. X184 200
  1385. X186 200
  1386. X184 201
  1387. X186 201
  1388. X169 202
  1389. X170 202
  1390. X172 202
  1391. X172 203
  1392. X172 204
  1393. X173 205
  1394. X174 205
  1395. X175 205
  1396. X175 207
  1397. X175 208
  1398. X176 202
  1399. X177 202
  1400. X179 202
  1401. X180 202
  1402. X176 203
  1403. X177 203
  1404. X179 203
  1405. X180 203
  1406. X176 205
  1407. X177 205
  1408. X178 205
  1409. X179 205
  1410. X180 205
  1411. X181 205
  1412. X182 205
  1413. X183 205
  1414. X176 207
  1415. X177 207
  1416. X178 207
  1417. X179 207
  1418. X180 207
  1419. X181 207
  1420. X178 208
  1421. X181 208
  1422. X150 203
  1423. X150 204
  1424. X151 204
  1425. X156 202
  1426. X157 202
  1427. X152 203
  1428. X153 203
  1429. X155 203
  1430. X153 204
  1431. X155 204
  1432. X154 205
  1433. X153 198
  1434. X154 198
  1435. X152 199
  1436. X155 199
  1437. X154 200
  1438. X156 200
  1439. X152 201
  1440. X154 201
  1441. X156 201
  1442. X144 194
  1443. X151 200
  1444. X151 201
  1445. X138 194
  1446. X140 194
  1447. X137 195
  1448. X138 195
  1449. X140 195
  1450. X142 195
  1451. X143 195
  1452. X139 196
  1453. X141 196
  1454. X139 197
  1455. X141 197
  1456. X140 198
  1457. X144 193
  1458. X140 190
  1459. X140 191
  1460. X141 191
  1461. X142 191
  1462. X138 192
  1463. X139 192
  1464. X143 192
  1465. X137 193
  1466. X140 193
  1467. X142 193
  1468. X128 202
  1469. X128 203
  1470. X129 203
  1471. X130 204
  1472. X128 205
  1473. X129 205
  1474. X123 202
  1475. X126 202
  1476. X124 203
  1477. X125 204
  1478. X126 204
  1479. X127 205
  1480. X127 206
  1481. X128 201
  1482. X120 199
  1483. X122 199
  1484. X123 199
  1485. X120 200
  1486. X121 200
  1487. X123 200
  1488. X126 200
  1489. X127 200
  1490. X123 201
  1491. X125 201
  1492. X112 194
  1493. X112 189
  1494. X112 190
  1495. X112 191
  1496. X113 191
  1497. X114 192
  1498. X113 193
  1499. X106 186
  1500. X107 186
  1501. X106 187
  1502. X109 187
  1503. X110 187
  1504. X107 188
  1505. X108 188
  1506. X111 188
  1507. X110 189
  1508. X107 190
  1509. X108 190
  1510. X106 191
  1511. X109 191
  1512. X110 191
  1513. X106 192
  1514. X107 192
  1515. X111 192
  1516. X111 193
  1517. X107 168
  1518. X108 168
  1519. X107 169
  1520. X109 169
  1521. X101 172
  1522. X102 172
  1523. X101 173
  1524. X102 173
  1525. X104 170
  1526. X105 170
  1527. X107 170
  1528. X109 170
  1529. X104 171
  1530. X107 171
  1531. X109 171
  1532. X110 171
  1533. X104 172
  1534. X109 172
  1535. X104 173
  1536. X105 173
  1537. X106 173
  1538. X107 173
  1539. X109 173
  1540. X108 174
  1541. X106 175
  1542. X106 176
  1543. X107 176
  1544. X102 146
  1545. X102 147
  1546. X99 148
  1547. X100 148
  1548. X102 148
  1549. X99 149
  1550. X101 149
  1551. X103 149
  1552. X101 150
  1553. X103 150
  1554. X101 151
  1555. X102 152
  1556. X103 153
  1557. X101 145
  1558. X102 145
  1559. X105 146
  1560. X106 146
  1561. X104 147
  1562. X107 147
  1563. X105 148
  1564. X107 148
  1565. X107 149
  1566. X108 149
  1567. X105 150
  1568. X106 150
  1569. X109 150
  1570. X104 151
  1571. X108 151
  1572. X109 151
  1573. X104 152
  1574. X112 130
  1575. X115 130
  1576. X112 131
  1577. X114 131
  1578. X113 132
  1579. X112 126
  1580. X113 127
  1581. X113 128
  1582. X113 129
  1583. X114 129
  1584. X108 123
  1585. X107 124
  1586. X109 124
  1587. X106 125
  1588. X109 125
  1589. X110 125
  1590. X111 125
  1591. X107 126
  1592. X108 126
  1593. X109 127
  1594. X111 127
  1595. X109 128
  1596. X110 129
  1597. X111 129
  1598. X110 208
  1599. X111 208
  1600. X106 209
  1601. X107 209
  1602. X110 209
  1603. X105 210
  1604. X108 210
  1605. X110 210
  1606. X104 211
  1607. X106 211
  1608. X108 211
  1609. X110 211
  1610. X111 211
  1611. X105 212
  1612. X110 212
  1613. X106 213
  1614. X107 213
  1615. X108 213
  1616. X110 213
  1617. X109 214
  1618. X108 215
  1619. X108 216
  1620. X109 216
  1621. X89 218
  1622. X89 219
  1623. X88 220
  1624. X86 218
  1625. X87 219
  1626. X86 212
  1627. X87 212
  1628. X86 213
  1629. X87 214
  1630. X87 216
  1631. X86 217
  1632. X89 213
  1633. X90 213
  1634. X88 214
  1635. X91 214
  1636. X90 215
  1637. X92 215
  1638. X88 216
  1639. X92 216
  1640. X88 217
  1641. X90 217
  1642. X91 217
  1643. X72 210
  1644. X72 211
  1645. X69 207
  1646. X70 207
  1647. X68 208
  1648. X71 208
  1649. X66 209
  1650. X69 209
  1651. X71 209
  1652. X66 210
  1653. X67 210
  1654. X69 210
  1655. X71 210
  1656. X66 212
  1657. X67 212
  1658. X69 212
  1659. X70 212
  1660. X67 213
  1661. X69 213
  1662. X67 214
  1663. X69 214
  1664. X68 215
  1665. END_OF_xlife-2.0/patterns/billiards.life
  1666. if test 7074 -ne `wc -c <xlife-2.0/patterns/billiards.life`; then
  1667.     echo shar: \"xlife-2.0/patterns/billiards.life\" unpacked with wrong size!
  1668. fi
  1669. # end of overwriting check
  1670. fi
  1671. if test -f xlife-2.0/patterns/blockpusher4.life -a "${1}" != "-c" ; then 
  1672.   echo shar: Will not over-write existing file \"xlife-2.0/patterns/blockpusher4.life\"
  1673. else
  1674. echo shar: Extracting \"xlife-2.0/patterns/blockpusher4.life\" \(6867 characters\)
  1675. sed "s/^X//" >xlife-2.0/patterns/blockpusher4.life <<'END_OF_xlife-2.0/patterns/blockpusher4.life'
  1676. X#R
  1677. X-31 -78
  1678. X-31 -77
  1679. X-30 -77
  1680. X-30 -76
  1681. X-29 -76
  1682. X-15 -76
  1683. X-14 -76
  1684. X-40 -75
  1685. X-39 -75
  1686. X-30 -75
  1687. X-29 -75
  1688. X-28 -75
  1689. X-16 -75
  1690. X-15 -75
  1691. X-14 -75
  1692. X-40 -74
  1693. X-39 -74
  1694. X-30 -74
  1695. X-29 -74
  1696. X-19 -74
  1697. X-17 -74
  1698. X-16 -74
  1699. X 10 -74
  1700. X 11 -74
  1701. X-59 -73
  1702. X-58 -73
  1703. X-31 -73
  1704. X-30 -73
  1705. X-19 -73
  1706. X-16 -73
  1707. X -6 -73
  1708. X -5 -73
  1709. X 10 -73
  1710. X 11 -73
  1711. X-59 -72
  1712. X-58 -72
  1713. X-31 -72
  1714. X-19 -72
  1715. X-17 -72
  1716. X-16 -72
  1717. X -6 -72
  1718. X -5 -72
  1719. X-27 -71
  1720. X-16 -71
  1721. X-15 -71
  1722. X-14 -71
  1723. X-27 -70
  1724. X-25 -70
  1725. X-15 -70
  1726. X-14 -70
  1727. X-27 -69
  1728. X-26 -69
  1729. X -9 -68
  1730. X -8 -68
  1731. X -9 -67
  1732. X -8 -67
  1733. X -7 -67
  1734. X-23 -66
  1735. X -7 -66
  1736. X -6 -66
  1737. X -4 -66
  1738. X-25 -65
  1739. X-23 -65
  1740. X -7 -65
  1741. X -4 -65
  1742. X  2 -65
  1743. X  3 -65
  1744. X  7 -65
  1745. X  8 -65
  1746. X 12 -65
  1747. X 13 -65
  1748. X-61 -64
  1749. X-60 -64
  1750. X-56 -64
  1751. X-55 -64
  1752. X-34 -64
  1753. X-26 -64
  1754. X-24 -64
  1755. X-13 -64
  1756. X -7 -64
  1757. X -6 -64
  1758. X -4 -64
  1759. X  2 -64
  1760. X  3 -64
  1761. X 10 -64
  1762. X-61 -63
  1763. X-59 -63
  1764. X-57 -63
  1765. X-55 -63
  1766. X-35 -63
  1767. X-27 -63
  1768. X-24 -63
  1769. X-12 -63
  1770. X -9 -63
  1771. X -8 -63
  1772. X -7 -63
  1773. X  7 -63
  1774. X 13 -63
  1775. X-60 -62
  1776. X-59 -62
  1777. X-58 -62
  1778. X-57 -62
  1779. X-56 -62
  1780. X-35 -62
  1781. X-34 -62
  1782. X-33 -62
  1783. X-26 -62
  1784. X-24 -62
  1785. X-14 -62
  1786. X-13 -62
  1787. X-12 -62
  1788. X -9 -62
  1789. X -8 -62
  1790. X  8 -62
  1791. X  9 -62
  1792. X 11 -62
  1793. X 12 -62
  1794. X-59 -61
  1795. X-58 -61
  1796. X-57 -61
  1797. X-30 -61
  1798. X-29 -61
  1799. X-25 -61
  1800. X-23 -61
  1801. X  9 -61
  1802. X 11 -61
  1803. X-58 -60
  1804. X-31 -60
  1805. X-29 -60
  1806. X-23 -60
  1807. X -1 -60
  1808. X  0 -60
  1809. X 10 -60
  1810. X-70 -59
  1811. X-69 -59
  1812. X-48 -59
  1813. X-47 -59
  1814. X-31 -59
  1815. X -1 -59
  1816. X  0 -59
  1817. X 10 -59
  1818. X-70 -58
  1819. X-69 -58
  1820. X-48 -58
  1821. X-47 -58
  1822. X-32 -58
  1823. X-31 -58
  1824. X-42 -56
  1825. X -5 -56
  1826. X-42 -55
  1827. X-40 -55
  1828. X -7 -55
  1829. X -5 -55
  1830. X-42 -54
  1831. X-41 -54
  1832. X -6 -54
  1833. X -5 -54
  1834. X-70 -53
  1835. X-69 -53
  1836. X-68 -53
  1837. X-57 -53
  1838. X-55 -53
  1839. X-10 -53
  1840. X -9 -53
  1841. X  6 -53
  1842. X  8 -53
  1843. X-70 -52
  1844. X-69 -52
  1845. X-68 -52
  1846. X-56 -52
  1847. X-55 -52
  1848. X-39 -52
  1849. X-38 -52
  1850. X-11 -52
  1851. X -9 -52
  1852. X  6 -52
  1853. X  7 -52
  1854. X-71 -51
  1855. X-67 -51
  1856. X-56 -51
  1857. X-39 -51
  1858. X-37 -51
  1859. X-11 -51
  1860. X  7 -51
  1861. X 11 -51
  1862. X 12 -51
  1863. X 13 -51
  1864. X-37 -50
  1865. X-12 -50
  1866. X-11 -50
  1867. X 10 -50
  1868. X 14 -50
  1869. X-72 -49
  1870. X-71 -49
  1871. X-67 -49
  1872. X-66 -49
  1873. X-37 -49
  1874. X-36 -49
  1875. X  9 -49
  1876. X 15 -49
  1877. X-61 -48
  1878. X-60 -48
  1879. X-59 -48
  1880. X  9 -48
  1881. X 10 -48
  1882. X 12 -48
  1883. X 14 -48
  1884. X 15 -48
  1885. X-62 -47
  1886. X-58 -47
  1887. X-32 -47
  1888. X-31 -47
  1889. X-63 -46
  1890. X-57 -46
  1891. X-49 -46
  1892. X-31 -46
  1893. X  0 -46
  1894. X-62 -45
  1895. X-58 -45
  1896. X-48 -45
  1897. X-47 -45
  1898. X-31 -45
  1899. X-29 -45
  1900. X-21 -45
  1901. X -2 -45
  1902. X -1 -45
  1903. X-61 -44
  1904. X-60 -44
  1905. X-59 -44
  1906. X-49 -44
  1907. X-48 -44
  1908. X-30 -44
  1909. X-29 -44
  1910. X-21 -44
  1911. X-20 -44
  1912. X-19 -44
  1913. X-18 -44
  1914. X -1 -44
  1915. X  0 -44
  1916. X-61 -43
  1917. X-60 -43
  1918. X-59 -43
  1919. X-20 -43
  1920. X-19 -43
  1921. X-18 -43
  1922. X-17 -43
  1923. X-11 -43
  1924. X-10 -43
  1925. X-20 -42
  1926. X-17 -42
  1927. X-11 -42
  1928. X-10 -42
  1929. X-70 -41
  1930. X-68 -41
  1931. X-20 -41
  1932. X-19 -41
  1933. X-18 -41
  1934. X-17 -41
  1935. X-69 -40
  1936. X-68 -40
  1937. X-21 -40
  1938. X-20 -40
  1939. X-19 -40
  1940. X-18 -40
  1941. X 11 -40
  1942. X 12 -40
  1943. X-69 -39
  1944. X-60 -39
  1945. X-59 -39
  1946. X-21 -39
  1947. X 11 -39
  1948. X 12 -39
  1949. X 40 -39
  1950. X 41 -39
  1951. X-60 -38
  1952. X-59 -38
  1953. X 40 -38
  1954. X 41 -38
  1955. X 11 -37
  1956. X 12 -37
  1957. X 32 -37
  1958. X 33 -37
  1959. X-74 -36
  1960. X-73 -36
  1961. X-69 -36
  1962. X-68 -36
  1963. X 12 -36
  1964. X 32 -36
  1965. X-74 -35
  1966. X-73 -35
  1967. X-69 -35
  1968. X-68 -35
  1969. X 12 -35
  1970. X 14 -35
  1971. X 22 -35
  1972. X 23 -35
  1973. X 30 -35
  1974. X 32 -35
  1975. X-62 -34
  1976. X-51 -34
  1977. X 13 -34
  1978. X 14 -34
  1979. X 21 -34
  1980. X 23 -34
  1981. X 30 -34
  1982. X 31 -34
  1983. X-72 -33
  1984. X-71 -33
  1985. X-70 -33
  1986. X-61 -33
  1987. X-60 -33
  1988. X-53 -33
  1989. X-52 -33
  1990. X-51 -33
  1991. X 20 -33
  1992. X 21 -33
  1993. X 22 -33
  1994. X-72 -32
  1995. X-71 -32
  1996. X-70 -32
  1997. X-62 -32
  1998. X-61 -32
  1999. X-54 -32
  2000. X -8 -32
  2001. X -7 -32
  2002. X 19 -32
  2003. X 20 -32
  2004. X 21 -32
  2005. X 39 -32
  2006. X 40 -32
  2007. X 41 -32
  2008. X-71 -31
  2009. X-54 -31
  2010. X-53 -31
  2011. X -7 -31
  2012. X 20 -31
  2013. X 21 -31
  2014. X 22 -31
  2015. X -7 -30
  2016. X -5 -30
  2017. X  4 -30
  2018. X  5 -30
  2019. X 21 -30
  2020. X 23 -30
  2021. X 39 -30
  2022. X 41 -30
  2023. X -6 -29
  2024. X -5 -29
  2025. X  2 -29
  2026. X  5 -29
  2027. X 22 -29
  2028. X 23 -29
  2029. X 38 -29
  2030. X 39 -29
  2031. X 40 -29
  2032. X 41 -29
  2033. X 42 -29
  2034. X  1 -28
  2035. X 37 -28
  2036. X 38 -28
  2037. X 42 -28
  2038. X 43 -28
  2039. X  1 -27
  2040. X 13 -27
  2041. X 14 -27
  2042. X 37 -27
  2043. X 38 -27
  2044. X 42 -27
  2045. X 43 -27
  2046. X-55 -26
  2047. X-53 -26
  2048. X-44 -26
  2049. X-43 -26
  2050. X  1 -26
  2051. X 13 -26
  2052. X 14 -26
  2053. X-71 -25
  2054. X-70 -25
  2055. X-54 -25
  2056. X-53 -25
  2057. X-45 -25
  2058. X-43 -25
  2059. X  2 -25
  2060. X  5 -25
  2061. X-71 -24
  2062. X-70 -24
  2063. X-54 -24
  2064. X-43 -24
  2065. X  4 -24
  2066. X  5 -24
  2067. X-61 -23
  2068. X-60 -23
  2069. X 10 -23
  2070. X-61 -22
  2071. X-60 -22
  2072. X-40 -22
  2073. X  8 -22
  2074. X  9 -22
  2075. X 10 -22
  2076. X-66 -21
  2077. X-65 -21
  2078. X-40 -21
  2079. X-39 -21
  2080. X-38 -21
  2081. X  7 -21
  2082. X-66 -20
  2083. X-65 -20
  2084. X-37 -20
  2085. X  7 -20
  2086. X  8 -20
  2087. X 42 -20
  2088. X 43 -20
  2089. X-38 -19
  2090. X-37 -19
  2091. X-25 -19
  2092. X-24 -19
  2093. X 42 -19
  2094. X-52 -18
  2095. X-51 -18
  2096. X-50 -18
  2097. X-25 -18
  2098. X-24 -18
  2099. X 43 -18
  2100. X 44 -18
  2101. X 45 -18
  2102. X-50 -17
  2103. X 45 -17
  2104. X-51 -16
  2105. X 57 -16
  2106. X 58 -16
  2107. X 57 -15
  2108. X 46 -14
  2109. X 48 -14
  2110. X 55 -14
  2111. X 57 -14
  2112. X 69 -14
  2113. X 70 -14
  2114. X 45 -13
  2115. X 48 -13
  2116. X 55 -13
  2117. X 56 -13
  2118. X 69 -13
  2119. X 70 -13
  2120. X 36 -12
  2121. X 37 -12
  2122. X 44 -12
  2123. X 45 -12
  2124. X-59 -11
  2125. X-58 -11
  2126. X-38 -11
  2127. X-37 -11
  2128. X-33 -11
  2129. X-32 -11
  2130. X 36 -11
  2131. X 37 -11
  2132. X 42 -11
  2133. X 43 -11
  2134. X 47 -11
  2135. X-60 -10
  2136. X-58 -10
  2137. X 44 -10
  2138. X 45 -10
  2139. X-69  -9
  2140. X-68  -9
  2141. X-64  -9
  2142. X-63  -9
  2143. X-58  -9
  2144. X-38  -9
  2145. X-32  -9
  2146. X 45  -9
  2147. X 48  -9
  2148. X-67  -8
  2149. X-66  -8
  2150. X-65  -8
  2151. X 46  -8
  2152. X 48  -8
  2153. X-68  -7
  2154. X-64  -7
  2155. X-37  -7
  2156. X-36  -7
  2157. X-34  -7
  2158. X-33  -7
  2159. X-67  -6
  2160. X-65  -6
  2161. X-35  -6
  2162. X-66  -5
  2163. X-65  -3
  2164. X-64  -3
  2165. X-63  -3
  2166. X 46  -3
  2167. X-65  -2
  2168. X-64  -2
  2169. X-63  -2
  2170. X 45  -2
  2171. X 66  -2
  2172. X 67  -2
  2173. X 71  -2
  2174. X 72  -2
  2175. X-36  -1
  2176. X-35  -1
  2177. X 45  -1
  2178. X 46  -1
  2179. X 47  -1
  2180. X 68  -1
  2181. X 69  -1
  2182. X 70  -1
  2183. X-36   0
  2184. X-35   0
  2185. X -8   0
  2186. X 67   0
  2187. X 71   0
  2188. X-10   1
  2189. X -8   1
  2190. X 68   1
  2191. X 70   1
  2192. X-67   2
  2193. X-66   2
  2194. X-62   2
  2195. X-61   2
  2196. X-11   2
  2197. X -9   2
  2198. X 69   2
  2199. X-66   3
  2200. X-65   3
  2201. X-64   3
  2202. X-63   3
  2203. X-62   3
  2204. X-12   3
  2205. X -9   3
  2206. X-65   4
  2207. X-64   4
  2208. X-63   4
  2209. X-11   4
  2210. X -9   4
  2211. X-64   5
  2212. X-16   5
  2213. X-15   5
  2214. X-10   5
  2215. X -8   5
  2216. X  1   5
  2217. X  2   5
  2218. X 71   5
  2219. X 72   5
  2220. X-54   6
  2221. X-53   6
  2222. X-17   6
  2223. X-15   6
  2224. X -8   6
  2225. X  1   6
  2226. X  3   6
  2227. X 71   6
  2228. X-54   7
  2229. X-53   7
  2230. X-17   7
  2231. X  3   7
  2232. X 72   7
  2233. X 73   7
  2234. X 74   7
  2235. X-18   8
  2236. X-17   8
  2237. X  3   8
  2238. X  4   8
  2239. X 74   8
  2240. X-65  13
  2241. X-64  13
  2242. X-65  14
  2243. X-64  14
  2244. X-27  14
  2245. X-26  14
  2246. X 56  14
  2247. X 57  14
  2248. X-27  15
  2249. X-26  15
  2250. X 55  15
  2251. X 57  15
  2252. X-17  16
  2253. X-16  16
  2254. X 57  16
  2255. X-57  17
  2256. X-56  17
  2257. X-52  17
  2258. X-51  17
  2259. X-31  17
  2260. X-30  17
  2261. X-17  17
  2262. X-16  17
  2263. X-31  18
  2264. X-56  19
  2265. X-52  19
  2266. X-33  19
  2267. X-31  19
  2268. X-55  20
  2269. X-54  20
  2270. X-53  20
  2271. X-33  20
  2272. X-32  20
  2273. X-55  21
  2274. X-54  21
  2275. X-53  21
  2276. X-29  23
  2277. X-28  23
  2278. X-24  23
  2279. X-23  23
  2280. X-52  24
  2281. X-28  24
  2282. X-27  24
  2283. X-26  24
  2284. X-25  24
  2285. X-24  24
  2286. X-18  24
  2287. X-17  24
  2288. X-16  24
  2289. X -8  24
  2290. X -7  24
  2291. X-53  25
  2292. X-52  25
  2293. X-51  25
  2294. X-27  25
  2295. X-26  25
  2296. X-25  25
  2297. X-19  25
  2298. X-15  25
  2299. X -9  25
  2300. X -7  25
  2301. X-54  26
  2302. X-50  26
  2303. X-42  26
  2304. X-41  26
  2305. X-26  26
  2306. X -7  26
  2307. X-52  27
  2308. X-42  27
  2309. X-41  27
  2310. X-20  27
  2311. X-14  27
  2312. X 16  27
  2313. X-55  28
  2314. X-49  28
  2315. X-20  28
  2316. X-19  28
  2317. X-15  28
  2318. X-14  28
  2319. X 15  28
  2320. X-55  29
  2321. X-49  29
  2322. X 15  29
  2323. X 16  29
  2324. X 17  29
  2325. X-54  30
  2326. X-50  30
  2327. X-53  31
  2328. X-52  31
  2329. X-51  31
  2330. X-29  35
  2331. X-28  35
  2332. X-27  35
  2333. X-29  37
  2334. X-27  37
  2335. X-30  38
  2336. X-29  38
  2337. X-28  38
  2338. X-27  38
  2339. X-26  38
  2340. X-31  39
  2341. X-30  39
  2342. X-26  39
  2343. X-25  39
  2344. X-52  40
  2345. X-51  40
  2346. X-31  40
  2347. X-30  40
  2348. X-26  40
  2349. X-25  40
  2350. X-18  40
  2351. X-17  40
  2352. X-13  40
  2353. X-12  40
  2354. X  0  40
  2355. X 47  40
  2356. X 48  40
  2357. X-52  41
  2358. X-51  41
  2359. X -1  41
  2360. X  0  41
  2361. X 22  41
  2362. X 23  41
  2363. X 47  41
  2364. X 48  41
  2365. X-18  42
  2366. X-12  42
  2367. X -1  42
  2368. X  1  42
  2369. X 22  42
  2370. X 10  43
  2371. X 20  43
  2372. X 22  43
  2373. X-17  44
  2374. X-16  44
  2375. X-14  44
  2376. X-13  44
  2377. X  9  44
  2378. X 11  44
  2379. X 20  44
  2380. X 21  44
  2381. X 26  44
  2382. X 27  44
  2383. X-15  45
  2384. X -2  45
  2385. X  7  45
  2386. X  8  45
  2387. X 12  45
  2388. X 25  45
  2389. X 27  45
  2390. X -2  46
  2391. X -1  46
  2392. X  0  46
  2393. X  1  46
  2394. X  7  46
  2395. X  8  46
  2396. X 12  46
  2397. X 27  46
  2398. X -1  47
  2399. X  0  47
  2400. X  1  47
  2401. X  2  47
  2402. X  7  47
  2403. X  8  47
  2404. X 12  47
  2405. X-29  48
  2406. X-28  48
  2407. X-18  48
  2408. X-17  48
  2409. X-12  48
  2410. X-11  48
  2411. X -1  48
  2412. X  2  48
  2413. X  9  48
  2414. X 11  48
  2415. X-29  49
  2416. X-28  49
  2417. X-17  49
  2418. X-12  49
  2419. X-11  49
  2420. X -1  49
  2421. X  0  49
  2422. X  1  49
  2423. X  2  49
  2424. X 10  49
  2425. X-20  50
  2426. X-19  50
  2427. X-18  50
  2428. X -2  50
  2429. X -1  50
  2430. X  0  50
  2431. X  1  50
  2432. X-20  51
  2433. X -2  51
  2434. X 13  54
  2435. X 14  54
  2436. X 15  54
  2437. X 11  56
  2438. X 17  56
  2439. X 11  57
  2440. X 17  57
  2441. X 11  58
  2442. X 17  58
  2443. X 27  60
  2444. X 28  60
  2445. X 27  61
  2446. X 19  62
  2447. X 20  62
  2448. X 25  62
  2449. X 27  62
  2450. X 18  63
  2451. X 19  63
  2452. X 25  63
  2453. X 26  63
  2454. X 20  64
  2455. X  3  67
  2456. X  4  67
  2457. X  5  67
  2458. X  5  68
  2459. X  4  69
  2460. X 16  69
  2461. X 17  69
  2462. X 27  69
  2463. X -8  70
  2464. X 16  70
  2465. X 17  70
  2466. X 26  70
  2467. X 27  70
  2468. X -9  71
  2469. X -8  71
  2470. X 26  71
  2471. X 28  71
  2472. X 37  71
  2473. X 39  71
  2474. X-10  72
  2475. X -9  72
  2476. X -4  72
  2477. X -3  72
  2478. X  3  72
  2479. X 35  72
  2480. X 39  72
  2481. X-20  73
  2482. X-19  73
  2483. X-11  73
  2484. X-10  73
  2485. X -9  73
  2486. X -4  73
  2487. X -3  73
  2488. X  1  73
  2489. X  3  73
  2490. X 23  73
  2491. X 24  73
  2492. X 35  73
  2493. X-20  74
  2494. X-19  74
  2495. X-10  74
  2496. X -9  74
  2497. X -4  74
  2498. X -3  74
  2499. X  0  74
  2500. X  2  74
  2501. X 23  74
  2502. X 26  74
  2503. X 34  74
  2504. X 39  74
  2505. X 48  74
  2506. X 49  74
  2507. X -9  75
  2508. X -8  75
  2509. X -1  75
  2510. X  2  75
  2511. X 14  75
  2512. X 15  75
  2513. X 27  75
  2514. X 35  75
  2515. X 48  75
  2516. X 49  75
  2517. X -8  76
  2518. X  0  76
  2519. X  2  76
  2520. X 14  76
  2521. X 15  76
  2522. X 27  76
  2523. X 35  76
  2524. X 39  76
  2525. X  1  77
  2526. X  3  77
  2527. X 27  77
  2528. X 37  77
  2529. X 39  77
  2530. X  3  78
  2531. X 23  78
  2532. X 26  78
  2533. X 23  79
  2534. X 24  79
  2535. END_OF_xlife-2.0/patterns/blockpusher4.life
  2536. if test 6867 -ne `wc -c <xlife-2.0/patterns/blockpusher4.life`; then
  2537.     echo shar: \"xlife-2.0/patterns/blockpusher4.life\" unpacked with wrong size!
  2538. fi
  2539. # end of overwriting check
  2540. fi
  2541. if test -f xlife-2.0/patterns/counter.life -a "${1}" != "-c" ; then 
  2542.   echo shar: Will not over-write existing file \"xlife-2.0/patterns/counter.life\"
  2543. else
  2544. echo shar: Extracting \"xlife-2.0/patterns/counter.life\" \(6651 characters\)
  2545. sed "s/^X//" >xlife-2.0/patterns/counter.life <<'END_OF_xlife-2.0/patterns/counter.life'
  2546. X#R
  2547. X 23 -77
  2548. X 24 -77
  2549. X 25 -76
  2550. X-19 -75
  2551. X-18 -75
  2552. X-17 -75
  2553. X -8 -75
  2554. X -7 -75
  2555. X 10 -75
  2556. X 11 -75
  2557. X 22 -75
  2558. X 23 -75
  2559. X 26 -75
  2560. X-21 -74
  2561. X-17 -74
  2562. X -8 -74
  2563. X -7 -74
  2564. X 10 -74
  2565. X 11 -74
  2566. X 23 -74
  2567. X 26 -74
  2568. X 45 -74
  2569. X-22 -73
  2570. X-17 -73
  2571. X 24 -73
  2572. X 26 -73
  2573. X 44 -73
  2574. X 45 -73
  2575. X-55 -72
  2576. X-54 -72
  2577. X-44 -72
  2578. X-43 -72
  2579. X-22 -72
  2580. X-18 -72
  2581. X 24 -72
  2582. X 25 -72
  2583. X 43 -72
  2584. X 44 -72
  2585. X 45 -72
  2586. X 47 -72
  2587. X 57 -72
  2588. X 58 -72
  2589. X-55 -71
  2590. X-54 -71
  2591. X-45 -71
  2592. X-44 -71
  2593. X 42 -71
  2594. X 43 -71
  2595. X 57 -71
  2596. X 58 -71
  2597. X-44 -70
  2598. X-43 -70
  2599. X-42 -70
  2600. X-41 -70
  2601. X-40 -70
  2602. X-22 -70
  2603. X-18 -70
  2604. X 13 -70
  2605. X 14 -70
  2606. X 24 -70
  2607. X 25 -70
  2608. X 43 -70
  2609. X 44 -70
  2610. X-43 -69
  2611. X-42 -69
  2612. X-41 -69
  2613. X-40 -69
  2614. X-22 -69
  2615. X-17 -69
  2616. X 11 -69
  2617. X 15 -69
  2618. X 16 -69
  2619. X 24 -69
  2620. X 26 -69
  2621. X 44 -69
  2622. X-21 -68
  2623. X-17 -68
  2624. X -8 -68
  2625. X -7 -68
  2626. X 11 -68
  2627. X 16 -68
  2628. X 23 -68
  2629. X 26 -68
  2630. X-43 -67
  2631. X-42 -67
  2632. X-41 -67
  2633. X-40 -67
  2634. X-27 -67
  2635. X-19 -67
  2636. X-18 -67
  2637. X-17 -67
  2638. X -8 -67
  2639. X -7 -67
  2640. X 11 -67
  2641. X 15 -67
  2642. X 16 -67
  2643. X 22 -67
  2644. X 23 -67
  2645. X 26 -67
  2646. X 44 -67
  2647. X 55 -67
  2648. X-44 -66
  2649. X-43 -66
  2650. X-42 -66
  2651. X-41 -66
  2652. X-40 -66
  2653. X-29 -66
  2654. X-27 -66
  2655. X 13 -66
  2656. X 14 -66
  2657. X 25 -66
  2658. X 43 -66
  2659. X 44 -66
  2660. X 53 -66
  2661. X 54 -66
  2662. X 56 -66
  2663. X-45 -65
  2664. X-44 -65
  2665. X-28 -65
  2666. X-27 -65
  2667. X 23 -65
  2668. X 24 -65
  2669. X 42 -65
  2670. X 43 -65
  2671. X 52 -65
  2672. X 53 -65
  2673. X 55 -65
  2674. X 56 -65
  2675. X 57 -65
  2676. X-44 -64
  2677. X-43 -64
  2678. X 43 -64
  2679. X 44 -64
  2680. X 45 -64
  2681. X 47 -64
  2682. X 53 -64
  2683. X 56 -64
  2684. X 44 -63
  2685. X 45 -63
  2686. X 54 -63
  2687. X 55 -63
  2688. X 25 -62
  2689. X 27 -62
  2690. X 45 -62
  2691. X 25 -61
  2692. X 26 -61
  2693. X 26 -60
  2694. X-16 -56
  2695. X-15 -55
  2696. X-17 -54
  2697. X-16 -54
  2698. X-15 -54
  2699. X 15 -51
  2700. X 13 -50
  2701. X 14 -50
  2702. X 14 -49
  2703. X 15 -49
  2704. X -4 -44
  2705. X -6 -43
  2706. X -4 -43
  2707. X -5 -42
  2708. X -4 -42
  2709. X-28 -41
  2710. X-27 -41
  2711. X-24 -41
  2712. X-22 -41
  2713. X 19 -41
  2714. X 20 -41
  2715. X 21 -41
  2716. X 22 -41
  2717. X-29 -40
  2718. X-28 -40
  2719. X-27 -40
  2720. X-25 -40
  2721. X-21 -40
  2722. X -8 -40
  2723. X -7 -40
  2724. X 10 -40
  2725. X 11 -40
  2726. X 18 -40
  2727. X 19 -40
  2728. X 22 -40
  2729. X-30 -39
  2730. X-29 -39
  2731. X-22 -39
  2732. X -8 -39
  2733. X -7 -39
  2734. X  2 -39
  2735. X  4 -39
  2736. X 10 -39
  2737. X 11 -39
  2738. X 17 -39
  2739. X 18 -39
  2740. X 21 -39
  2741. X-40 -38
  2742. X-39 -38
  2743. X-35 -38
  2744. X-29 -38
  2745. X-27 -38
  2746. X-26 -38
  2747. X-25 -38
  2748. X-24 -38
  2749. X-23 -38
  2750. X  2 -38
  2751. X  3 -38
  2752. X 18 -38
  2753. X 21 -38
  2754. X 47 -38
  2755. X 48 -38
  2756. X-55 -37
  2757. X-54 -37
  2758. X-40 -37
  2759. X-39 -37
  2760. X-38 -37
  2761. X-36 -37
  2762. X-34 -37
  2763. X-33 -37
  2764. X-28 -37
  2765. X-27 -37
  2766. X-26 -37
  2767. X  3 -37
  2768. X 19 -37
  2769. X 20 -37
  2770. X 46 -37
  2771. X 47 -37
  2772. X 49 -37
  2773. X 50 -37
  2774. X 57 -37
  2775. X 58 -37
  2776. X-55 -36
  2777. X-54 -36
  2778. X-40 -36
  2779. X-39 -36
  2780. X-38 -36
  2781. X-33 -36
  2782. X 47 -36
  2783. X 50 -36
  2784. X 57 -36
  2785. X 58 -36
  2786. X-37 -35
  2787. X-33 -35
  2788. X-28 -35
  2789. X-27 -35
  2790. X-26 -35
  2791. X 19 -35
  2792. X 20 -35
  2793. X 47 -35
  2794. X 50 -35
  2795. X-36 -34
  2796. X-35 -34
  2797. X-34 -34
  2798. X-29 -34
  2799. X-27 -34
  2800. X-26 -34
  2801. X-25 -34
  2802. X-24 -34
  2803. X-23 -34
  2804. X 18 -34
  2805. X 21 -34
  2806. X 48 -34
  2807. X 49 -34
  2808. X-54 -33
  2809. X-53 -33
  2810. X-49 -33
  2811. X-48 -33
  2812. X-30 -33
  2813. X-29 -33
  2814. X-22 -33
  2815. X -8 -33
  2816. X -7 -33
  2817. X 17 -33
  2818. X 18 -33
  2819. X 21 -33
  2820. X-55 -32
  2821. X-54 -32
  2822. X-53 -32
  2823. X-49 -32
  2824. X-48 -32
  2825. X-47 -32
  2826. X-36 -32
  2827. X-35 -32
  2828. X-34 -32
  2829. X-29 -32
  2830. X-28 -32
  2831. X-27 -32
  2832. X-25 -32
  2833. X-21 -32
  2834. X -8 -32
  2835. X -7 -32
  2836. X 18 -32
  2837. X 19 -32
  2838. X 22 -32
  2839. X 48 -32
  2840. X 49 -32
  2841. X-57 -31
  2842. X-56 -31
  2843. X-55 -31
  2844. X-47 -31
  2845. X-46 -31
  2846. X-45 -31
  2847. X-37 -31
  2848. X-33 -31
  2849. X-28 -31
  2850. X-27 -31
  2851. X-24 -31
  2852. X-22 -31
  2853. X 19 -31
  2854. X 20 -31
  2855. X 21 -31
  2856. X 22 -31
  2857. X 30 -31
  2858. X 47 -31
  2859. X 50 -31
  2860. X-57 -30
  2861. X-56 -30
  2862. X-55 -30
  2863. X-47 -30
  2864. X-46 -30
  2865. X-45 -30
  2866. X-40 -30
  2867. X-39 -30
  2868. X-38 -30
  2869. X-33 -30
  2870. X -4 -30
  2871. X -3 -30
  2872. X 28 -30
  2873. X 29 -30
  2874. X 47 -30
  2875. X 50 -30
  2876. X-57 -29
  2877. X-56 -29
  2878. X-55 -29
  2879. X-47 -29
  2880. X-46 -29
  2881. X-45 -29
  2882. X-40 -29
  2883. X-39 -29
  2884. X-38 -29
  2885. X-36 -29
  2886. X-34 -29
  2887. X-33 -29
  2888. X -4 -29
  2889. X 29 -29
  2890. X 30 -29
  2891. X 46 -29
  2892. X 47 -29
  2893. X 49 -29
  2894. X 50 -29
  2895. X-55 -28
  2896. X-54 -28
  2897. X-53 -28
  2898. X-49 -28
  2899. X-48 -28
  2900. X-47 -28
  2901. X-40 -28
  2902. X-39 -28
  2903. X-35 -28
  2904. X -3 -28
  2905. X 47 -28
  2906. X 48 -28
  2907. X-54 -27
  2908. X-53 -27
  2909. X-49 -27
  2910. X-48 -27
  2911. X -4 -27
  2912. X -3 -27
  2913. X-19 -24
  2914. X-21 -23
  2915. X-19 -23
  2916. X-20 -22
  2917. X-19 -22
  2918. X -8 -13
  2919. X -7 -12
  2920. X -9 -11
  2921. X -8 -11
  2922. X -7 -11
  2923. X  7  -8
  2924. X-20  -7
  2925. X  5  -7
  2926. X  6  -7
  2927. X-21  -6
  2928. X-20  -6
  2929. X  6  -6
  2930. X  7  -6
  2931. X-22  -5
  2932. X-21  -5
  2933. X-20  -5
  2934. X-18  -5
  2935. X -8  -5
  2936. X -7  -5
  2937. X 10  -5
  2938. X 11  -5
  2939. X 24  -5
  2940. X 25  -5
  2941. X 26  -5
  2942. X 27  -5
  2943. X 33  -5
  2944. X 34  -5
  2945. X 35  -5
  2946. X-54  -4
  2947. X-51  -4
  2948. X-23  -4
  2949. X-22  -4
  2950. X -8  -4
  2951. X -7  -4
  2952. X 10  -4
  2953. X 11  -4
  2954. X 24  -4
  2955. X 26  -4
  2956. X 27  -4
  2957. X 34  -4
  2958. X 35  -4
  2959. X-51  -3
  2960. X-43  -3
  2961. X-42  -3
  2962. X-41  -3
  2963. X-22  -3
  2964. X-21  -3
  2965. X 24  -3
  2966. X 33  -3
  2967. X-55  -2
  2968. X-45  -2
  2969. X-40  -2
  2970. X-21  -2
  2971. X 25  -2
  2972. X 26  -2
  2973. X 40  -2
  2974. X 43  -2
  2975. X 44  -2
  2976. X 57  -2
  2977. X 58  -2
  2978. X-55  -1
  2979. X-54  -1
  2980. X-45  -1
  2981. X-39  -1
  2982. X  4  -1
  2983. X 41  -1
  2984. X 42  -1
  2985. X 44  -1
  2986. X 57  -1
  2987. X 58  -1
  2988. X-49   0
  2989. X-40   0
  2990. X-21   0
  2991. X  2   0
  2992. X  4   0
  2993. X 25   0
  2994. X 26   0
  2995. X 43   0
  2996. X-52   1
  2997. X-51   1
  2998. X-42   1
  2999. X-41   1
  3000. X-22   1
  3001. X-21   1
  3002. X  3   1
  3003. X  4   1
  3004. X 24   1
  3005. X 32   1
  3006. X 41   1
  3007. X 42   1
  3008. X 43   1
  3009. X-23   2
  3010. X-22   2
  3011. X -8   2
  3012. X -7   2
  3013. X 24   2
  3014. X 26   2
  3015. X 27   2
  3016. X 32   2
  3017. X 33   2
  3018. X 34   2
  3019. X 35   2
  3020. X-52   3
  3021. X-51   3
  3022. X-42   3
  3023. X-41   3
  3024. X-22   3
  3025. X-21   3
  3026. X-20   3
  3027. X-18   3
  3028. X -8   3
  3029. X -7   3
  3030. X 24   3
  3031. X 25   3
  3032. X 26   3
  3033. X 27   3
  3034. X 32   3
  3035. X 33   3
  3036. X 41   3
  3037. X 42   3
  3038. X 43   3
  3039. X-53   4
  3040. X-49   4
  3041. X-40   4
  3042. X-21   4
  3043. X-20   4
  3044. X 43   4
  3045. X-53   5
  3046. X-50   5
  3047. X-45   5
  3048. X-39   5
  3049. X-20   5
  3050. X -4   5
  3051. X -3   5
  3052. X 34   5
  3053. X 41   5
  3054. X 42   5
  3055. X 44   5
  3056. X-53   6
  3057. X-50   6
  3058. X-45   6
  3059. X-40   6
  3060. X -4   6
  3061. X 40   6
  3062. X 43   6
  3063. X 44   6
  3064. X-52   7
  3065. X-51   7
  3066. X-43   7
  3067. X-42   7
  3068. X-41   7
  3069. X-23   7
  3070. X -3   7
  3071. X-22   8
  3072. X -4   8
  3073. X -3   8
  3074. X-24   9
  3075. X-23   9
  3076. X-22   9
  3077. X 22  12
  3078. X 20  13
  3079. X 21  13
  3080. X 21  14
  3081. X 22  14
  3082. X-11  19
  3083. X-13  20
  3084. X-11  20
  3085. X-12  21
  3086. X-11  21
  3087. X-18  29
  3088. X-17  29
  3089. X-19  30
  3090. X-18  30
  3091. X-16  30
  3092. X-15  30
  3093. X -8  30
  3094. X -7  30
  3095. X  0  30
  3096. X 10  30
  3097. X 11  30
  3098. X 26  30
  3099. X 27  30
  3100. X 28  30
  3101. X-18  31
  3102. X-15  31
  3103. X -8  31
  3104. X -7  31
  3105. X  1  31
  3106. X 10  31
  3107. X 11  31
  3108. X 24  31
  3109. X 28  31
  3110. X-45  32
  3111. X-44  32
  3112. X-18  32
  3113. X-15  32
  3114. X -1  32
  3115. X  0  32
  3116. X  1  32
  3117. X 23  32
  3118. X 28  32
  3119. X-55  33
  3120. X-54  33
  3121. X-46  33
  3122. X-44  33
  3123. X-17  33
  3124. X-16  33
  3125. X 23  33
  3126. X 27  33
  3127. X 41  33
  3128. X 42  33
  3129. X 57  33
  3130. X 58  33
  3131. X-55  34
  3132. X-54  34
  3133. X-47  34
  3134. X-46  34
  3135. X-44  34
  3136. X 40  34
  3137. X 41  34
  3138. X 57  34
  3139. X 58  34
  3140. X-46  35
  3141. X-45  35
  3142. X-17  35
  3143. X-16  35
  3144. X 13  35
  3145. X 14  35
  3146. X 15  35
  3147. X 23  35
  3148. X 27  35
  3149. X 41  35
  3150. X 42  35
  3151. X 43  35
  3152. X 44  35
  3153. X 45  35
  3154. X-45  36
  3155. X-18  36
  3156. X-15  36
  3157. X 11  36
  3158. X 12  36
  3159. X 14  36
  3160. X 16  36
  3161. X 17  36
  3162. X 23  36
  3163. X 28  36
  3164. X 42  36
  3165. X 43  36
  3166. X 44  36
  3167. X 45  36
  3168. X-18  37
  3169. X-15  37
  3170. X -8  37
  3171. X -7  37
  3172. X 11  37
  3173. X 12  37
  3174. X 18  37
  3175. X 24  37
  3176. X 28  37
  3177. X-45  38
  3178. X-19  38
  3179. X-18  38
  3180. X-16  38
  3181. X-15  38
  3182. X -8  38
  3183. X -7  38
  3184. X 11  38
  3185. X 12  38
  3186. X 14  38
  3187. X 16  38
  3188. X 17  38
  3189. X 26  38
  3190. X 27  38
  3191. X 28  38
  3192. X 42  38
  3193. X 43  38
  3194. X 44  38
  3195. X 45  38
  3196. X 54  38
  3197. X 55  38
  3198. X-46  39
  3199. X-45  39
  3200. X-26  39
  3201. X-18  39
  3202. X-17  39
  3203. X 13  39
  3204. X 14  39
  3205. X 15  39
  3206. X 41  39
  3207. X 42  39
  3208. X 43  39
  3209. X 44  39
  3210. X 45  39
  3211. X 51  39
  3212. X 52  39
  3213. X 54  39
  3214. X 56  39
  3215. X-47  40
  3216. X-46  40
  3217. X-44  40
  3218. X-28  40
  3219. X-26  40
  3220. X -4  40
  3221. X -3  40
  3222. X 40  40
  3223. X 41  40
  3224. X 51  40
  3225. X 52  40
  3226. X 56  40
  3227. X 57  40
  3228. X-46  41
  3229. X-44  41
  3230. X-27  41
  3231. X-26  41
  3232. X -4  41
  3233. X 41  41
  3234. X 42  41
  3235. X 51  41
  3236. X 52  41
  3237. X 54  41
  3238. X 56  41
  3239. X-45  42
  3240. X-44  42
  3241. X -3  42
  3242. X 12  42
  3243. X 54  42
  3244. X 55  42
  3245. X -4  43
  3246. X -3  43
  3247. X 10  43
  3248. X 12  43
  3249. X 11  44
  3250. X 12  44
  3251. X 24  44
  3252. X 26  44
  3253. X 24  45
  3254. X 25  45
  3255. X 25  46
  3256. X-15  50
  3257. X-14  51
  3258. X-16  52
  3259. X-15  52
  3260. X-14  52
  3261. X 14  55
  3262. X 12  56
  3263. X 13  56
  3264. X 13  57
  3265. X 14  57
  3266. X -3  62
  3267. X -5  63
  3268. X -3  63
  3269. X -4  64
  3270. X -3  64
  3271. X 17  64
  3272. X 18  64
  3273. X 21  64
  3274. X 23  64
  3275. X 10  65
  3276. X 11  65
  3277. X 16  65
  3278. X 17  65
  3279. X 18  65
  3280. X 20  65
  3281. X 24  65
  3282. X 10  66
  3283. X 11  66
  3284. X 15  66
  3285. X 16  66
  3286. X 23  66
  3287. X 16  67
  3288. X 18  67
  3289. X 19  67
  3290. X 20  67
  3291. X 21  67
  3292. X 22  67
  3293. X 45  67
  3294. X 46  67
  3295. X 50  67
  3296. X 17  68
  3297. X 18  68
  3298. X 19  68
  3299. X 45  68
  3300. X 46  68
  3301. X 47  68
  3302. X 49  68
  3303. X 51  68
  3304. X 52  68
  3305. X 57  68
  3306. X 58  68
  3307. X 45  69
  3308. X 46  69
  3309. X 47  69
  3310. X 52  69
  3311. X 57  69
  3312. X 58  69
  3313. X 17  70
  3314. X 18  70
  3315. X 19  70
  3316. X 48  70
  3317. X 52  70
  3318. X -3  71
  3319. X 16  71
  3320. X 18  71
  3321. X 19  71
  3322. X 20  71
  3323. X 21  71
  3324. X 22  71
  3325. X 49  71
  3326. X 50  71
  3327. X 51  71
  3328. X -4  72
  3329. X -2  72
  3330. X 15  72
  3331. X 16  72
  3332. X 23  72
  3333. X -4  73
  3334. X -3  73
  3335. X  8  73
  3336. X 16  73
  3337. X 17  73
  3338. X 18  73
  3339. X 20  73
  3340. X 24  73
  3341. X 49  73
  3342. X 50  73
  3343. X 51  73
  3344. X  9  74
  3345. X 17  74
  3346. X 18  74
  3347. X 21  74
  3348. X 23  74
  3349. X 48  74
  3350. X 52  74
  3351. X -4  75
  3352. X -3  75
  3353. X  7  75
  3354. X  8  75
  3355. X  9  75
  3356. X 29  75
  3357. X 45  75
  3358. X 46  75
  3359. X 47  75
  3360. X 52  75
  3361. X -4  76
  3362. X 27  76
  3363. X 28  76
  3364. X 45  76
  3365. X 46  76
  3366. X 47  76
  3367. X 49  76
  3368. X 51  76
  3369. X 52  76
  3370. X -3  77
  3371. X 28  77
  3372. X 29  77
  3373. X 45  77
  3374. X 46  77
  3375. X 50  77
  3376. X -4  78
  3377. X -3  78
  3378. END_OF_xlife-2.0/patterns/counter.life
  3379. if test 6651 -ne `wc -c <xlife-2.0/patterns/counter.life`; then
  3380.     echo shar: \"xlife-2.0/patterns/counter.life\" unpacked with wrong size!
  3381. fi
  3382. # end of overwriting check
  3383. fi
  3384. if test -f xlife-2.0/patterns/gliderarmyof256.life -a "${1}" != "-c" ; then 
  3385.   echo shar: Will not over-write existing file \"xlife-2.0/patterns/gliderarmyof256.life\"
  3386. else
  3387. echo shar: Extracting \"xlife-2.0/patterns/gliderarmyof256.life\" \(6173 characters\)
  3388. sed "s/^X//" >xlife-2.0/patterns/gliderarmyof256.life <<'END_OF_xlife-2.0/patterns/gliderarmyof256.life'
  3389. X#P -38 -38
  3390. X.*....*....*....*....*....*....*....*....*....*....*....*....*....*....*....*.
  3391. X**...**...**...**...**...**...**...**...**...**...**...**...**...**...**...**.
  3392. X*.*..*.*..*.*..*.*..*.*..*.*..*.*..*.*..*.*..*.*..*.*..*.*..*.*..*.*..*.*..*.*
  3393. X..............................................................................
  3394. X..............................................................................
  3395. X.*....*....*....*....*....*....*....*....*....*....*....*....*....*....*....*.
  3396. X**...**...**...**...**...**...**...**...**...**...**...**...**...**...**...**.
  3397. X*.*..*.*..*.*..*.*..*.*..*.*..*.*..*.*..*.*..*.*..*.*..*.*..*.*..*.*..*.*..*.*
  3398. X..............................................................................
  3399. X..............................................................................
  3400. X.*....*....*....*....*....*....*....*....*....*....*....*....*....*....*....*.
  3401. X**...**...**...**...**...**...**...**...**...**...**...**...**...**...**...**.
  3402. X*.*..*.*..*.*..*.*..*.*..*.*..*.*..*.*..*.*..*.*..*.*..*.*..*.*..*.*..*.*..*.*
  3403. X..............................................................................
  3404. X..............................................................................
  3405. X.*....*....*....*....*....*....*....*....*....*....*....*....*....*....*....*.
  3406. X**...**...**...**...**...**...**...**...**...**...**...**...**...**...**...**.
  3407. X*.*..*.*..*.*..*.*..*.*..*.*..*.*..*.*..*.*..*.*..*.*..*.*..*.*..*.*..*.*..*.*
  3408. X..............................................................................
  3409. X..............................................................................
  3410. X.*....*....*....*....*....*....*....*....*....*....*....*....*....*....*....*.
  3411. X**...**...**...**...**...**...**...**...**...**...**...**...**...**...**...**.
  3412. X*.*..*.*..*.*..*.*..*.*..*.*..*.*..*.*..*.*..*.*..*.*..*.*..*.*..*.*..*.*..*.*
  3413. X..............................................................................
  3414. X..............................................................................
  3415. X.*....*....*....*....*....*....*....*....*....*....*....*....*....*....*....*.
  3416. X**...**...**...**...**...**...**...**...**...**...**...**...**...**...**...**.
  3417. X*.*..*.*..*.*..*.*..*.*..*.*..*.*..*.*..*.*..*.*..*.*..*.*..*.*..*.*..*.*..*.*
  3418. X..............................................................................
  3419. X..............................................................................
  3420. X.*....*....*....*....*....*....*....*....*....*....*....*....*....*....*....*.
  3421. X**...**...**...**...**...**...**...**...**...**...**...**...**...**...**...**.
  3422. X*.*..*.*..*.*..*.*..*.*..*.*..*.*..*.*..*.*..*.*..*.*..*.*..*.*..*.*..*.*..*.*
  3423. X..............................................................................
  3424. X..............................................................................
  3425. X.*....*....*....*....*....*....*....*....*....*....*....*....*....*....*....*.
  3426. X**...**...**...**...**...**...**...**...**...**...**...**...**...**...**...**.
  3427. X*.*..*.*..*.*..*.*..*.*..*.*..*.*..*.*..*.*..*.*..*.*..*.*..*.*..*.*..*.*..*.*
  3428. X..............................................................................
  3429. X..............................................................................
  3430. X.*....*....*....*....*....*....*....*....*....*....*....*....*....*....*....*.
  3431. X**...**...**...**...**...**...**...**...**...**...**...**...**...**...**...**.
  3432. X*.*..*.*..*.*..*.*..*.*..*.*..*.*..*.*..*.*..*.*..*.*..*.*..*.*..*.*..*.*..*.*
  3433. X..............................................................................
  3434. X..............................................................................
  3435. X.*....*....*....*....*....*....*....*....*....*....*....*....*....*....*....*.
  3436. X**...**...**...**...**...**...**...**...**...**...**...**...**...**...**...**.
  3437. X*.*..*.*..*.*..*.*..*.*..*.*..*.*..*.*..*.*..*.*..*.*..*.*..*.*..*.*..*.*..*.*
  3438. X..............................................................................
  3439. X..............................................................................
  3440. X.*....*....*....*....*....*....*....*....*....*....*....*....*....*....*....*.
  3441. X**...**...**...**...**...**...**...**...**...**...**...**...**...**...**...**.
  3442. X*.*..*.*..*.*..*.*..*.*..*.*..*.*..*.*..*.*..*.*..*.*..*.*..*.*..*.*..*.*..*.*
  3443. X..............................................................................
  3444. X..............................................................................
  3445. X.*....*....*....*....*....*....*....*....*....*....*....*....*....*....*....*.
  3446. X**...**...**...**...**...**...**...**...**...**...**...**...**...**...**...**.
  3447. X*.*..*.*..*.*..*.*..*.*..*.*..*.*..*.*..*.*..*.*..*.*..*.*..*.*..*.*..*.*..*.*
  3448. X..............................................................................
  3449. X..............................................................................
  3450. X.*....*....*....*....*....*....*....*....*....*....*....*....*....*....*....*.
  3451. X**...**...**...**...**...**...**...**...**...**...**...**...**...**...**...**.
  3452. X*.*..*.*..*.*..*.*..*.*..*.*..*.*..*.*..*.*..*.*..*.*..*.*..*.*..*.*..*.*..*.*
  3453. X..............................................................................
  3454. X..............................................................................
  3455. X.*....*....*....*....*....*....*....*....*....*....*....*....*....*....*....*.
  3456. X**...**...**...**...**...**...**...**...**...**...**...**...**...**...**...**.
  3457. X*.*..*.*..*.*..*.*..*.*..*.*..*.*..*.*..*.*..*.*..*.*..*.*..*.*..*.*..*.*..*.*
  3458. X..............................................................................
  3459. X..............................................................................
  3460. X.*....*....*....*....*....*....*....*....*....*....*....*....*....*....*....*.
  3461. X**...**...**...**...**...**...**...**...**...**...**...**...**...**...**...**.
  3462. X*.*..*.*..*.*..*.*..*.*..*.*..*.*..*.*..*.*..*.*..*.*..*.*..*.*..*.*..*.*..*.*
  3463. X..............................................................................
  3464. X..............................................................................
  3465. X.*....*....*....*....*....*....*....*....*....*....*....*....*....*....*....*.
  3466. X**...**...**...**...**...**...**...**...**...**...**...**...**...**...**...**.
  3467. X*.*..*.*..*.*..*.*..*.*..*.*..*.*..*.*..*.*..*.*..*.*..*.*..*.*..*.*..*.*..*.*
  3468. END_OF_xlife-2.0/patterns/gliderarmyof256.life
  3469. if test 6173 -ne `wc -c <xlife-2.0/patterns/gliderarmyof256.life`; then
  3470.     echo shar: \"xlife-2.0/patterns/gliderarmyof256.life\" unpacked with wrong size!
  3471. fi
  3472. # end of overwriting check
  3473. fi
  3474. if test -f xlife-2.0/patterns/rake2.life -a "${1}" != "-c" ; then 
  3475.   echo shar: Will not over-write existing file \"xlife-2.0/patterns/rake2.life\"
  3476. else
  3477. echo shar: Extracting \"xlife-2.0/patterns/rake2.life\" \(2915 characters\)
  3478. sed "s/^X//" >xlife-2.0/patterns/rake2.life <<'END_OF_xlife-2.0/patterns/rake2.life'
  3479. X#R
  3480. X 36 -16
  3481. X 37 -16
  3482. X 34 -15
  3483. X 39 -15
  3484. X 40 -14
  3485. X 11 -13
  3486. X 34 -13
  3487. X 40 -13
  3488. X  9 -12
  3489. X 13 -12
  3490. X 30 -12
  3491. X 35 -12
  3492. X 36 -12
  3493. X 37 -12
  3494. X 38 -12
  3495. X 39 -12
  3496. X 40 -12
  3497. X 46 -12
  3498. X 47 -12
  3499. X 48 -12
  3500. X 49 -12
  3501. X 50 -12
  3502. X 51 -12
  3503. X-49 -11
  3504. X 14 -11
  3505. X 29 -11
  3506. X 30 -11
  3507. X 45 -11
  3508. X 51 -11
  3509. X-51 -10
  3510. X-47 -10
  3511. X  9 -10
  3512. X 14 -10
  3513. X 29 -10
  3514. X 31 -10
  3515. X 51 -10
  3516. X-46  -9
  3517. X 10  -9
  3518. X 11  -9
  3519. X 12  -9
  3520. X 13  -9
  3521. X 14  -9
  3522. X 50  -9
  3523. X-51  -8
  3524. X-46  -8
  3525. X-14  -8
  3526. X -3  -8
  3527. X 43  -8
  3528. X 47  -8
  3529. X 48  -8
  3530. X-50  -7
  3531. X-49  -7
  3532. X-48  -7
  3533. X-47  -7
  3534. X-46  -7
  3535. X-15  -7
  3536. X-13  -7
  3537. X -3  -7
  3538. X -2  -7
  3539. X 42  -7
  3540. X 43  -7
  3541. X 44  -7
  3542. X-12  -6
  3543. X -8  -6
  3544. X -4  -6
  3545. X -2  -6
  3546. X 33  -6
  3547. X 34  -6
  3548. X 42  -6
  3549. X 43  -6
  3550. X 46  -6
  3551. X 47  -6
  3552. X-17  -5
  3553. X-16  -5
  3554. X-15  -5
  3555. X-14  -5
  3556. X-13  -5
  3557. X -9  -5
  3558. X -8  -5
  3559. X -7  -5
  3560. X -5  -5
  3561. X -4  -5
  3562. X -3  -5
  3563. X  0  -5
  3564. X  1  -5
  3565. X 12  -5
  3566. X 13  -5
  3567. X 33  -5
  3568. X 34  -5
  3569. X 36  -5
  3570. X 44  -5
  3571. X 45  -5
  3572. X 46  -5
  3573. X 47  -5
  3574. X 49  -5
  3575. X-22  -4
  3576. X-21  -4
  3577. X-18  -4
  3578. X-17  -4
  3579. X-11  -4
  3580. X-10  -4
  3581. X -6  -4
  3582. X -5  -4
  3583. X -3  -4
  3584. X  1  -4
  3585. X  2  -4
  3586. X  3  -4
  3587. X 11  -4
  3588. X 14  -4
  3589. X 29  -4
  3590. X 30  -4
  3591. X 33  -4
  3592. X 45  -4
  3593. X 50  -4
  3594. X-35  -3
  3595. X-34  -3
  3596. X-23  -3
  3597. X-20  -3
  3598. X-17  -3
  3599. X-12  -3
  3600. X-10  -3
  3601. X -7  -3
  3602. X -5  -3
  3603. X -4  -3
  3604. X  0  -3
  3605. X  2  -3
  3606. X  3  -3
  3607. X  4  -3
  3608. X  5  -3
  3609. X  6  -3
  3610. X 11  -3
  3611. X 13  -3
  3612. X 21  -3
  3613. X 22  -3
  3614. X 28  -3
  3615. X 30  -3
  3616. X 31  -3
  3617. X 33  -3
  3618. X 36  -3
  3619. X 37  -3
  3620. X 50  -3
  3621. X 51  -3
  3622. X-35  -2
  3623. X-34  -2
  3624. X-22  -2
  3625. X-21  -2
  3626. X-16  -2
  3627. X-12  -2
  3628. X-11  -2
  3629. X-10  -2
  3630. X -9  -2
  3631. X -2  -2
  3632. X -1  -2
  3633. X  2  -2
  3634. X  3  -2
  3635. X  4  -2
  3636. X  5  -2
  3637. X  6  -2
  3638. X 12  -2
  3639. X 21  -2
  3640. X 22  -2
  3641. X 28  -2
  3642. X 32  -2
  3643. X 34  -2
  3644. X 36  -2
  3645. X 47  -2
  3646. X 48  -2
  3647. X 49  -2
  3648. X 50  -2
  3649. X-12  -1
  3650. X-11  -1
  3651. X  0  -1
  3652. X  1  -1
  3653. X  2  -1
  3654. X 29  -1
  3655. X 30  -1
  3656. X 31  -1
  3657. X 33  -1
  3658. X 34  -1
  3659. X 47  -1
  3660. X 48  -1
  3661. X 49  -1
  3662. X-12   1
  3663. X-11   1
  3664. X  0   1
  3665. X  1   1
  3666. X  2   1
  3667. X 29   1
  3668. X 30   1
  3669. X 31   1
  3670. X 33   1
  3671. X 34   1
  3672. X 47   1
  3673. X 48   1
  3674. X 49   1
  3675. X-35   2
  3676. X-34   2
  3677. X-22   2
  3678. X-21   2
  3679. X-16   2
  3680. X-12   2
  3681. X-11   2
  3682. X-10   2
  3683. X -9   2
  3684. X -2   2
  3685. X -1   2
  3686. X  2   2
  3687. X  3   2
  3688. X  4   2
  3689. X  5   2
  3690. X  6   2
  3691. X 12   2
  3692. X 21   2
  3693. X 22   2
  3694. X 28   2
  3695. X 32   2
  3696. X 34   2
  3697. X 36   2
  3698. X 47   2
  3699. X 48   2
  3700. X 49   2
  3701. X 50   2
  3702. X-35   3
  3703. X-34   3
  3704. X-23   3
  3705. X-20   3
  3706. X-17   3
  3707. X-12   3
  3708. X-10   3
  3709. X -7   3
  3710. X -5   3
  3711. X -4   3
  3712. X  0   3
  3713. X  2   3
  3714. X  3   3
  3715. X  4   3
  3716. X  5   3
  3717. X  6   3
  3718. X 11   3
  3719. X 13   3
  3720. X 21   3
  3721. X 22   3
  3722. X 28   3
  3723. X 30   3
  3724. X 31   3
  3725. X 33   3
  3726. X 36   3
  3727. X 37   3
  3728. X 50   3
  3729. X 51   3
  3730. X-22   4
  3731. X-21   4
  3732. X-18   4
  3733. X-17   4
  3734. X-11   4
  3735. X-10   4
  3736. X -6   4
  3737. X -5   4
  3738. X -3   4
  3739. X  1   4
  3740. X  2   4
  3741. X  3   4
  3742. X 11   4
  3743. X 14   4
  3744. X 29   4
  3745. X 30   4
  3746. X 33   4
  3747. X 45   4
  3748. X 50   4
  3749. X-17   5
  3750. X-16   5
  3751. X-15   5
  3752. X-14   5
  3753. X-13   5
  3754. X -9   5
  3755. X -8   5
  3756. X -7   5
  3757. X -5   5
  3758. X -4   5
  3759. X -3   5
  3760. X  0   5
  3761. X  1   5
  3762. X 12   5
  3763. X 13   5
  3764. X 33   5
  3765. X 34   5
  3766. X 36   5
  3767. X 44   5
  3768. X 45   5
  3769. X 46   5
  3770. X 47   5
  3771. X 49   5
  3772. X-12   6
  3773. X -8   6
  3774. X -4   6
  3775. X -2   6
  3776. X 33   6
  3777. X 34   6
  3778. X 42   6
  3779. X 43   6
  3780. X 46   6
  3781. X 47   6
  3782. X-50   7
  3783. X-49   7
  3784. X-48   7
  3785. X-47   7
  3786. X-46   7
  3787. X-15   7
  3788. X-13   7
  3789. X -3   7
  3790. X -2   7
  3791. X 42   7
  3792. X 43   7
  3793. X 44   7
  3794. X-51   8
  3795. X-46   8
  3796. X-14   8
  3797. X -3   8
  3798. X 43   8
  3799. X 47   8
  3800. X 48   8
  3801. X-46   9
  3802. X 10   9
  3803. X 11   9
  3804. X 12   9
  3805. X 13   9
  3806. X 14   9
  3807. X 50   9
  3808. X-51  10
  3809. X-47  10
  3810. X  9  10
  3811. X 14  10
  3812. X 29  10
  3813. X 31  10
  3814. X 51  10
  3815. X-49  11
  3816. X 14  11
  3817. X 29  11
  3818. X 30  11
  3819. X 45  11
  3820. X 51  11
  3821. X  9  12
  3822. X 13  12
  3823. X 30  12
  3824. X 35  12
  3825. X 36  12
  3826. X 37  12
  3827. X 38  12
  3828. X 39  12
  3829. X 40  12
  3830. X 46  12
  3831. X 47  12
  3832. X 48  12
  3833. X 49  12
  3834. X 50  12
  3835. X 51  12
  3836. X 11  13
  3837. X 34  13
  3838. X 40  13
  3839. X 40  14
  3840. X 34  15
  3841. X 39  15
  3842. X 36  16
  3843. X 37  16
  3844. END_OF_xlife-2.0/patterns/rake2.life
  3845. if test 2915 -ne `wc -c <xlife-2.0/patterns/rake2.life`; then
  3846.     echo shar: \"xlife-2.0/patterns/rake2.life\" unpacked with wrong size!
  3847. fi
  3848. # end of overwriting check
  3849. fi
  3850. if test -f xlife-2.0/patterns/round.life -a "${1}" != "-c" ; then 
  3851.   echo shar: Will not over-write existing file \"xlife-2.0/patterns/round.life\"
  3852. else
  3853. echo shar: Extracting \"xlife-2.0/patterns/round.life\" \(1347 characters\)
  3854. sed "s/^X//" >xlife-2.0/patterns/round.life <<'END_OF_xlife-2.0/patterns/round.life'
  3855. X#R
  3856. X  0 -34
  3857. X  1 -34
  3858. X-10 -33
  3859. X -9 -33
  3860. X -1 -33
  3861. X  1 -33
  3862. X 17 -33
  3863. X 18 -33
  3864. X-10 -32
  3865. X -9 -32
  3866. X -1 -32
  3867. X 17 -32
  3868. X 18 -32
  3869. X -1 -31
  3870. X  0 -31
  3871. X  1 -31
  3872. X -1 -27
  3873. X  0 -27
  3874. X  1 -27
  3875. X-10 -26
  3876. X -9 -26
  3877. X -1 -26
  3878. X 17 -26
  3879. X 18 -26
  3880. X-10 -25
  3881. X -9 -25
  3882. X -1 -25
  3883. X  1 -25
  3884. X 17 -25
  3885. X 18 -25
  3886. X  0 -24
  3887. X  1 -24
  3888. X -6 -18
  3889. X -5 -18
  3890. X  6 -18
  3891. X-33 -17
  3892. X-32 -17
  3893. X-26 -17
  3894. X-25 -17
  3895. X -5 -17
  3896. X -4 -17
  3897. X  7 -17
  3898. X  8 -17
  3899. X-33 -16
  3900. X-32 -16
  3901. X-26 -16
  3902. X-25 -16
  3903. X -6 -16
  3904. X  6 -16
  3905. X  7 -16
  3906. X 26 -10
  3907. X 27 -10
  3908. X 33 -10
  3909. X 34 -10
  3910. X 26  -9
  3911. X 27  -9
  3912. X 33  -9
  3913. X 34  -9
  3914. X-17  -7
  3915. X-17  -6
  3916. X-16  -6
  3917. X 17  -6
  3918. X 19  -6
  3919. X-18  -5
  3920. X-16  -5
  3921. X 18  -5
  3922. X 19  -5
  3923. X 18  -4
  3924. X 26  -1
  3925. X 27  -1
  3926. X 28  -1
  3927. X 32  -1
  3928. X 33  -1
  3929. X 34  -1
  3930. X-34   0
  3931. X-33   0
  3932. X-31   0
  3933. X-27   0
  3934. X-25   0
  3935. X-24   0
  3936. X 25   0
  3937. X 28   0
  3938. X 32   0
  3939. X 35   0
  3940. X-34   1
  3941. X-31   1
  3942. X-27   1
  3943. X-24   1
  3944. X 25   1
  3945. X 26   1
  3946. X 28   1
  3947. X 32   1
  3948. X 34   1
  3949. X 35   1
  3950. X-33   2
  3951. X-32   2
  3952. X-31   2
  3953. X-27   2
  3954. X-26   2
  3955. X-25   2
  3956. X-17   5
  3957. X-18   6
  3958. X-17   6
  3959. X 17   6
  3960. X 19   6
  3961. X-18   7
  3962. X-16   7
  3963. X 17   7
  3964. X 18   7
  3965. X 18   8
  3966. X-33  10
  3967. X-32  10
  3968. X-26  10
  3969. X-25  10
  3970. X-33  11
  3971. X-32  11
  3972. X-26  11
  3973. X-25  11
  3974. X -6  17
  3975. X -5  17
  3976. X  7  17
  3977. X 26  17
  3978. X 27  17
  3979. X 33  17
  3980. X 34  17
  3981. X -7  18
  3982. X -6  18
  3983. X  5  18
  3984. X  6  18
  3985. X 26  18
  3986. X 27  18
  3987. X 33  18
  3988. X 34  18
  3989. X -5  19
  3990. X  6  19
  3991. X  7  19
  3992. X  0  25
  3993. X  1  25
  3994. X-17  26
  3995. X-16  26
  3996. X  0  26
  3997. X  2  26
  3998. X 10  26
  3999. X 11  26
  4000. X-17  27
  4001. X-16  27
  4002. X  2  27
  4003. X 10  27
  4004. X 11  27
  4005. X  0  28
  4006. X  1  28
  4007. X  2  28
  4008. X  0  32
  4009. X  1  32
  4010. X  2  32
  4011. X-17  33
  4012. X-16  33
  4013. X  2  33
  4014. X 10  33
  4015. X 11  33
  4016. X-17  34
  4017. X-16  34
  4018. X  0  34
  4019. X  2  34
  4020. X 10  34
  4021. X 11  34
  4022. X  0  35
  4023. X  1  35
  4024. END_OF_xlife-2.0/patterns/round.life
  4025. if test 1347 -ne `wc -c <xlife-2.0/patterns/round.life`; then
  4026.     echo shar: \"xlife-2.0/patterns/round.life\" unpacked with wrong size!
  4027. fi
  4028. # end of overwriting check
  4029. fi
  4030. if test -f xlife-2.0/utils.c -a "${1}" != "-c" ; then 
  4031.   echo shar: Will not over-write existing file \"xlife-2.0/utils.c\"
  4032. else
  4033. echo shar: Extracting \"xlife-2.0/utils.c\" \(3331 characters\)
  4034. sed "s/^X//" >xlife-2.0/utils.c <<'END_OF_xlife-2.0/utils.c'
  4035. X/*
  4036. X * XLife Copyright 1989 Jon Bennett jb7m+@andrew.cmu.edu, jcrb@cs.cmu.edu
  4037. X *
  4038. X * Permission to use, copy, modify, distribute, and sell this software and its
  4039. X * documentation for any purpose is hereby granted without fee, provided that
  4040. X * the above copyright notice appear in all copies and that both that
  4041. X * copyright notice and this permission notice appear in supporting
  4042. X * documentation, and that the name of the copyright holders not be used in
  4043. X * advertising or publicity pertaining to distribution of the software without
  4044. X * specific, written prior permission.  The copyright holders make no
  4045. X * representations about the suitability of this software for any purpose.  It
  4046. X * is provided "as is" without express or implied warranty.
  4047. X *
  4048. X * THE COPYRIGHT HOLDERS DISCLAIM ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
  4049. X * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
  4050. X * EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY SPECIAL, INDIRECT OR
  4051. X * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
  4052. X * DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
  4053. X * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
  4054. X * PERFORMANCE OF THIS SOFTWARE.
  4055. X */
  4056. X
  4057. X#include "defs.h"
  4058. X
  4059. Xfatal(s)
  4060. Xchar *s;
  4061. X{
  4062. X    fprintf(stderr, s);
  4063. X    exit(-22);
  4064. X}
  4065. X
  4066. Xint ClassifyWin(win)
  4067. XWindow win;
  4068. X{
  4069. X    if(win == lifew)
  4070. X    return LIFEWIN;
  4071. X    if(win == inputw)
  4072. X    return INPUTWIN;
  4073. X    if(win == mainw)
  4074. X    return MAINWIN;
  4075. X}
  4076. X
  4077. Xchar *itoa(n)
  4078. Xint n;
  4079. X{
  4080. X    static char buf[16];
  4081. X    char sign;
  4082. X    char *ptr;
  4083. X
  4084. X    if (n >= 0)
  4085. X    sign = ' ';
  4086. X    else {
  4087. X    n = -n;
  4088. X    sign = '-';
  4089. X    }
  4090. X    buf[15] = 0;
  4091. X    ptr = buf + 14;
  4092. X    do {
  4093. X    *--ptr = n % 10 + '0';
  4094. X    if (ptr <= buf)
  4095. X        return(buf);
  4096. X    n /= 10;
  4097. X    } while (n > 0);
  4098. X    *--ptr = sign;
  4099. X    return(ptr);
  4100. X}
  4101. X
  4102. Xdrawpoint(x,y,c)
  4103. X int x,y,c;
  4104. X{
  4105. X    if(c){
  4106. X    XDrawPoint(disp,lifew,whitegc,x,y);
  4107. X    }
  4108. X    else{
  4109. X    XDrawPoint(disp,lifew,blackgc,x,y);
  4110. X    }
  4111. X}
  4112. X
  4113. Xdrawbox(x,y,c)
  4114. X int x,y,c;
  4115. X{
  4116. X    int sc;
  4117. X    sc = (1 << scale -1) - (scale > 2);
  4118. X    if(c){
  4119. X    XFillRectangle(disp,lifew,whitegc,x,y,sc,sc);
  4120. X    }
  4121. X    else{
  4122. X    XFillRectangle(disp,lifew,blackgc,x,y,sc,sc);
  4123. X    }
  4124. X}
  4125. X
  4126. Xvoid randomize(){
  4127. X    unsigned long num;
  4128. X    
  4129. X    for(num = (width * height) >> (scale + 6);num;num--){
  4130. X    addcell(random()%(width>>(scale-1))+xpos,random()%(height>>(scale-1))+ypos);
  4131. X    }
  4132. X    redisplay();
  4133. X}
  4134. X
  4135. Xvoid settimeout(ms)
  4136. X unsigned long ms;
  4137. X{
  4138. X    timeout.tv_sec=ms/1000;
  4139. X    timeout.tv_usec=(ms%1000)*1000;
  4140. X}
  4141. X
  4142. Xvoid benchmark()
  4143. X{
  4144. X    char outbuf[100];
  4145. X    u_long num,count;
  4146. X    double tm;
  4147. X    struct timeval start,end;
  4148. X    struct timezone tmz;
  4149. X
  4150. X    state=STOP;
  4151. X
  4152. X    strcpy(inpbuf,"Number of generations:");
  4153. X    minbuflen=22;
  4154. X    XClearWindow(disp,inputw);
  4155. X    XDrawString(disp, inputw, ntextgc,ICOORDS(0,0),inpbuf, strlen(inpbuf));
  4156. X
  4157. X    getxstring();
  4158. X
  4159. X    strcpy(outbuf,inpbuf+22);
  4160. X    inpbuf[0]=0;
  4161. X    sscanf(outbuf,"%d",&count);
  4162. X    
  4163. X    gettimeofday(&start,&tmz);
  4164. X    for(num=0;num<count;num++){
  4165. X    generate();
  4166. X    }
  4167. X    gettimeofday(&end,&tmz);
  4168. X    tm=(((end.tv_sec * 1000000) + end.tv_usec) - ((start.tv_sec * 1000000) + start.tv_usec))/1000000.0;
  4169. X    sprintf(inpbuf,"%s:%f","Time",tm);
  4170. X
  4171. X    XClearWindow(disp,lifew);
  4172. X    redrawscreen();
  4173. X    XClearWindow(disp,inputw);
  4174. X    XDrawString(disp, inputw, ntextgc,ICOORDS(0,0),inpbuf, strlen(inpbuf));
  4175. X    getxstring();
  4176. X    inpbuf[0]=0;
  4177. X}
  4178. END_OF_xlife-2.0/utils.c
  4179. if test 3331 -ne `wc -c <xlife-2.0/utils.c`; then
  4180.     echo shar: \"xlife-2.0/utils.c\" unpacked with wrong size!
  4181. fi
  4182. # end of overwriting check
  4183. fi
  4184. if test -f xlife-2.0/xlife.man -a "${1}" != "-c" ; then 
  4185.   echo shar: Will not over-write existing file \"xlife-2.0/xlife.man\"
  4186. else
  4187. echo shar: Extracting \"xlife-2.0/xlife.man\" \(5364 characters\)
  4188. sed "s/^X//" >xlife-2.0/xlife.man <<'END_OF_xlife-2.0/xlife.man'
  4189. X.TH Xlife 6 
  4190. X.SH NAME
  4191. XXlife - Conway's Game of Life for X, version 2.0
  4192. X.SH SYNTAX
  4193. X.B xlife [-geometry string] [-bw width] [initial pattern file]
  4194. X.SH DESCRIPTION
  4195. X.NXR "xlife"
  4196. X.PN xlife
  4197. Xbrings up a single window in which the user may play the game of life.
  4198. X
  4199. XThe universe is effectivly unbounded (4.2 billion on a side)
  4200. XThe algorithim uses hashed 8x8 boxes of cells, and computes the next 
  4201. Xgeneration by using lookup tables for added speed.
  4202. X
  4203. XBy default Xlife will run in a window taking up your entire screen. The -bw
  4204. Xoption allows you to pass Xlife the width of the borders created by your window
  4205. Xmanager, for use in the internal window size calculation.
  4206. X
  4207. XThe -geometry option sets the Xlife window size and position as per usual for
  4208. XX applications.
  4209. X
  4210. XIf possible, you should tell your window manager to create Xlife without a
  4211. Xtitle bar; otherwise you will have to use -geometry to set the window's
  4212. Xvertical size enough smaller than the default that the title bar doesn't
  4213. Xcrowd the bottom of the window off the screen.
  4214. X
  4215. X.SH COMMANDS
  4216. X.IP \fB8\fR 20 
  4217. XMove your view of the universe up.
  4218. X.IP \fB2\fR 20 
  4219. XMove your view of the universe down.
  4220. X.IP \fB6\fR 20
  4221. XMove your view of the universe right.
  4222. X.IP \fB4\fR 20
  4223. XMove your view of the universe left.
  4224. X.IP \fB5\fR 20
  4225. XCenter the universe on the screen (based on average position of the cells).
  4226. X.IP \fB=,+\fR 20
  4227. XZoom the view in, magnifying the area around the mouse cursor.
  4228. X.IP \fB\-\fR 20
  4229. XZoom the view out.
  4230. X.IP \fBg\fR 20
  4231. XToggle running the game.
  4232. X.IP \fBo\fR 20
  4233. XStep forward one generation.
  4234. X.IP \fBS\fR 20
  4235. XSave the universe to a file adding extention .life.
  4236. X.IP \fBl\fR 20
  4237. XLoad (actually add to) the universe from a file with extention .life.
  4238. XThis lets you overlay multiple saved states to make for some interesting
  4239. Xeffects. Clear the universe if you want to start from scratch.
  4240. X.IP \fBh\fR 20
  4241. X(Hide) stop displaying after each generation, does not iconify.
  4242. X.IP \fBc\fR 20
  4243. XToggle showing of cell counts
  4244. X.IP \fB?\fR 20
  4245. XHelp for xlife.
  4246. X.IP \fB!\fR 20
  4247. XPlace random cells on the area of the universe on the screen.
  4248. X.IP \fBr\fR 20
  4249. XRedraw the screen.
  4250. X.IP \fBR\fR 20
  4251. XChange the rules in "stays alive on"/"born on"
  4252. Xformat. The standard rules are 23/3 (alive on two or three
  4253. Xneighbors, birth on three neighbors for an empty cell).
  4254. X.IP \fBN\fR 20
  4255. XChange the file's internal name.
  4256. X.IP \fBA\fR 20
  4257. XAdd comments.
  4258. X.IP \fBV\fR 20
  4259. XView comments.
  4260. X.IP \fBC\fR 20
  4261. XClear the universe.
  4262. X.IP \fBQ\fR 20
  4263. XQuit
  4264. X.IP \fBButtons\fR 20
  4265. X.IP \fB1\fR 20
  4266. XActivate a cell at the cursor.
  4267. X.IP \fB2\fR 20 
  4268. XCenter the universe view on the cursor.
  4269. X.IP \fB3\fR 20 
  4270. XDelete a cell at the cursor.
  4271. X.IP \fBf\fR 20 
  4272. XRun at a fast speed (no delay)
  4273. X.IP \fBm\fR 20 
  4274. XRun at a medium speed
  4275. X.IP \fBs\fR 20 
  4276. XRun at a slow speed
  4277. X
  4278. X.SH LOAD FILE FORMAT
  4279. XA .life image file is an ordinary text file consisting of lines terminated by
  4280. Xthe newline character. It is interpreted as one or more image sections
  4281. Xseparated by section lines beginning with '#'. Lines led by `##' are
  4282. Xconsidered comments and ignored.
  4283. X
  4284. XEach image section is interpreted according to the format letter following its
  4285. Xsection line #. The format letters are:
  4286. X
  4287. XA -- Absolute.
  4288. XEach line is interpreted as an absolute (x,y) coordinate pair.
  4289. X
  4290. XR -- Relative.
  4291. XEach line is interpreted as a relative (x,y) coordinate pair.
  4292. X
  4293. XP -- Picture.
  4294. XEach line in the section is interpreted as a scan line of a relative image.
  4295. XEach '*' character turns the corresponding bit on. All other characters leave
  4296. Xthe corresponding bit off.
  4297. X
  4298. XI -- Include.
  4299. XA #I line should have whitespace-separated fields after the #I; a pattern name
  4300. Xand optionally two integers interpreted as x and y offsets. The named pattern
  4301. Xfile is loaded as if it had been included in the image at this point. The
  4302. Xoffsets, if present, displace the load point of the pattern relative to the
  4303. Xcurrent mouse position. The include facility is useful for assembling `sampler'
  4304. Xcollections of interesting patterns.
  4305. X
  4306. XRelative image sections are normally drawn with 0,0 on the current mouse
  4307. Xposition (coordinates may be negative). This may be changed by including a
  4308. Xpair of whitespace-separated integers after the format character. If this is
  4309. Xdone, these will be interpreted as a pair of x and y offsets, and the image
  4310. Xsection will be drawn with its upper left corner displaced from the cursor
  4311. Xposition by those offsets. This facility can be used to write image files
  4312. Xthat will load patterns centered on the cursor.
  4313. X
  4314. XA leading image section with no header line is treated as though it had a `#A'
  4315. Xheader. Thus, version 1.00 image files will load properly.
  4316. X
  4317. XN -- Name
  4318. XThis line contains the internal name of the pattern (which may differ from the
  4319. XXXX.life name of the file.
  4320. X
  4321. XO -- Owner
  4322. XThis line contains information on the person who wrote the file, it is written
  4323. Xin the form: id "name"@machine date, for example.
  4324. X
  4325. X#O jb7m "Jon C. R. Bennett"@sushi.andrew.cmu.edu Fri Jan 12 18:25:54 1990
  4326. X
  4327. XC -- Comment
  4328. XLines begining with "C" are comments that the user may have automaticaly writen
  4329. Xto the save file, and which may be viewed from withen Xlife.
  4330. X
  4331. XMore section formats may be added in the future. 
  4332. X
  4333. X.SH RESTRICTIONS
  4334. Xnone
  4335. X
  4336. X.SH AUTHORS
  4337. XAlgorithm, implementation and file format enhancements:
  4338. X    Jon Bennett jcrb@cs.cmu.edu
  4339. X
  4340. XOriginal X code:
  4341. X    Chuck Silvers cs4n@andrew.cmu.edu
  4342. X
  4343. XAuto-sizing, X options and load format enhancements:
  4344. X    Eric S. Raymond (eric@snark.uu.net)
  4345. X
  4346. X.SH SEE ALSO   
  4347. Xxtrek(6)
  4348. END_OF_xlife-2.0/xlife.man
  4349. if test 5364 -ne `wc -c <xlife-2.0/xlife.man`; then
  4350.     echo shar: \"xlife-2.0/xlife.man\" unpacked with wrong size!
  4351. fi
  4352. # end of overwriting check
  4353. fi
  4354. echo shar: End of archive 5 \(of 8\).
  4355. cp /dev/null ark5isdone
  4356. MISSING=""
  4357. for I in 1 2 3 4 5 6 7 8 ; do
  4358.     if test ! -f ark${I}isdone ; then
  4359.     MISSING="${MISSING} ${I}"
  4360.     fi
  4361. done
  4362. if test "${MISSING}" = "" ; then
  4363.     echo You have unpacked all 8 archives.
  4364.     rm -f ark[1-9]isdone
  4365. else
  4366.     echo You still need to unpack the following archives:
  4367.     echo "        " ${MISSING}
  4368. fi
  4369. ##  End of shell archive.
  4370. exit 0
  4371.  
  4372. dan
  4373. ----------------------------------------------------
  4374. O'Reilly && Associates   argv@sun.com / argv@ora.com
  4375. Opinions expressed reflect those of the author only.
  4376.