home *** CD-ROM | disk | FTP | other *** search
/ Source Code 1994 March / Source_Code_CD-ROM_Walnut_Creek_March_1994.iso / compsrcs / games / volume15 / xbomb / part03 < prev    next >
Encoding:
Internet Message Format  |  1993-01-26  |  56.7 KB

  1. Path: uunet!news.tek.com!master!saab!billr
  2. From: billr@saab.CNA.TEK.COM (Bill Randle)
  3. Newsgroups: comp.sources.games
  4. Subject: v15i050:  xbomb - minesweeper game with extra features, Part03/04
  5. Message-ID: <4225@master.CNA.TEK.COM>
  6. Date: 18 Jan 93 20:09:23 GMT
  7. Sender: news@master.CNA.TEK.COM
  8. Lines: 1423
  9. Approved: billr@saab.CNA.TEK.COM
  10. Xref: uunet comp.sources.games:1549
  11.  
  12. Submitted-by: johnh@FICUS.CS.UCLA.EDU (John Heidemann)
  13. Posting-number: Volume 15, Issue 50
  14. Archive-name: xbomb/Part03
  15. Environment: X11, Xlib
  16.  
  17. #! /bin/sh
  18. # This is a shell archive.  Remove anything before this line, then unpack
  19. # it by saving it into a file and typing "sh file".  To overwrite existing
  20. # files, type "sh file -c".  You can also feed this as standard input via
  21. # unshar, or by typing "sh <file", e.g..  If this archive is complete, you
  22. # will see the following message at the end:
  23. #        "End of archive 3 (of 4)."
  24. # Contents:  applications.c bitmaps/old/known1.bit
  25. #   bitmaps/old/known4.bit bitmaps/old/known5.bit
  26. #   bitmaps/old/known6.bit bitmaps/old/known7.bit
  27. #   bitmaps/old/known8.bit bitmaps/roman/known0.bit
  28. #   bitmaps/roman/known1.bit bitmaps/roman/known2.bit
  29. #   bitmaps/roman/known3.bit bitmaps/roman/known4.bit
  30. #   bitmaps/roman/known5.bit bitmaps/roman/known6.bit
  31. #   bitmaps/roman/known7.bit bitmaps/roman/known8.bit
  32. #   bitmaps/roman/known9.bit bitmaps/standard/blank.bit
  33. #   bitmaps/standard/bomb.bit bitmaps/standard/ebomb.bit
  34. #   bitmaps/standard/empty.bit bitmaps/standard/flag.bit
  35. #   bitmaps/standard/known0.bit bitmaps/standard/known1.bit
  36. #   bitmaps/standard/known2.bit bitmaps/standard/known3.bit
  37. #   bitmaps/standard/known4.bit bitmaps/standard/known5.bit
  38. #   bitmaps/standard/known6.bit bitmaps/standard/known7.bit
  39. #   bitmaps/standard/known8.bit bitmaps/standard/known9.bit
  40. #   bitmaps/standard/think.bit debug_solver forced_solver.c
  41. #   prob_solver.c statistics xbomb.h
  42. # Wrapped by billr@saab on Mon Jan 18 12:03:06 1993
  43. PATH=/bin:/usr/bin:/usr/ucb ; export PATH
  44. if test -f 'applications.c' -a "${1}" != "-c" ; then 
  45.   echo shar: Will not clobber existing file \"'applications.c'\"
  46. else
  47. echo shar: Extracting \"'applications.c'\" \(1756 characters\)
  48. sed "s/^X//" >'applications.c' <<'END_OF_FILE'
  49. X
  50. X/*
  51. X * applications.c
  52. X * @(#)applications.c    1.2 (UCLA) 10/6/92
  53. X *
  54. X * xbomb is Copyright (C) 1992 by Matthew Merzbacher, Los Angeles, CA.
  55. X * All rights reserved.  Permission is granted to freely distribute
  56. X * this as long as this copyright message is retained intact.
  57. X * Permission to distribute this as part of a commerical product
  58. X * requires explicit permission of the author.
  59. X *
  60. X */
  61. X
  62. X#include "xbomb.h"
  63. X
  64. X
  65. Xint
  66. Xapply_add_neighbor_kbombs(x, y, ptr)
  67. X    int x, y;
  68. X    void *ptr;
  69. X{
  70. X    int delta = (int)ptr;
  71. X    map[x][y].neighbor_kbombs += delta;
  72. X    if (map[x][y].status == KEMPTY && ted) putpix(x,y);
  73. X    if (map[x][y].status == KEMPTY && shouldfollow(x,y)) {
  74. X        follow(x,y);
  75. X        return(1);
  76. X    }
  77. X    return(0);
  78. X}
  79. X
  80. Xint
  81. Xapply_inc_if_unknown(x, y, ptr)
  82. X    int x, y;
  83. X    void *ptr;
  84. X{
  85. X    int *ip = (int*)ptr;
  86. X    if (is_unknown(map[x][y].status))
  87. X        (*ip)++;
  88. X    return(0);
  89. X}
  90. X
  91. Xint
  92. Xapply_inc_if_bomb(x, y, ptr)
  93. X    int x, y;
  94. X    void *ptr;
  95. X{
  96. X    int *ip = (int*)ptr;
  97. X    if (is_bomb(map[x][y].status))
  98. X        (*ip)++;
  99. X    return(0);
  100. X}
  101. X
  102. Xint 
  103. Xapply_flag_if_unknown(x, y, ptr)
  104. X    int x, y;
  105. X    void *ptr;
  106. X{
  107. X    if (is_unknown(map[x][y].status) && !map[x][y].flag) {
  108. X        numflags--;
  109. X        map[x][y].flag = 1;
  110. X        putpix(x, y);
  111. X        return(1);
  112. X    };
  113. X    return(0);
  114. X}
  115. X
  116. Xint
  117. Xadd_neighbor_kbombs(c,r, delta)
  118. X    int c,r, delta;
  119. X{
  120. X    int x, y;
  121. X    
  122. X    for (x = c-1; x <= c+1; x++)
  123. X        for (y = r-1; y <= r+1; y++) {
  124. X            if (x==c && y==r)
  125. X                continue;
  126. X            map[x][y].neighbor_kbombs += delta;
  127. X            if (map[x][y].status == KEMPTY && ted) putpix(x,y);
  128. X            if (map[x][y].status == KEMPTY && shouldfollow(x,y))
  129. X                follow(x,y);
  130. X        };
  131. X}
  132. X
  133. Xint
  134. Xapply_neighbor(c,r, f, ptr)
  135. X    int c,r;
  136. X    int (*f)();
  137. X    void *ptr;
  138. X{
  139. X    int x, y, ret = 0;
  140. X    
  141. X    for (x = c-1; x <= c+1; x++)
  142. X        for (y = r-1; y <= r+1; y++) {
  143. X            if (x==c && y==r)
  144. X                continue;
  145. X            ret |= (*f)(x, y, ptr);
  146. X        };
  147. X    
  148. X    return(ret);
  149. X}
  150. X
  151. X
  152. END_OF_FILE
  153. if test 1756 -ne `wc -c <'applications.c'`; then
  154.     echo shar: \"'applications.c'\" unpacked with wrong size!
  155. fi
  156. # end of 'applications.c'
  157. fi
  158. if test -f 'bitmaps/old/known1.bit' -a "${1}" != "-c" ; then 
  159.   echo shar: Will not clobber existing file \"'bitmaps/old/known1.bit'\"
  160. else
  161. echo shar: Extracting \"'bitmaps/old/known1.bit'\" \(881 characters\)
  162. sed "s/^X//" >'bitmaps/old/known1.bit' <<'END_OF_FILE'
  163. X#define known1_width 32
  164. X#define known1_height 32
  165. Xstatic char known1_bits[] = {
  166. X   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00,
  167. X   0x00, 0x80, 0x01, 0x00, 0x00, 0xc0, 0x01, 0x00, 0x00, 0xe0, 0x01, 0x00,
  168. X   0x00, 0xe0, 0x01, 0x00, 0x00, 0xb0, 0x01, 0x00, 0x00, 0x98, 0x01, 0x00,
  169. X   0x00, 0x88, 0x01, 0x00, 0x00, 0x8c, 0x01, 0x00, 0x00, 0x84, 0x01, 0x00,
  170. X   0x00, 0x80, 0x01, 0x00, 0x00, 0x80, 0x01, 0x00, 0x00, 0x80, 0x01, 0x00,
  171. X   0x00, 0x80, 0x01, 0x00, 0x00, 0x80, 0x01, 0x00, 0x00, 0x80, 0x01, 0x00,
  172. X   0x00, 0x80, 0x01, 0x00, 0x00, 0x80, 0x01, 0x00, 0x00, 0x80, 0x01, 0x00,
  173. X   0x00, 0x80, 0x01, 0x00, 0x00, 0x80, 0x01, 0x00, 0x00, 0x80, 0x01, 0x00,
  174. X   0x00, 0x80, 0x01, 0x00, 0x00, 0xc0, 0x03, 0x00, 0x00, 0xf8, 0x1f, 0x00,
  175. X   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  176. X   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00};
  177. END_OF_FILE
  178. if test 881 -ne `wc -c <'bitmaps/old/known1.bit'`; then
  179.     echo shar: \"'bitmaps/old/known1.bit'\" unpacked with wrong size!
  180. fi
  181. # end of 'bitmaps/old/known1.bit'
  182. fi
  183. if test -f 'bitmaps/old/known4.bit' -a "${1}" != "-c" ; then 
  184.   echo shar: Will not clobber existing file \"'bitmaps/old/known4.bit'\"
  185. else
  186. echo shar: Extracting \"'bitmaps/old/known4.bit'\" \(881 characters\)
  187. sed "s/^X//" >'bitmaps/old/known4.bit' <<'END_OF_FILE'
  188. X#define known4_width 32
  189. X#define known4_height 32
  190. Xstatic char known4_bits[] = {
  191. X   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  192. X   0x00, 0x08, 0x04, 0x00, 0x00, 0x08, 0x04, 0x00, 0x00, 0x08, 0x04, 0x00,
  193. X   0x00, 0x08, 0x04, 0x00, 0x00, 0x08, 0x04, 0x00, 0x00, 0x08, 0x04, 0x00,
  194. X   0x00, 0x08, 0x04, 0x00, 0x00, 0x08, 0x04, 0x00, 0x00, 0x08, 0x04, 0x00,
  195. X   0x00, 0x08, 0x04, 0x00, 0x00, 0xf8, 0x3f, 0x00, 0x00, 0x00, 0x04, 0x00,
  196. X   0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x04, 0x00,
  197. X   0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x04, 0x00,
  198. X   0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x04, 0x00,
  199. X   0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  200. X   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  201. X   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00};
  202. END_OF_FILE
  203. if test 881 -ne `wc -c <'bitmaps/old/known4.bit'`; then
  204.     echo shar: \"'bitmaps/old/known4.bit'\" unpacked with wrong size!
  205. fi
  206. # end of 'bitmaps/old/known4.bit'
  207. fi
  208. if test -f 'bitmaps/old/known5.bit' -a "${1}" != "-c" ; then 
  209.   echo shar: Will not clobber existing file \"'bitmaps/old/known5.bit'\"
  210. else
  211. echo shar: Extracting \"'bitmaps/old/known5.bit'\" \(881 characters\)
  212. sed "s/^X//" >'bitmaps/old/known5.bit' <<'END_OF_FILE'
  213. X#define known5_width 32
  214. X#define known5_height 32
  215. Xstatic char known5_bits[] = {
  216. X   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xfe, 0x0f, 0x00,
  217. X   0x00, 0x06, 0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x00, 0x06, 0x00, 0x00,
  218. X   0x00, 0x06, 0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x00, 0x06, 0x00, 0x00,
  219. X   0x00, 0x06, 0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x00, 0x7e, 0x00, 0x00,
  220. X   0x00, 0xe6, 0x03, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x0c, 0x00,
  221. X   0x00, 0x00, 0x0c, 0x00, 0x00, 0x00, 0x18, 0x00, 0x00, 0x00, 0x10, 0x00,
  222. X   0x00, 0x00, 0x18, 0x00, 0x00, 0x00, 0x18, 0x00, 0x00, 0x00, 0x18, 0x00,
  223. X   0x00, 0x00, 0x18, 0x00, 0x00, 0x02, 0x18, 0x00, 0x00, 0x03, 0x10, 0x00,
  224. X   0x00, 0x01, 0x18, 0x00, 0x00, 0x03, 0x08, 0x00, 0x00, 0x0e, 0x0c, 0x00,
  225. X   0x00, 0xfc, 0x07, 0x00, 0x00, 0x60, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  226. X   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00};
  227. END_OF_FILE
  228. if test 881 -ne `wc -c <'bitmaps/old/known5.bit'`; then
  229.     echo shar: \"'bitmaps/old/known5.bit'\" unpacked with wrong size!
  230. fi
  231. # end of 'bitmaps/old/known5.bit'
  232. fi
  233. if test -f 'bitmaps/old/known6.bit' -a "${1}" != "-c" ; then 
  234.   echo shar: Will not clobber existing file \"'bitmaps/old/known6.bit'\"
  235. else
  236. echo shar: Extracting \"'bitmaps/old/known6.bit'\" \(881 characters\)
  237. sed "s/^X//" >'bitmaps/old/known6.bit' <<'END_OF_FILE'
  238. X#define known6_width 32
  239. X#define known6_height 32
  240. Xstatic char known6_bits[] = {
  241. X   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xe0, 0x0f, 0x00,
  242. X   0x00, 0xb0, 0x7b, 0x00, 0x00, 0xf0, 0x40, 0x00, 0x00, 0x38, 0x00, 0x00,
  243. X   0x00, 0x10, 0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x0c, 0x00, 0x00,
  244. X   0x00, 0x04, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x06, 0x00, 0x00,
  245. X   0x00, 0x02, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00,
  246. X   0x00, 0xc3, 0x00, 0x00, 0x00, 0xf2, 0x1f, 0x00, 0x00, 0x3b, 0x18, 0x00,
  247. X   0x00, 0x1f, 0x20, 0x00, 0x00, 0x1f, 0xc0, 0x00, 0x00, 0x0f, 0xc0, 0x00,
  248. X   0x00, 0x07, 0x80, 0x00, 0x00, 0x06, 0x80, 0x01, 0x00, 0x1c, 0x80, 0x01,
  249. X   0x00, 0x70, 0x80, 0x01, 0x00, 0xc0, 0xc3, 0x01, 0x00, 0x00, 0x7e, 0x00,
  250. X   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  251. X   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00};
  252. END_OF_FILE
  253. if test 881 -ne `wc -c <'bitmaps/old/known6.bit'`; then
  254.     echo shar: \"'bitmaps/old/known6.bit'\" unpacked with wrong size!
  255. fi
  256. # end of 'bitmaps/old/known6.bit'
  257. fi
  258. if test -f 'bitmaps/old/known7.bit' -a "${1}" != "-c" ; then 
  259.   echo shar: Will not clobber existing file \"'bitmaps/old/known7.bit'\"
  260. else
  261. echo shar: Extracting \"'bitmaps/old/known7.bit'\" \(881 characters\)
  262. sed "s/^X//" >'bitmaps/old/known7.bit' <<'END_OF_FILE'
  263. X#define known7_width 32
  264. X#define known7_height 32
  265. Xstatic char known7_bits[] = {
  266. X   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  267. X   0x00, 0xff, 0x3f, 0x00, 0x80, 0xbf, 0x3f, 0x00, 0xc0, 0x00, 0x20, 0x00,
  268. X   0x80, 0x00, 0x20, 0x00, 0x00, 0x00, 0x30, 0x00, 0x00, 0x00, 0x30, 0x00,
  269. X   0x00, 0x00, 0x30, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x18, 0x00,
  270. X   0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x0c, 0x00,
  271. X   0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x00, 0x07, 0x00,
  272. X   0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x01, 0x00,
  273. X   0x00, 0x00, 0x01, 0x00, 0x00, 0x80, 0x01, 0x00, 0x00, 0x80, 0x01, 0x00,
  274. X   0x00, 0x80, 0x01, 0x00, 0x00, 0x80, 0x01, 0x00, 0x00, 0x80, 0x01, 0x00,
  275. X   0x00, 0x80, 0x01, 0x00, 0x00, 0x80, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00,
  276. X   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00};
  277. END_OF_FILE
  278. if test 881 -ne `wc -c <'bitmaps/old/known7.bit'`; then
  279.     echo shar: \"'bitmaps/old/known7.bit'\" unpacked with wrong size!
  280. fi
  281. # end of 'bitmaps/old/known7.bit'
  282. fi
  283. if test -f 'bitmaps/old/known8.bit' -a "${1}" != "-c" ; then 
  284.   echo shar: Will not clobber existing file \"'bitmaps/old/known8.bit'\"
  285. else
  286. echo shar: Extracting \"'bitmaps/old/known8.bit'\" \(881 characters\)
  287. sed "s/^X//" >'bitmaps/old/known8.bit' <<'END_OF_FILE'
  288. X#define known8_width 32
  289. X#define known8_height 32
  290. Xstatic char known8_bits[] = {
  291. X   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xc0, 0x07, 0x00,
  292. X   0x00, 0x20, 0x08, 0x00, 0x00, 0x10, 0x10, 0x00, 0x00, 0x08, 0x20, 0x00,
  293. X   0x00, 0x08, 0x20, 0x00, 0x00, 0x08, 0x20, 0x00, 0x00, 0x08, 0x20, 0x00,
  294. X   0x00, 0x08, 0x20, 0x00, 0x00, 0x10, 0x10, 0x00, 0x00, 0x20, 0x08, 0x00,
  295. X   0x00, 0xc0, 0x07, 0x00, 0x00, 0xc0, 0x07, 0x00, 0x00, 0x30, 0x18, 0x00,
  296. X   0x00, 0x08, 0x20, 0x00, 0x00, 0x04, 0x40, 0x00, 0x00, 0x04, 0x40, 0x00,
  297. X   0x00, 0x02, 0x80, 0x00, 0x00, 0x02, 0x80, 0x00, 0x00, 0x02, 0x80, 0x00,
  298. X   0x00, 0x02, 0x80, 0x00, 0x00, 0x02, 0x80, 0x00, 0x00, 0x04, 0x40, 0x00,
  299. X   0x00, 0x04, 0x40, 0x00, 0x00, 0x08, 0x20, 0x00, 0x00, 0x30, 0x18, 0x00,
  300. X   0x00, 0xc0, 0x07, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  301. X   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00};
  302. END_OF_FILE
  303. if test 881 -ne `wc -c <'bitmaps/old/known8.bit'`; then
  304.     echo shar: \"'bitmaps/old/known8.bit'\" unpacked with wrong size!
  305. fi
  306. # end of 'bitmaps/old/known8.bit'
  307. fi
  308. if test -f 'bitmaps/roman/known0.bit' -a "${1}" != "-c" ; then 
  309.   echo shar: Will not clobber existing file \"'bitmaps/roman/known0.bit'\"
  310. else
  311. echo shar: Extracting \"'bitmaps/roman/known0.bit'\" \(881 characters\)
  312. sed "s/^X//" >'bitmaps/roman/known0.bit' <<'END_OF_FILE'
  313. X#define known0_width 32
  314. X#define known0_height 32
  315. Xstatic char known0_bits[] = {
  316. X   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  317. X   0x00, 0xc0, 0x03, 0x00, 0x00, 0xe0, 0x07, 0x00, 0x00, 0x30, 0x0c, 0x00,
  318. X   0x00, 0x18, 0x18, 0x00, 0x00, 0x0c, 0x30, 0x00, 0x00, 0x06, 0x60, 0x00,
  319. X   0x00, 0x06, 0x60, 0x00, 0x00, 0x02, 0xc0, 0x00, 0x00, 0x03, 0xc0, 0x00,
  320. X   0x00, 0x03, 0xc0, 0x00, 0x00, 0x03, 0xc0, 0x00, 0x00, 0x03, 0xc0, 0x00,
  321. X   0x00, 0x03, 0xc0, 0x00, 0x00, 0x02, 0xc0, 0x00, 0x00, 0x06, 0x60, 0x00,
  322. X   0x00, 0x06, 0x60, 0x00, 0x00, 0x0c, 0x30, 0x00, 0x00, 0x18, 0x18, 0x00,
  323. X   0x00, 0x30, 0x0c, 0x00, 0x00, 0xe0, 0x07, 0x00, 0x00, 0xc0, 0x03, 0x00,
  324. X   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  325. X   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  326. X   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00};
  327. END_OF_FILE
  328. if test 881 -ne `wc -c <'bitmaps/roman/known0.bit'`; then
  329.     echo shar: \"'bitmaps/roman/known0.bit'\" unpacked with wrong size!
  330. fi
  331. # end of 'bitmaps/roman/known0.bit'
  332. fi
  333. if test -f 'bitmaps/roman/known1.bit' -a "${1}" != "-c" ; then 
  334.   echo shar: Will not clobber existing file \"'bitmaps/roman/known1.bit'\"
  335. else
  336. echo shar: Extracting \"'bitmaps/roman/known1.bit'\" \(881 characters\)
  337. sed "s/^X//" >'bitmaps/roman/known1.bit' <<'END_OF_FILE'
  338. X#define known1_width 32
  339. X#define known1_height 32
  340. Xstatic char known1_bits[] = {
  341. X   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00,
  342. X   0x00, 0xfc, 0x3f, 0x00, 0x00, 0xe0, 0x07, 0x00, 0x00, 0x80, 0x01, 0x00,
  343. X   0x00, 0x80, 0x01, 0x00, 0x00, 0x80, 0x01, 0x00, 0x00, 0x80, 0x01, 0x00,
  344. X   0x00, 0x80, 0x01, 0x00, 0x00, 0x80, 0x01, 0x00, 0x00, 0x80, 0x01, 0x00,
  345. X   0x00, 0x80, 0x01, 0x00, 0x00, 0x80, 0x01, 0x00, 0x00, 0x80, 0x01, 0x00,
  346. X   0x00, 0x80, 0x01, 0x00, 0x00, 0x80, 0x01, 0x00, 0x00, 0x80, 0x01, 0x00,
  347. X   0x00, 0x80, 0x01, 0x00, 0x00, 0x80, 0x01, 0x00, 0x00, 0x80, 0x01, 0x00,
  348. X   0x00, 0x80, 0x01, 0x00, 0x00, 0x80, 0x01, 0x00, 0x00, 0x80, 0x01, 0x00,
  349. X   0x00, 0x80, 0x01, 0x00, 0x00, 0x80, 0x01, 0x00, 0x00, 0x80, 0x01, 0x00,
  350. X   0x00, 0xe0, 0x07, 0x00, 0x00, 0xfc, 0x3f, 0x00, 0x00, 0xff, 0xff, 0x00,
  351. X   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00};
  352. END_OF_FILE
  353. if test 881 -ne `wc -c <'bitmaps/roman/known1.bit'`; then
  354.     echo shar: \"'bitmaps/roman/known1.bit'\" unpacked with wrong size!
  355. fi
  356. # end of 'bitmaps/roman/known1.bit'
  357. fi
  358. if test -f 'bitmaps/roman/known2.bit' -a "${1}" != "-c" ; then 
  359.   echo shar: Will not clobber existing file \"'bitmaps/roman/known2.bit'\"
  360. else
  361. echo shar: Extracting \"'bitmaps/roman/known2.bit'\" \(881 characters\)
  362. sed "s/^X//" >'bitmaps/roman/known2.bit' <<'END_OF_FILE'
  363. X#define known2_width 32
  364. X#define known2_height 32
  365. Xstatic char known2_bits[] = {
  366. X   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xc0, 0xff, 0xff, 0x07,
  367. X   0x00, 0xff, 0xff, 0x01, 0x00, 0xf8, 0x3f, 0x00, 0x00, 0x60, 0x0c, 0x00,
  368. X   0x00, 0x60, 0x0c, 0x00, 0x00, 0x60, 0x0c, 0x00, 0x00, 0x60, 0x0c, 0x00,
  369. X   0x00, 0x60, 0x0c, 0x00, 0x00, 0x60, 0x0c, 0x00, 0x00, 0x60, 0x0c, 0x00,
  370. X   0x00, 0x60, 0x0c, 0x00, 0x00, 0x60, 0x0c, 0x00, 0x00, 0x60, 0x0c, 0x00,
  371. X   0x00, 0x60, 0x0c, 0x00, 0x00, 0x60, 0x0c, 0x00, 0x00, 0x60, 0x0c, 0x00,
  372. X   0x00, 0x60, 0x0c, 0x00, 0x00, 0x60, 0x0c, 0x00, 0x00, 0x60, 0x0c, 0x00,
  373. X   0x00, 0x60, 0x0c, 0x00, 0x00, 0x60, 0x0c, 0x00, 0x00, 0x60, 0x0c, 0x00,
  374. X   0x00, 0x60, 0x0c, 0x00, 0x00, 0x60, 0x0c, 0x00, 0x00, 0x60, 0x0c, 0x00,
  375. X   0x00, 0xf8, 0x3f, 0x00, 0x00, 0xff, 0xff, 0x01, 0xc0, 0xff, 0xff, 0x07,
  376. X   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00};
  377. END_OF_FILE
  378. if test 881 -ne `wc -c <'bitmaps/roman/known2.bit'`; then
  379.     echo shar: \"'bitmaps/roman/known2.bit'\" unpacked with wrong size!
  380. fi
  381. # end of 'bitmaps/roman/known2.bit'
  382. fi
  383. if test -f 'bitmaps/roman/known3.bit' -a "${1}" != "-c" ; then 
  384.   echo shar: Will not clobber existing file \"'bitmaps/roman/known3.bit'\"
  385. else
  386. echo shar: Extracting \"'bitmaps/roman/known3.bit'\" \(881 characters\)
  387. sed "s/^X//" >'bitmaps/roman/known3.bit' <<'END_OF_FILE'
  388. X#define known3_width 32
  389. X#define known3_height 32
  390. Xstatic char known3_bits[] = {
  391. X   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xf8, 0xff, 0xff, 0x1f,
  392. X   0xe0, 0xff, 0xff, 0x07, 0x00, 0xff, 0xff, 0x00, 0x00, 0x8c, 0x31, 0x00,
  393. X   0x00, 0x8c, 0x31, 0x00, 0x00, 0x8c, 0x31, 0x00, 0x00, 0x8c, 0x31, 0x00,
  394. X   0x00, 0x8c, 0x31, 0x00, 0x00, 0x8c, 0x31, 0x00, 0x00, 0x8c, 0x31, 0x00,
  395. X   0x00, 0x8c, 0x31, 0x00, 0x00, 0x8c, 0x31, 0x00, 0x00, 0x8c, 0x31, 0x00,
  396. X   0x00, 0x8c, 0x31, 0x00, 0x00, 0x8c, 0x31, 0x00, 0x00, 0x8c, 0x31, 0x00,
  397. X   0x00, 0x8c, 0x31, 0x00, 0x00, 0x8c, 0x31, 0x00, 0x00, 0x8c, 0x31, 0x00,
  398. X   0x00, 0x8c, 0x31, 0x00, 0x00, 0x8c, 0x31, 0x00, 0x00, 0x8c, 0x31, 0x00,
  399. X   0x00, 0x8c, 0x31, 0x00, 0x00, 0x8c, 0x31, 0x00, 0x00, 0x8c, 0x31, 0x00,
  400. X   0x00, 0xff, 0xff, 0x00, 0xe0, 0xff, 0xff, 0x07, 0xf8, 0xff, 0xff, 0x1f,
  401. X   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00};
  402. END_OF_FILE
  403. if test 881 -ne `wc -c <'bitmaps/roman/known3.bit'`; then
  404.     echo shar: \"'bitmaps/roman/known3.bit'\" unpacked with wrong size!
  405. fi
  406. # end of 'bitmaps/roman/known3.bit'
  407. fi
  408. if test -f 'bitmaps/roman/known4.bit' -a "${1}" != "-c" ; then 
  409.   echo shar: Will not clobber existing file \"'bitmaps/roman/known4.bit'\"
  410. else
  411. echo shar: Extracting \"'bitmaps/roman/known4.bit'\" \(881 characters\)
  412. sed "s/^X//" >'bitmaps/roman/known4.bit' <<'END_OF_FILE'
  413. X#define known4_width 32
  414. X#define known4_height 32
  415. Xstatic char known4_bits[] = {
  416. X   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff,
  417. X   0xfc, 0xff, 0xff, 0x3f, 0xe0, 0xff, 0xff, 0x07, 0x80, 0x19, 0x00, 0x03,
  418. X   0x80, 0x19, 0x00, 0x03, 0x80, 0x19, 0x00, 0x03, 0x80, 0x19, 0x00, 0x03,
  419. X   0x80, 0x31, 0x80, 0x01, 0x80, 0x31, 0x80, 0x01, 0x80, 0x31, 0x80, 0x01,
  420. X   0x80, 0x61, 0xc0, 0x00, 0x80, 0x61, 0xc0, 0x00, 0x80, 0x61, 0xc0, 0x00,
  421. X   0x80, 0xc1, 0x60, 0x00, 0x80, 0xc1, 0x60, 0x00, 0x80, 0xc1, 0x60, 0x00,
  422. X   0x80, 0x81, 0x31, 0x00, 0x80, 0x81, 0x31, 0x00, 0x80, 0x81, 0x31, 0x00,
  423. X   0x80, 0x01, 0x1b, 0x00, 0x80, 0x01, 0x1b, 0x00, 0x80, 0x01, 0x1f, 0x00,
  424. X   0x80, 0x01, 0x0e, 0x00, 0x80, 0x01, 0x04, 0x00, 0x80, 0x01, 0x04, 0x00,
  425. X   0xe0, 0xff, 0xff, 0x07, 0xfc, 0xff, 0xff, 0x3f, 0xff, 0xff, 0xff, 0xff,
  426. X   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00};
  427. END_OF_FILE
  428. if test 881 -ne `wc -c <'bitmaps/roman/known4.bit'`; then
  429.     echo shar: \"'bitmaps/roman/known4.bit'\" unpacked with wrong size!
  430. fi
  431. # end of 'bitmaps/roman/known4.bit'
  432. fi
  433. if test -f 'bitmaps/roman/known5.bit' -a "${1}" != "-c" ; then 
  434.   echo shar: Will not clobber existing file \"'bitmaps/roman/known5.bit'\"
  435. else
  436. echo shar: Extracting \"'bitmaps/roman/known5.bit'\" \(881 characters\)
  437. sed "s/^X//" >'bitmaps/roman/known5.bit' <<'END_OF_FILE'
  438. X#define known5_width 32
  439. X#define known5_height 32
  440. Xstatic char known5_bits[] = {
  441. X   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xfe, 0xff, 0xff, 0x3f,
  442. X   0xf8, 0xff, 0xff, 0x0f, 0xc0, 0xff, 0xff, 0x01, 0x00, 0x03, 0x60, 0x00,
  443. X   0x00, 0x03, 0x60, 0x00, 0x00, 0x03, 0x60, 0x00, 0x00, 0x03, 0x60, 0x00,
  444. X   0x00, 0x06, 0x30, 0x00, 0x00, 0x06, 0x30, 0x00, 0x00, 0x06, 0x30, 0x00,
  445. X   0x00, 0x0c, 0x18, 0x00, 0x00, 0x0c, 0x18, 0x00, 0x00, 0x0c, 0x18, 0x00,
  446. X   0x00, 0x18, 0x0c, 0x00, 0x00, 0x18, 0x0c, 0x00, 0x00, 0x18, 0x0c, 0x00,
  447. X   0x00, 0x30, 0x06, 0x00, 0x00, 0x30, 0x06, 0x00, 0x00, 0x30, 0x06, 0x00,
  448. X   0x00, 0x60, 0x03, 0x00, 0x00, 0x60, 0x03, 0x00, 0x00, 0xe0, 0x03, 0x00,
  449. X   0x00, 0xc0, 0x01, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00,
  450. X   0xc0, 0xff, 0xff, 0x01, 0xf8, 0xff, 0xff, 0x0f, 0xfe, 0xff, 0xff, 0x3f,
  451. X   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00};
  452. END_OF_FILE
  453. if test 881 -ne `wc -c <'bitmaps/roman/known5.bit'`; then
  454.     echo shar: \"'bitmaps/roman/known5.bit'\" unpacked with wrong size!
  455. fi
  456. # end of 'bitmaps/roman/known5.bit'
  457. fi
  458. if test -f 'bitmaps/roman/known6.bit' -a "${1}" != "-c" ; then 
  459.   echo shar: Will not clobber existing file \"'bitmaps/roman/known6.bit'\"
  460. else
  461. echo shar: Extracting \"'bitmaps/roman/known6.bit'\" \(881 characters\)
  462. sed "s/^X//" >'bitmaps/roman/known6.bit' <<'END_OF_FILE'
  463. X#define known6_width 32
  464. X#define known6_height 32
  465. Xstatic char known6_bits[] = {
  466. X   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff,
  467. X   0xfc, 0xff, 0xff, 0x3f, 0xe0, 0xff, 0xff, 0x07, 0xc0, 0x00, 0x98, 0x01,
  468. X   0xc0, 0x00, 0x98, 0x01, 0xc0, 0x00, 0x98, 0x01, 0xc0, 0x00, 0x98, 0x01,
  469. X   0x80, 0x01, 0x8c, 0x01, 0x80, 0x01, 0x8c, 0x01, 0x80, 0x01, 0x8c, 0x01,
  470. X   0x00, 0x03, 0x86, 0x01, 0x00, 0x03, 0x86, 0x01, 0x00, 0x03, 0x86, 0x01,
  471. X   0x00, 0x06, 0x83, 0x01, 0x00, 0x06, 0x83, 0x01, 0x00, 0x06, 0x83, 0x01,
  472. X   0x00, 0x8c, 0x81, 0x01, 0x00, 0x8c, 0x81, 0x01, 0x00, 0x8c, 0x81, 0x01,
  473. X   0x00, 0xd8, 0x80, 0x01, 0x00, 0xd8, 0x80, 0x01, 0x00, 0xf8, 0x80, 0x01,
  474. X   0x00, 0x70, 0x80, 0x01, 0x00, 0x20, 0x80, 0x01, 0x00, 0x20, 0x80, 0x01,
  475. X   0xe0, 0xff, 0xff, 0x07, 0xfc, 0xff, 0xff, 0x3f, 0xff, 0xff, 0xff, 0xff,
  476. X   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00};
  477. END_OF_FILE
  478. if test 881 -ne `wc -c <'bitmaps/roman/known6.bit'`; then
  479.     echo shar: \"'bitmaps/roman/known6.bit'\" unpacked with wrong size!
  480. fi
  481. # end of 'bitmaps/roman/known6.bit'
  482. fi
  483. if test -f 'bitmaps/roman/known7.bit' -a "${1}" != "-c" ; then 
  484.   echo shar: Will not clobber existing file \"'bitmaps/roman/known7.bit'\"
  485. else
  486. echo shar: Extracting \"'bitmaps/roman/known7.bit'\" \(881 characters\)
  487. sed "s/^X//" >'bitmaps/roman/known7.bit' <<'END_OF_FILE'
  488. X#define known7_width 32
  489. X#define known7_height 32
  490. Xstatic char known7_bits[] = {
  491. X   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff,
  492. X   0xfe, 0xff, 0xff, 0x7f, 0xfc, 0xff, 0xff, 0x3f, 0x0c, 0x80, 0x99, 0x19,
  493. X   0x0c, 0x80, 0x99, 0x19, 0x0c, 0x80, 0x99, 0x19, 0x0c, 0x80, 0x99, 0x19,
  494. X   0x18, 0xc0, 0x98, 0x19, 0x18, 0xc0, 0x98, 0x19, 0x18, 0xc0, 0x98, 0x19,
  495. X   0x30, 0x60, 0x98, 0x19, 0x30, 0x60, 0x98, 0x19, 0x30, 0x60, 0x98, 0x19,
  496. X   0x60, 0x30, 0x98, 0x19, 0x60, 0x30, 0x98, 0x19, 0x60, 0x30, 0x98, 0x19,
  497. X   0xc0, 0x18, 0x98, 0x19, 0xc0, 0x18, 0x98, 0x19, 0xc0, 0x18, 0x98, 0x19,
  498. X   0x80, 0x0d, 0x98, 0x19, 0x80, 0x0d, 0x98, 0x19, 0x80, 0x0f, 0x98, 0x19,
  499. X   0x00, 0x07, 0x98, 0x19, 0x00, 0x02, 0x98, 0x19, 0x00, 0x02, 0x98, 0x19,
  500. X   0xfc, 0xff, 0xff, 0x3f, 0xfe, 0xff, 0xff, 0x7f, 0xff, 0xff, 0xff, 0xff,
  501. X   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00};
  502. END_OF_FILE
  503. if test 881 -ne `wc -c <'bitmaps/roman/known7.bit'`; then
  504.     echo shar: \"'bitmaps/roman/known7.bit'\" unpacked with wrong size!
  505. fi
  506. # end of 'bitmaps/roman/known7.bit'
  507. fi
  508. if test -f 'bitmaps/roman/known8.bit' -a "${1}" != "-c" ; then 
  509.   echo shar: Will not clobber existing file \"'bitmaps/roman/known8.bit'\"
  510. else
  511. echo shar: Extracting \"'bitmaps/roman/known8.bit'\" \(881 characters\)
  512. sed "s/^X//" >'bitmaps/roman/known8.bit' <<'END_OF_FILE'
  513. X#define known7_width 32
  514. X#define known7_height 32
  515. Xstatic char known7_bits[] = {
  516. X   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0x3f,
  517. X   0xfe, 0xff, 0xff, 0x1f, 0xf8, 0xff, 0xff, 0x0f, 0x30, 0x00, 0x66, 0x0c,
  518. X   0x30, 0x00, 0x66, 0x0c, 0x30, 0x00, 0x66, 0x0c, 0x30, 0x00, 0x66, 0x0c,
  519. X   0x60, 0x00, 0x63, 0x0c, 0x60, 0x00, 0x63, 0x0c, 0x60, 0x00, 0x63, 0x0c,
  520. X   0xc0, 0x80, 0x61, 0x0c, 0xc0, 0x80, 0x61, 0x0c, 0xc0, 0x80, 0x61, 0x0c,
  521. X   0x80, 0xc1, 0x60, 0x0c, 0x80, 0xc1, 0x60, 0x0c, 0x80, 0xc1, 0x60, 0x0c,
  522. X   0x00, 0x63, 0x60, 0x0c, 0x00, 0x63, 0x60, 0x0c, 0x00, 0x63, 0x60, 0x0c,
  523. X   0x00, 0x36, 0x60, 0x0c, 0x00, 0x36, 0x60, 0x0c, 0x00, 0x3e, 0x60, 0x0c,
  524. X   0x00, 0x1c, 0x60, 0x0c, 0x00, 0x08, 0x60, 0x0c, 0x00, 0x08, 0x60, 0x0c,
  525. X   0xf8, 0xff, 0xff, 0x0f, 0xfe, 0xff, 0xff, 0x1f, 0xff, 0xff, 0xff, 0x3f,
  526. X   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00};
  527. END_OF_FILE
  528. if test 881 -ne `wc -c <'bitmaps/roman/known8.bit'`; then
  529.     echo shar: \"'bitmaps/roman/known8.bit'\" unpacked with wrong size!
  530. fi
  531. # end of 'bitmaps/roman/known8.bit'
  532. fi
  533. if test -f 'bitmaps/roman/known9.bit' -a "${1}" != "-c" ; then 
  534.   echo shar: Will not clobber existing file \"'bitmaps/roman/known9.bit'\"
  535. else
  536. echo shar: Extracting \"'bitmaps/roman/known9.bit'\" \(881 characters\)
  537. sed "s/^X//" >'bitmaps/roman/known9.bit' <<'END_OF_FILE'
  538. X#define known9_width 32
  539. X#define known9_height 32
  540. Xstatic char known9_bits[] = {
  541. X   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff,
  542. X   0xfc, 0xff, 0xff, 0x3f, 0xe0, 0xff, 0xff, 0x07, 0x80, 0xc1, 0x00, 0x03,
  543. X   0x80, 0xc1, 0x00, 0x03, 0x80, 0x81, 0x81, 0x01, 0x80, 0x81, 0x81, 0x01,
  544. X   0x80, 0x01, 0xc3, 0x00, 0x80, 0x01, 0xc3, 0x00, 0x80, 0x01, 0x66, 0x00,
  545. X   0x80, 0x01, 0x66, 0x00, 0x80, 0x01, 0x34, 0x00, 0x80, 0x01, 0x3c, 0x00,
  546. X   0x80, 0x01, 0x18, 0x00, 0x80, 0x01, 0x18, 0x00, 0x80, 0x01, 0x3c, 0x00,
  547. X   0x80, 0x01, 0x2c, 0x00, 0x80, 0x01, 0x66, 0x00, 0x80, 0x01, 0x66, 0x00,
  548. X   0x80, 0x01, 0xc3, 0x00, 0x80, 0x01, 0xc3, 0x00, 0x80, 0x81, 0x81, 0x01,
  549. X   0x80, 0x81, 0x81, 0x01, 0x80, 0xc1, 0x00, 0x03, 0x80, 0xc1, 0x00, 0x03,
  550. X   0xe0, 0xff, 0xff, 0x07, 0xfc, 0xff, 0xff, 0x3f, 0xff, 0xff, 0xff, 0xff,
  551. X   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00};
  552. END_OF_FILE
  553. if test 881 -ne `wc -c <'bitmaps/roman/known9.bit'`; then
  554.     echo shar: \"'bitmaps/roman/known9.bit'\" unpacked with wrong size!
  555. fi
  556. # end of 'bitmaps/roman/known9.bit'
  557. fi
  558. if test -f 'bitmaps/standard/blank.bit' -a "${1}" != "-c" ; then 
  559.   echo shar: Will not clobber existing file \"'bitmaps/standard/blank.bit'\"
  560. else
  561. echo shar: Extracting \"'bitmaps/standard/blank.bit'\" \(878 characters\)
  562. sed "s/^X//" >'bitmaps/standard/blank.bit' <<'END_OF_FILE'
  563. X#define blank_width 32
  564. X#define blank_height 32
  565. Xstatic char blank_bits[] = {
  566. X   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  567. X   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  568. X   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  569. X   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  570. X   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  571. X   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  572. X   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  573. X   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  574. X   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  575. X   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  576. X   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00};
  577. END_OF_FILE
  578. if test 878 -ne `wc -c <'bitmaps/standard/blank.bit'`; then
  579.     echo shar: \"'bitmaps/standard/blank.bit'\" unpacked with wrong size!
  580. fi
  581. # end of 'bitmaps/standard/blank.bit'
  582. fi
  583. if test -f 'bitmaps/standard/bomb.bit' -a "${1}" != "-c" ; then 
  584.   echo shar: Will not clobber existing file \"'bitmaps/standard/bomb.bit'\"
  585. else
  586. echo shar: Extracting \"'bitmaps/standard/bomb.bit'\" \(875 characters\)
  587. sed "s/^X//" >'bitmaps/standard/bomb.bit' <<'END_OF_FILE'
  588. X#define bomb_width 32
  589. X#define bomb_height 32
  590. Xstatic char bomb_bits[] = {
  591. X   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x48, 0x00, 0x00, 0x00, 0x50, 0x00,
  592. X   0x00, 0x00, 0x30, 0x00, 0x00, 0x00, 0xfe, 0x01, 0x00, 0x80, 0x51, 0x00,
  593. X   0x00, 0x80, 0x50, 0x00, 0x00, 0x80, 0x08, 0x00, 0x00, 0x80, 0x00, 0x00,
  594. X   0x00, 0x80, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00, 0xf0, 0x07, 0x00,
  595. X   0x00, 0xfc, 0x1f, 0x00, 0x00, 0xfe, 0x3f, 0x00, 0x00, 0xff, 0x7f, 0x00,
  596. X   0x80, 0xff, 0xff, 0x00, 0x80, 0xff, 0xff, 0x00, 0xc0, 0xff, 0xff, 0x01,
  597. X   0xc0, 0xff, 0xff, 0x01, 0xc0, 0xff, 0xff, 0x01, 0xc0, 0xff, 0xff, 0x01,
  598. X   0xc0, 0xff, 0xff, 0x01, 0xc0, 0xff, 0xff, 0x01, 0xc0, 0xff, 0xff, 0x01,
  599. X   0x80, 0xff, 0xff, 0x00, 0x80, 0xff, 0xff, 0x00, 0x00, 0xff, 0x7f, 0x00,
  600. X   0x00, 0xfe, 0x3f, 0x00, 0x00, 0xfc, 0x1f, 0x00, 0x00, 0xf0, 0x07, 0x00,
  601. X   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00};
  602. END_OF_FILE
  603. if test 875 -ne `wc -c <'bitmaps/standard/bomb.bit'`; then
  604.     echo shar: \"'bitmaps/standard/bomb.bit'\" unpacked with wrong size!
  605. fi
  606. # end of 'bitmaps/standard/bomb.bit'
  607. fi
  608. if test -f 'bitmaps/standard/ebomb.bit' -a "${1}" != "-c" ; then 
  609.   echo shar: Will not clobber existing file \"'bitmaps/standard/ebomb.bit'\"
  610. else
  611. echo shar: Extracting \"'bitmaps/standard/ebomb.bit'\" \(878 characters\)
  612. sed "s/^X//" >'bitmaps/standard/ebomb.bit' <<'END_OF_FILE'
  613. X#define ebomb_width 32
  614. X#define ebomb_height 32
  615. Xstatic char ebomb_bits[] = {
  616. X   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x48, 0x00, 0x00, 0x00, 0x50, 0x00,
  617. X   0x00, 0x00, 0x30, 0x00, 0x00, 0x00, 0xfe, 0x01, 0x00, 0x80, 0x51, 0x00,
  618. X   0x00, 0x80, 0x50, 0x00, 0x00, 0x80, 0x08, 0x00, 0x00, 0x80, 0x00, 0x00,
  619. X   0x00, 0x80, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00, 0xf0, 0x07, 0x00,
  620. X   0x00, 0xfc, 0x1f, 0x00, 0x00, 0x0e, 0x38, 0x00, 0x00, 0x07, 0x70, 0x00,
  621. X   0x80, 0x03, 0xe0, 0x00, 0x80, 0x01, 0xc0, 0x00, 0xc0, 0x00, 0x80, 0x01,
  622. X   0xc0, 0x00, 0x80, 0x01, 0xc0, 0x00, 0x80, 0x01, 0xc0, 0x00, 0x80, 0x01,
  623. X   0xc0, 0x00, 0x80, 0x01, 0xc0, 0x00, 0x80, 0x01, 0xc0, 0x00, 0x80, 0x01,
  624. X   0x80, 0x01, 0xc0, 0x00, 0x80, 0x03, 0xe0, 0x00, 0x00, 0x07, 0x70, 0x00,
  625. X   0x00, 0x0e, 0x38, 0x00, 0x00, 0xfc, 0x1f, 0x00, 0x00, 0xf0, 0x07, 0x00,
  626. X   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00};
  627. END_OF_FILE
  628. if test 878 -ne `wc -c <'bitmaps/standard/ebomb.bit'`; then
  629.     echo shar: \"'bitmaps/standard/ebomb.bit'\" unpacked with wrong size!
  630. fi
  631. # end of 'bitmaps/standard/ebomb.bit'
  632. fi
  633. if test -f 'bitmaps/standard/empty.bit' -a "${1}" != "-c" ; then 
  634.   echo shar: Will not clobber existing file \"'bitmaps/standard/empty.bit'\"
  635. else
  636. echo shar: Extracting \"'bitmaps/standard/empty.bit'\" \(878 characters\)
  637. sed "s/^X//" >'bitmaps/standard/empty.bit' <<'END_OF_FILE'
  638. X#define empty_width 32
  639. X#define empty_height 32
  640. Xstatic char empty_bits[] = {
  641. X   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  642. X   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  643. X   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  644. X   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x02, 0x00,
  645. X   0x00, 0x00, 0x01, 0x00, 0x00, 0x80, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00,
  646. X   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  647. X   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  648. X   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  649. X   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  650. X   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  651. X   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00};
  652. END_OF_FILE
  653. if test 878 -ne `wc -c <'bitmaps/standard/empty.bit'`; then
  654.     echo shar: \"'bitmaps/standard/empty.bit'\" unpacked with wrong size!
  655. fi
  656. # end of 'bitmaps/standard/empty.bit'
  657. fi
  658. if test -f 'bitmaps/standard/flag.bit' -a "${1}" != "-c" ; then 
  659.   echo shar: Will not clobber existing file \"'bitmaps/standard/flag.bit'\"
  660. else
  661. echo shar: Extracting \"'bitmaps/standard/flag.bit'\" \(875 characters\)
  662. sed "s/^X//" >'bitmaps/standard/flag.bit' <<'END_OF_FILE'
  663. X#define flag_width 32
  664. X#define flag_height 32
  665. Xstatic char flag_bits[] = {
  666. X   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  667. X   0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x01, 0x00, 0x00, 0x80, 0x07, 0x00,
  668. X   0x00, 0x80, 0x1f, 0x00, 0x00, 0x80, 0x3f, 0x00, 0x00, 0x80, 0xff, 0x00,
  669. X   0x00, 0x80, 0xff, 0x03, 0x00, 0x80, 0xff, 0x07, 0x00, 0x80, 0xff, 0x01,
  670. X   0x00, 0x80, 0x3f, 0x00, 0x00, 0x80, 0x03, 0x00, 0x00, 0x80, 0x00, 0x00,
  671. X   0x00, 0x80, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00,
  672. X   0x00, 0x80, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00,
  673. X   0x00, 0x80, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00,
  674. X   0x00, 0x80, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00,
  675. X   0x00, 0x80, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  676. X   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00};
  677. END_OF_FILE
  678. if test 875 -ne `wc -c <'bitmaps/standard/flag.bit'`; then
  679.     echo shar: \"'bitmaps/standard/flag.bit'\" unpacked with wrong size!
  680. fi
  681. # end of 'bitmaps/standard/flag.bit'
  682. fi
  683. if test -f 'bitmaps/standard/known0.bit' -a "${1}" != "-c" ; then 
  684.   echo shar: Will not clobber existing file \"'bitmaps/standard/known0.bit'\"
  685. else
  686. echo shar: Extracting \"'bitmaps/standard/known0.bit'\" \(881 characters\)
  687. sed "s/^X//" >'bitmaps/standard/known0.bit' <<'END_OF_FILE'
  688. X#define known0_width 32
  689. X#define known0_height 32
  690. Xstatic char known0_bits[] = {
  691. X   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  692. X   0x00, 0xc0, 0x03, 0x00, 0x00, 0xe0, 0x07, 0x00, 0x00, 0x30, 0x0c, 0x00,
  693. X   0x00, 0x18, 0x18, 0x00, 0x00, 0x0c, 0x30, 0x00, 0x00, 0x06, 0x60, 0x00,
  694. X   0x00, 0x06, 0x60, 0x00, 0x00, 0x02, 0xc0, 0x00, 0x00, 0x03, 0xc0, 0x00,
  695. X   0x00, 0x03, 0xc0, 0x00, 0x00, 0x03, 0xc0, 0x00, 0x00, 0x03, 0xc0, 0x00,
  696. X   0x00, 0x03, 0xc0, 0x00, 0x00, 0x02, 0xc0, 0x00, 0x00, 0x06, 0x60, 0x00,
  697. X   0x00, 0x06, 0x60, 0x00, 0x00, 0x0c, 0x30, 0x00, 0x00, 0x18, 0x18, 0x00,
  698. X   0x00, 0x30, 0x0c, 0x00, 0x00, 0xe0, 0x07, 0x00, 0x00, 0xc0, 0x03, 0x00,
  699. X   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  700. X   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  701. X   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00};
  702. END_OF_FILE
  703. if test 881 -ne `wc -c <'bitmaps/standard/known0.bit'`; then
  704.     echo shar: \"'bitmaps/standard/known0.bit'\" unpacked with wrong size!
  705. fi
  706. # end of 'bitmaps/standard/known0.bit'
  707. fi
  708. if test -f 'bitmaps/standard/known1.bit' -a "${1}" != "-c" ; then 
  709.   echo shar: Will not clobber existing file \"'bitmaps/standard/known1.bit'\"
  710. else
  711. echo shar: Extracting \"'bitmaps/standard/known1.bit'\" \(881 characters\)
  712. sed "s/^X//" >'bitmaps/standard/known1.bit' <<'END_OF_FILE'
  713. X#define known1_width 32
  714. X#define known1_height 32
  715. Xstatic char known1_bits[] = {
  716. X   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00,
  717. X   0x00, 0x80, 0x01, 0x00, 0x00, 0xc0, 0x01, 0x00, 0x00, 0xe0, 0x01, 0x00,
  718. X   0x00, 0xe0, 0x01, 0x00, 0x00, 0xb0, 0x01, 0x00, 0x00, 0x98, 0x01, 0x00,
  719. X   0x00, 0x88, 0x01, 0x00, 0x00, 0x8c, 0x01, 0x00, 0x00, 0x84, 0x01, 0x00,
  720. X   0x00, 0x80, 0x01, 0x00, 0x00, 0x80, 0x01, 0x00, 0x00, 0x80, 0x01, 0x00,
  721. X   0x00, 0x80, 0x01, 0x00, 0x00, 0x80, 0x01, 0x00, 0x00, 0x80, 0x01, 0x00,
  722. X   0x00, 0x80, 0x01, 0x00, 0x00, 0x80, 0x01, 0x00, 0x00, 0x80, 0x01, 0x00,
  723. X   0x00, 0x80, 0x01, 0x00, 0x00, 0x80, 0x01, 0x00, 0x00, 0x80, 0x01, 0x00,
  724. X   0x00, 0x80, 0x01, 0x00, 0x00, 0xc0, 0x03, 0x00, 0x00, 0xf8, 0x1f, 0x00,
  725. X   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  726. X   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00};
  727. END_OF_FILE
  728. if test 881 -ne `wc -c <'bitmaps/standard/known1.bit'`; then
  729.     echo shar: \"'bitmaps/standard/known1.bit'\" unpacked with wrong size!
  730. fi
  731. # end of 'bitmaps/standard/known1.bit'
  732. fi
  733. if test -f 'bitmaps/standard/known2.bit' -a "${1}" != "-c" ; then 
  734.   echo shar: Will not clobber existing file \"'bitmaps/standard/known2.bit'\"
  735. else
  736. echo shar: Extracting \"'bitmaps/standard/known2.bit'\" \(881 characters\)
  737. sed "s/^X//" >'bitmaps/standard/known2.bit' <<'END_OF_FILE'
  738. X#define known2_width 32
  739. X#define known2_height 32
  740. Xstatic char known2_bits[] = {
  741. X   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  742. X   0x00, 0x00, 0x00, 0x00, 0x00, 0xf0, 0x07, 0x00, 0x00, 0xfc, 0x0f, 0x00,
  743. X   0x00, 0x0e, 0x18, 0x00, 0x00, 0x06, 0x18, 0x00, 0x00, 0x02, 0x30, 0x00,
  744. X   0x00, 0x02, 0x30, 0x00, 0x00, 0x00, 0x30, 0x00, 0x00, 0x00, 0x30, 0x00,
  745. X   0x00, 0x00, 0x30, 0x00, 0x00, 0x00, 0x18, 0x00, 0x00, 0x00, 0x0c, 0x00,
  746. X   0x00, 0xc0, 0x07, 0x00, 0x00, 0xf0, 0x03, 0x00, 0x00, 0x38, 0x00, 0x00,
  747. X   0x00, 0x0c, 0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x00, 0x06, 0x00, 0x00,
  748. X   0x00, 0x06, 0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x00, 0x06, 0x00, 0x00,
  749. X   0x00, 0x06, 0x40, 0x00, 0x00, 0x06, 0x40, 0x00, 0x00, 0xfe, 0x7f, 0x00,
  750. X   0x00, 0xfe, 0x7f, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  751. X   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00};
  752. END_OF_FILE
  753. if test 881 -ne `wc -c <'bitmaps/standard/known2.bit'`; then
  754.     echo shar: \"'bitmaps/standard/known2.bit'\" unpacked with wrong size!
  755. fi
  756. # end of 'bitmaps/standard/known2.bit'
  757. fi
  758. if test -f 'bitmaps/standard/known3.bit' -a "${1}" != "-c" ; then 
  759.   echo shar: Will not clobber existing file \"'bitmaps/standard/known3.bit'\"
  760. else
  761. echo shar: Extracting \"'bitmaps/standard/known3.bit'\" \(881 characters\)
  762. sed "s/^X//" >'bitmaps/standard/known3.bit' <<'END_OF_FILE'
  763. X#define known3_width 32
  764. X#define known3_height 32
  765. Xstatic char known3_bits[] = {
  766. X   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  767. X   0x00, 0xff, 0x1f, 0x00, 0x00, 0xfe, 0x1f, 0x00, 0x00, 0x00, 0x0c, 0x00,
  768. X   0x00, 0x00, 0x06, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x80, 0x01, 0x00,
  769. X   0x00, 0xc0, 0x00, 0x00, 0x00, 0x60, 0x00, 0x00, 0x00, 0x30, 0x00, 0x00,
  770. X   0x00, 0x18, 0x00, 0x00, 0x00, 0x0c, 0x00, 0x00, 0x00, 0xfe, 0x07, 0x00,
  771. X   0x00, 0xff, 0x1f, 0x00, 0x00, 0x00, 0x18, 0x00, 0x00, 0x00, 0x30, 0x00,
  772. X   0x00, 0x00, 0x30, 0x00, 0x00, 0x00, 0x30, 0x00, 0x00, 0x00, 0x30, 0x00,
  773. X   0x00, 0x00, 0x30, 0x00, 0x00, 0x01, 0x30, 0x00, 0x00, 0x03, 0x30, 0x00,
  774. X   0x00, 0x02, 0x18, 0x00, 0x00, 0x06, 0x1c, 0x00, 0x00, 0xfc, 0x0f, 0x00,
  775. X   0x00, 0xf8, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  776. X   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00};
  777. END_OF_FILE
  778. if test 881 -ne `wc -c <'bitmaps/standard/known3.bit'`; then
  779.     echo shar: \"'bitmaps/standard/known3.bit'\" unpacked with wrong size!
  780. fi
  781. # end of 'bitmaps/standard/known3.bit'
  782. fi
  783. if test -f 'bitmaps/standard/known4.bit' -a "${1}" != "-c" ; then 
  784.   echo shar: Will not clobber existing file \"'bitmaps/standard/known4.bit'\"
  785. else
  786. echo shar: Extracting \"'bitmaps/standard/known4.bit'\" \(881 characters\)
  787. sed "s/^X//" >'bitmaps/standard/known4.bit' <<'END_OF_FILE'
  788. X#define known4_width 32
  789. X#define known4_height 32
  790. Xstatic char known4_bits[] = {
  791. X   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  792. X   0x00, 0x00, 0x0c, 0x00, 0x00, 0x00, 0x0e, 0x00, 0x00, 0x00, 0x0f, 0x00,
  793. X   0x00, 0x80, 0x0d, 0x00, 0x00, 0xc0, 0x0c, 0x00, 0x00, 0x60, 0x0c, 0x00,
  794. X   0x00, 0x30, 0x0c, 0x00, 0x00, 0x18, 0x0c, 0x00, 0x00, 0x0c, 0x0c, 0x00,
  795. X   0x00, 0x06, 0x0c, 0x00, 0x00, 0xff, 0x7f, 0x00, 0x80, 0xff, 0x7f, 0x00,
  796. X   0x00, 0x00, 0x0c, 0x00, 0x00, 0x00, 0x0c, 0x00, 0x00, 0x00, 0x0c, 0x00,
  797. X   0x00, 0x00, 0x0c, 0x00, 0x00, 0x00, 0x0c, 0x00, 0x00, 0x00, 0x0c, 0x00,
  798. X   0x00, 0x00, 0x0c, 0x00, 0x00, 0x00, 0x0c, 0x00, 0x00, 0x00, 0x0c, 0x00,
  799. X   0x00, 0x00, 0x0c, 0x00, 0x00, 0x00, 0x0c, 0x00, 0x00, 0x00, 0x00, 0x00,
  800. X   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  801. X   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00};
  802. END_OF_FILE
  803. if test 881 -ne `wc -c <'bitmaps/standard/known4.bit'`; then
  804.     echo shar: \"'bitmaps/standard/known4.bit'\" unpacked with wrong size!
  805. fi
  806. # end of 'bitmaps/standard/known4.bit'
  807. fi
  808. if test -f 'bitmaps/standard/known5.bit' -a "${1}" != "-c" ; then 
  809.   echo shar: Will not clobber existing file \"'bitmaps/standard/known5.bit'\"
  810. else
  811. echo shar: Extracting \"'bitmaps/standard/known5.bit'\" \(881 characters\)
  812. sed "s/^X//" >'bitmaps/standard/known5.bit' <<'END_OF_FILE'
  813. X#define known5_width 32
  814. X#define known5_height 32
  815. Xstatic char known5_bits[] = {
  816. X   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xfe, 0x7f, 0x00,
  817. X   0x00, 0xfe, 0x3f, 0x00, 0x00, 0x06, 0x00, 0x00, 0x00, 0x06, 0x00, 0x00,
  818. X   0x00, 0x06, 0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x00, 0x06, 0x00, 0x00,
  819. X   0x00, 0x06, 0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x00, 0x06, 0x00, 0x00,
  820. X   0x00, 0xfe, 0x07, 0x00, 0x00, 0xfe, 0x1f, 0x00, 0x00, 0x00, 0x38, 0x00,
  821. X   0x00, 0x00, 0x60, 0x00, 0x00, 0x00, 0x60, 0x00, 0x00, 0x00, 0x60, 0x00,
  822. X   0x00, 0x00, 0x60, 0x00, 0x00, 0x00, 0x60, 0x00, 0x00, 0x00, 0x60, 0x00,
  823. X   0x00, 0x00, 0x60, 0x00, 0x00, 0x00, 0x60, 0x00, 0x00, 0x01, 0x30, 0x00,
  824. X   0x00, 0x03, 0x30, 0x00, 0x00, 0x07, 0x18, 0x00, 0x00, 0x1e, 0x0e, 0x00,
  825. X   0x00, 0xfc, 0x07, 0x00, 0x00, 0xf0, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00,
  826. X   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00};
  827. END_OF_FILE
  828. if test 881 -ne `wc -c <'bitmaps/standard/known5.bit'`; then
  829.     echo shar: \"'bitmaps/standard/known5.bit'\" unpacked with wrong size!
  830. fi
  831. # end of 'bitmaps/standard/known5.bit'
  832. fi
  833. if test -f 'bitmaps/standard/known6.bit' -a "${1}" != "-c" ; then 
  834.   echo shar: Will not clobber existing file \"'bitmaps/standard/known6.bit'\"
  835. else
  836. echo shar: Extracting \"'bitmaps/standard/known6.bit'\" \(881 characters\)
  837. sed "s/^X//" >'bitmaps/standard/known6.bit' <<'END_OF_FILE'
  838. X#define known6_width 32
  839. X#define known6_height 32
  840. Xstatic char known6_bits[] = {
  841. X   0x00, 0x00, 0x00, 0x00, 0x00, 0xc0, 0x7f, 0x00, 0x00, 0xe0, 0xff, 0x00,
  842. X   0x00, 0x70, 0x80, 0x01, 0x00, 0x18, 0x00, 0x01, 0x00, 0x18, 0x00, 0x00,
  843. X   0x00, 0x18, 0x00, 0x00, 0x00, 0x18, 0x00, 0x00, 0x00, 0x18, 0x00, 0x00,
  844. X   0x00, 0x18, 0x00, 0x00, 0x00, 0x18, 0x00, 0x00, 0x00, 0x18, 0x00, 0x00,
  845. X   0x00, 0x18, 0x00, 0x00, 0x00, 0xd8, 0x7f, 0x00, 0x00, 0xf8, 0xff, 0x01,
  846. X   0x00, 0x38, 0x80, 0x01, 0x00, 0x38, 0x00, 0x03, 0x00, 0x18, 0x00, 0x03,
  847. X   0x00, 0x18, 0x00, 0x03, 0x00, 0x18, 0x00, 0x03, 0x00, 0x18, 0x00, 0x03,
  848. X   0x00, 0x18, 0x00, 0x03, 0x00, 0x18, 0x00, 0x03, 0x00, 0x18, 0x00, 0x03,
  849. X   0x00, 0x30, 0x80, 0x01, 0x00, 0x30, 0xc0, 0x01, 0x00, 0xe0, 0xff, 0x00,
  850. X   0x00, 0xc0, 0x3f, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  851. X   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00};
  852. END_OF_FILE
  853. if test 881 -ne `wc -c <'bitmaps/standard/known6.bit'`; then
  854.     echo shar: \"'bitmaps/standard/known6.bit'\" unpacked with wrong size!
  855. fi
  856. # end of 'bitmaps/standard/known6.bit'
  857. fi
  858. if test -f 'bitmaps/standard/known7.bit' -a "${1}" != "-c" ; then 
  859.   echo shar: Will not clobber existing file \"'bitmaps/standard/known7.bit'\"
  860. else
  861. echo shar: Extracting \"'bitmaps/standard/known7.bit'\" \(881 characters\)
  862. sed "s/^X//" >'bitmaps/standard/known7.bit' <<'END_OF_FILE'
  863. X#define known7_width 32
  864. X#define known7_height 32
  865. Xstatic char known7_bits[] = {
  866. X   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  867. X   0x00, 0xf8, 0x3f, 0x00, 0x00, 0xf8, 0x3f, 0x00, 0x00, 0x08, 0x30, 0x00,
  868. X   0x00, 0x00, 0x30, 0x00, 0x00, 0x00, 0x30, 0x00, 0x00, 0x00, 0x30, 0x00,
  869. X   0x00, 0x00, 0x30, 0x00, 0x00, 0x00, 0x30, 0x00, 0x00, 0x00, 0x38, 0x00,
  870. X   0x00, 0x00, 0x18, 0x00, 0x00, 0x00, 0x1c, 0x00, 0x00, 0x00, 0x0e, 0x00,
  871. X   0x00, 0x00, 0x07, 0x00, 0x00, 0x80, 0x03, 0x00, 0x00, 0x80, 0x01, 0x00,
  872. X   0x00, 0x80, 0x01, 0x00, 0x00, 0x80, 0x01, 0x00, 0x00, 0x80, 0x01, 0x00,
  873. X   0x00, 0x80, 0x01, 0x00, 0x00, 0x80, 0x01, 0x00, 0x00, 0x80, 0x01, 0x00,
  874. X   0x00, 0x80, 0x01, 0x00, 0x00, 0x80, 0x01, 0x00, 0x00, 0x80, 0x01, 0x00,
  875. X   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  876. X   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00};
  877. END_OF_FILE
  878. if test 881 -ne `wc -c <'bitmaps/standard/known7.bit'`; then
  879.     echo shar: \"'bitmaps/standard/known7.bit'\" unpacked with wrong size!
  880. fi
  881. # end of 'bitmaps/standard/known7.bit'
  882. fi
  883. if test -f 'bitmaps/standard/known8.bit' -a "${1}" != "-c" ; then 
  884.   echo shar: Will not clobber existing file \"'bitmaps/standard/known8.bit'\"
  885. else
  886. echo shar: Extracting \"'bitmaps/standard/known8.bit'\" \(881 characters\)
  887. sed "s/^X//" >'bitmaps/standard/known8.bit' <<'END_OF_FILE'
  888. X#define known8_width 32
  889. X#define known8_height 32
  890. Xstatic char known8_bits[] = {
  891. X   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xc0, 0x07, 0x00,
  892. X   0x00, 0xe0, 0x0f, 0x00, 0x00, 0x30, 0x18, 0x00, 0x00, 0x18, 0x30, 0x00,
  893. X   0x00, 0x18, 0x30, 0x00, 0x00, 0x18, 0x30, 0x00, 0x00, 0x18, 0x30, 0x00,
  894. X   0x00, 0x18, 0x30, 0x00, 0x00, 0x30, 0x18, 0x00, 0x00, 0x60, 0x0c, 0x00,
  895. X   0x00, 0xc0, 0x07, 0x00, 0x00, 0xc0, 0x07, 0x00, 0x00, 0x70, 0x1c, 0x00,
  896. X   0x00, 0x18, 0x30, 0x00, 0x00, 0x0c, 0x60, 0x00, 0x00, 0x04, 0x40, 0x00,
  897. X   0x00, 0x06, 0xc0, 0x00, 0x00, 0x06, 0xc0, 0x00, 0x00, 0x06, 0xc0, 0x00,
  898. X   0x00, 0x06, 0xc0, 0x00, 0x00, 0x06, 0xc0, 0x00, 0x00, 0x04, 0x40, 0x00,
  899. X   0x00, 0x0c, 0x60, 0x00, 0x00, 0x18, 0x30, 0x00, 0x00, 0xf0, 0x1f, 0x00,
  900. X   0x00, 0xc0, 0x07, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  901. X   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00};
  902. END_OF_FILE
  903. if test 881 -ne `wc -c <'bitmaps/standard/known8.bit'`; then
  904.     echo shar: \"'bitmaps/standard/known8.bit'\" unpacked with wrong size!
  905. fi
  906. # end of 'bitmaps/standard/known8.bit'
  907. fi
  908. if test -f 'bitmaps/standard/known9.bit' -a "${1}" != "-c" ; then 
  909.   echo shar: Will not clobber existing file \"'bitmaps/standard/known9.bit'\"
  910. else
  911. echo shar: Extracting \"'bitmaps/standard/known9.bit'\" \(881 characters\)
  912. sed "s/^X//" >'bitmaps/standard/known9.bit' <<'END_OF_FILE'
  913. X#define known9_width 32
  914. X#define known9_height 32
  915. Xstatic char known9_bits[] = {
  916. X   0x00, 0x00, 0x00, 0x00, 0x00, 0xc0, 0x07, 0x00, 0x00, 0xe0, 0x0f, 0x00,
  917. X   0x00, 0x30, 0x18, 0x00, 0x00, 0x18, 0x30, 0x00, 0x00, 0x18, 0x30, 0x00,
  918. X   0x00, 0x18, 0x30, 0x00, 0x00, 0x18, 0x30, 0x00, 0x00, 0x10, 0x30, 0x00,
  919. X   0x00, 0x30, 0x38, 0x00, 0x00, 0xe0, 0x3f, 0x00, 0x00, 0xc0, 0x37, 0x00,
  920. X   0x00, 0x00, 0x30, 0x00, 0x00, 0x00, 0x30, 0x00, 0x00, 0x00, 0x10, 0x00,
  921. X   0x00, 0x00, 0x18, 0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x0c, 0x00,
  922. X   0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x00, 0x03, 0x00,
  923. X   0x00, 0x80, 0x01, 0x00, 0x00, 0xe0, 0x00, 0x00, 0x00, 0x78, 0x00, 0x00,
  924. X   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  925. X   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  926. X   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00};
  927. END_OF_FILE
  928. if test 881 -ne `wc -c <'bitmaps/standard/known9.bit'`; then
  929.     echo shar: \"'bitmaps/standard/known9.bit'\" unpacked with wrong size!
  930. fi
  931. # end of 'bitmaps/standard/known9.bit'
  932. fi
  933. if test -f 'bitmaps/standard/think.bit' -a "${1}" != "-c" ; then 
  934.   echo shar: Will not clobber existing file \"'bitmaps/standard/think.bit'\"
  935. else
  936. echo shar: Extracting \"'bitmaps/standard/think.bit'\" \(881 characters\)
  937. sed "s/^X//" >'bitmaps/standard/think.bit' <<'END_OF_FILE'
  938. X#define think2_width 32
  939. X#define think2_height 32
  940. Xstatic char think2_bits[] = {
  941. X   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xf0, 0x07, 0x00,
  942. X   0x00, 0x0c, 0x18, 0x00, 0x00, 0x03, 0x60, 0x00, 0x80, 0x00, 0x80, 0x00,
  943. X   0x80, 0x00, 0x80, 0x00, 0x40, 0x00, 0x00, 0x01, 0x40, 0x00, 0x00, 0x01,
  944. X   0x20, 0x00, 0x00, 0x02, 0x20, 0x00, 0x00, 0x02, 0x20, 0x40, 0x00, 0x02,
  945. X   0x20, 0x10, 0x01, 0x02, 0x20, 0x00, 0x00, 0x02, 0x20, 0x00, 0x01, 0x02,
  946. X   0x20, 0x00, 0x00, 0x02, 0x40, 0x00, 0x01, 0x01, 0x40, 0x80, 0x00, 0x01,
  947. X   0x80, 0x40, 0x82, 0x00, 0x80, 0x00, 0x80, 0x00, 0x00, 0x0f, 0x78, 0x00,
  948. X   0x00, 0xf4, 0x17, 0x00, 0x00, 0x04, 0x10, 0x00, 0x00, 0x0c, 0x18, 0x00,
  949. X   0x00, 0xf4, 0x17, 0x00, 0x00, 0x04, 0x10, 0x00, 0x00, 0x0c, 0x18, 0x00,
  950. X   0x00, 0xf4, 0x17, 0x00, 0x00, 0x04, 0x10, 0x00, 0x00, 0xf8, 0x0f, 0x00,
  951. X   0x00, 0xc0, 0x03, 0x00, 0x01, 0x00, 0x00, 0x00};
  952. END_OF_FILE
  953. if test 881 -ne `wc -c <'bitmaps/standard/think.bit'`; then
  954.     echo shar: \"'bitmaps/standard/think.bit'\" unpacked with wrong size!
  955. fi
  956. # end of 'bitmaps/standard/think.bit'
  957. fi
  958. if test -f 'debug_solver' -a "${1}" != "-c" ; then 
  959.   echo shar: Will not clobber existing file \"'debug_solver'\"
  960. else
  961. echo shar: Extracting \"'debug_solver'\" \(491 characters\)
  962. sed "s/^X//" >'debug_solver' <<'END_OF_FILE'
  963. X#!/usr/local/bin/perl
  964. X
  965. X#
  966. X# debug solver
  967. X# just print out the map
  968. X#
  969. X# %W% (UCLA) %G%
  970. X#
  971. X# statistics is Copyright (C) 1992 by John Heidemann, Los Angeles, CA.
  972. X# All rights reserved.  Permission is granted to freely distribute
  973. X# this as long as this copyright message is retained intact.
  974. X# Permission to distribute this as part of a commerical product
  975. X# requires explicit permission of the author.
  976. X
  977. X$| = 1;
  978. X
  979. Xwhile (<STDIN>) {
  980. X    print STDERR $_;
  981. X    if (/^$/) {
  982. X        print STDOUT "\n";
  983. X    };
  984. X};
  985. X
  986. Xexit 0;
  987. END_OF_FILE
  988. if test 491 -ne `wc -c <'debug_solver'`; then
  989.     echo shar: \"'debug_solver'\" unpacked with wrong size!
  990. fi
  991. chmod +x 'debug_solver'
  992. # end of 'debug_solver'
  993. fi
  994. if test -f 'forced_solver.c' -a "${1}" != "-c" ; then 
  995.   echo shar: Will not clobber existing file \"'forced_solver.c'\"
  996. else
  997. echo shar: Extracting \"'forced_solver.c'\" \(1717 characters\)
  998. sed "s/^X//" >'forced_solver.c' <<'END_OF_FILE'
  999. X
  1000. X/*
  1001. X * forced_solver -
  1002. X * Do the corner rule.
  1003. X *
  1004. X * Improved 22-Sep-92 to also do the basic follow rule.
  1005. X *
  1006. X * forced_solver is Copyright (C) 1992 by John Heidemann, Los Angeles, CA.
  1007. X * All rights reserved.  Permission is granted to freely distribute
  1008. X * this as long as this copyright message is retained intact.
  1009. X * Permission to distribute this as part of a commerical product
  1010. X * requires explicit permission of the author.
  1011. X *
  1012. X */
  1013. X
  1014. X#include <stdio.h>
  1015. X#include "solver_io.h"
  1016. X
  1017. X
  1018. Xint 
  1019. Xapply_flag_if_unknown(x, y, ptr)
  1020. X    int x, y;
  1021. X    void *ptr;
  1022. X{
  1023. X    if (map[x][y].status==unknown) {
  1024. X        map[x][y].status = bomb_flag;
  1025. X        printf ("%d %d f\n", x, y);
  1026. X        return(1);
  1027. X    };
  1028. X    return(0);
  1029. X}
  1030. X
  1031. Xint 
  1032. Xapply_move_if_unknown(x, y, ptr)
  1033. X    int x, y;
  1034. X    void *ptr;
  1035. X{
  1036. X    if (map[x][y].status==unknown) {
  1037. X        map[x][y].status = bomb_flag;
  1038. X        printf ("%d %d m\n", x, y);
  1039. X        return(1);
  1040. X    };
  1041. X    return(0);
  1042. X}
  1043. X
  1044. X
  1045. Xint
  1046. Xplace_em()
  1047. X{
  1048. X    int x, y, ret = 0;
  1049. X    
  1050. X    /*
  1051. X     * This is the basic follow rule.
  1052. X     * If ted==0, it's empty.
  1053. X     */
  1054. X    for (x = 1; x <= width; x++)
  1055. X        for (y = 1; y <= height; y++)
  1056. X            if (map[x][y].status==empty && 
  1057. X                map[x][y].ted == 0) {
  1058. X                ret |= apply_neighbor(x,y,apply_move_if_unknown, NULL);
  1059. X            };
  1060. X
  1061. X    /*
  1062. X     * This is the basic corner rule.
  1063. X     * If ted==empties, it's a bomb.
  1064. X     */
  1065. X    for (x = 1; x <= width; x++)
  1066. X        for (y = 1; y <= height; y++)
  1067. X            if (map[x][y].status==empty && 
  1068. X                map[x][y].ted == map[x][y].neighbor_unknowns) {
  1069. X                ret |= apply_neighbor(x,y,apply_flag_if_unknown, NULL);
  1070. X            };
  1071. X    return(ret);
  1072. X}
  1073. X    
  1074. Xmain()
  1075. X{
  1076. X    int ret;
  1077. X    while (!feof(stdin)) {
  1078. X        read_data();
  1079. X        if (counts[bomb_flag])
  1080. X            exit (1);   /* we don't allow flags, yet */
  1081. X        calc_em();
  1082. X        ret = place_em();
  1083. X        printf ("\n");   /* terminate output */
  1084. X        fflush(stdout);
  1085. X    };
  1086. X    exit (0);
  1087. X}
  1088. END_OF_FILE
  1089. if test 1717 -ne `wc -c <'forced_solver.c'`; then
  1090.     echo shar: \"'forced_solver.c'\" unpacked with wrong size!
  1091. fi
  1092. # end of 'forced_solver.c'
  1093. fi
  1094. if test -f 'prob_solver.c' -a "${1}" != "-c" ; then 
  1095.   echo shar: Will not clobber existing file \"'prob_solver.c'\"
  1096. else
  1097. echo shar: Extracting \"'prob_solver.c'\" \(2128 characters\)
  1098. sed "s/^X//" >'prob_solver.c' <<'END_OF_FILE'
  1099. X
  1100. X/*
  1101. X * probabalistic flag identifier
  1102. X * @(#)prob_solver.c    1.3 (UCLA) 10/6/92
  1103. X *
  1104. X * xbomb is Copyright (C) 1992 by Matthew Merzbacher, Los Angeles, CA.
  1105. X * All rights reserved.  Permission is granted to freely distribute
  1106. X * this as long as this copyright message is retained intact.
  1107. X * Permission to distribute this as part of a commerical product
  1108. X * requires explicit permission of the author.
  1109. X *
  1110. X */
  1111. X
  1112. X
  1113. X#include <stdio.h>
  1114. X#include "solver_io.h"
  1115. X
  1116. X
  1117. X#define KNOWN(s) ((s == empty) || (s == bomb) || (s == edge))
  1118. X    
  1119. Xstruct cell {
  1120. X    float prob, inc;
  1121. X};
  1122. X
  1123. Xstruct cell mymap[MAXWIDTH+2][MAXHEIGHT+2];
  1124. X
  1125. Xint
  1126. Xplace_em()
  1127. X{
  1128. X    int x, y, ret = 0, dx, dy;
  1129. X    int maxx, maxy, found;
  1130. X    float inc, max, tot;
  1131. X    
  1132. X    for (x = 1; x <= width; x++)
  1133. X        for (y = 1; y <= height; y++) {
  1134. X            if ((map[x][y].status == empty) &&
  1135. X               (map[x][y].neighbor_unknowns > 0))
  1136. X                mymap[x][y].inc = 
  1137. X                    ((float) map[x][y].ted) / 
  1138. X                    ((float) map[x][y].neighbor_unknowns);
  1139. X            else mymap[x][y].inc = 0.0;
  1140. X            }
  1141. X            
  1142. X
  1143. X    for (x = 1; x <= width; x++)
  1144. X        for (y = 1; y <= height; y++) {
  1145. X            mymap[x][y].prob = 0.0;
  1146. X            if (map[x][y].status == unknown) {
  1147. X                for (dx = -1; dx <= 1; dx++)
  1148. X                    for (dy = -1; dy <= 1; dy++)
  1149. X                        mymap[x][y].prob += 
  1150. X                            mymap[x+dx][y+dy].inc;
  1151. X                }
  1152. X            }
  1153. X
  1154. X    found = 0;
  1155. X
  1156. X    for (x = 1; x <= width; x++)
  1157. X        for (y = 1; y <= height; y++)
  1158. X            if (map[x][y].status == unknown) {
  1159. X
  1160. X                if (!found || (mymap[x][y].prob > max)) {
  1161. X                    maxx = x; maxy = y;
  1162. X                    max = mymap[x][y].prob;
  1163. X                    found = 1;
  1164. X                    }
  1165. X
  1166. X/*
  1167. X                for (dx = -1; dx <= 1; dx++)
  1168. X                    for (dy = -1; dy <= 1; dy++)
  1169. X                        if (((dx != 0) || (dy != 0)) &&
  1170. X                            map[x+dx][y+dy].status == unknown)
  1171. X                            tot -= mymap[x+dx][y+dy].prob;
  1172. X                        if (!found || (tot > max)) {
  1173. X                            maxx = x; maxy = y;
  1174. X                            max = tot;
  1175. X                            found = 1;
  1176. X                            }
  1177. X*/
  1178. X
  1179. X                }
  1180. X    
  1181. X    printf("%d %d f\n", maxx, maxy);
  1182. X
  1183. X    fprintf(stderr, "%d %d f %0.4f\n", maxx, maxy, max);
  1184. X    
  1185. X    return(ret);
  1186. X}
  1187. X
  1188. Xmain()
  1189. X{
  1190. X    int ret;
  1191. X    while (!feof(stdin)) {
  1192. X        read_data();
  1193. X        if (counts[bomb_flag])
  1194. X            exit (1);   /* we don't allow flags, yet */
  1195. X        calc_em();
  1196. X        ret = place_em();
  1197. X        printf ("\n");   /* terminate output */
  1198. X        fflush(stdout);
  1199. X    };
  1200. X    exit (0);
  1201. X}
  1202. END_OF_FILE
  1203. if test 2128 -ne `wc -c <'prob_solver.c'`; then
  1204.     echo shar: \"'prob_solver.c'\" unpacked with wrong size!
  1205. fi
  1206. # end of 'prob_solver.c'
  1207. fi
  1208. if test -f 'statistics' -a "${1}" != "-c" ; then 
  1209.   echo shar: Will not clobber existing file \"'statistics'\"
  1210. else
  1211. echo shar: Extracting \"'statistics'\" \(1081 characters\)
  1212. sed "s/^X//" >'statistics' <<'END_OF_FILE'
  1213. X#!/usr/local/bin/perl
  1214. X
  1215. X#
  1216. X# output statistics about map
  1217. X# @(#)statistics    1.4 (UCLA) 10/15/92
  1218. X#
  1219. X# statistics is Copyright (C) 1992 by John Heidemann, Los Angeles, CA.
  1220. X# All rights reserved.  Permission is granted to freely distribute
  1221. X# this as long as this copyright message is retained intact.
  1222. X# Permission to distribute this as part of a commerical product
  1223. X# requires explicit permission of the author.
  1224. X#
  1225. X#
  1226. X
  1227. X
  1228. X$| = 1;   # no output buffering
  1229. X
  1230. X
  1231. X
  1232. X#
  1233. X# loop reading boards
  1234. X#
  1235. X
  1236. Xfor (;!eof(STDIN);) {
  1237. X
  1238. X    # read in data
  1239. X    while (<STDIN>) {
  1240. X        chop;
  1241. X        if (/^numbombs (\d+)/) {
  1242. X            $numbombs = $1;
  1243. X        };
  1244. X        last if (/map/);
  1245. X    };
  1246. X    @map = ();
  1247. X    while (<STDIN>) {
  1248. X        last if (/^$/);
  1249. X        chop;
  1250. X        push (@map, $_);
  1251. X    };
  1252. X
  1253. X    $bombsfound = $unknownfound = 0;
  1254. X    # figure stats
  1255. X    foreach (@map) {
  1256. X        $bombsfound += tr/X/X/;
  1257. X        $unknownfound += tr/././;
  1258. X    };
  1259. X
  1260. X    # report stats
  1261. X    print STDERR "Bombs found: $bombsfound\n";
  1262. X    print STDERR "Unkowns found: $unknownfound\n";
  1263. X    printf STDERR "Guess chance: %.5f\n", ($numbombs-$bombsfound) / $unknownfound;
  1264. X    print STDERR "\n";
  1265. X    # we draw no conclusions
  1266. X    print "\n";
  1267. X
  1268. X};
  1269. X
  1270. Xexit (0);
  1271. END_OF_FILE
  1272. if test 1081 -ne `wc -c <'statistics'`; then
  1273.     echo shar: \"'statistics'\" unpacked with wrong size!
  1274. fi
  1275. chmod +x 'statistics'
  1276. # end of 'statistics'
  1277. fi
  1278. if test -f 'xbomb.h' -a "${1}" != "-c" ; then 
  1279.   echo shar: Will not clobber existing file \"'xbomb.h'\"
  1280. else
  1281. echo shar: Extracting \"'xbomb.h'\" \(2299 characters\)
  1282. sed "s/^X//" >'xbomb.h' <<'END_OF_FILE'
  1283. X
  1284. X#include <stdio.h>
  1285. X#include <sys/file.h>
  1286. X#include <sys/wait.h>
  1287. X#include <pwd.h>
  1288. X#include <string.h>
  1289. X
  1290. X#include <errno.h>
  1291. X
  1292. X#include <X11/Xatom.h>
  1293. X#include <X11/Xlib.h>
  1294. X#include <X11/Xutil.h>
  1295. X#include <X11/cursorfont.h>
  1296. X
  1297. X#include <sys/time.h>
  1298. X
  1299. X#ifndef _PATH_SCORE
  1300. Xerror ("_PATH_SCORE must be defined in the Makefile")
  1301. X#endif
  1302. X
  1303. X#ifndef _PATH_SOLVERS
  1304. Xerror ("_PATH_SOLVERS must be defined in the Makefile")
  1305. X#endif
  1306. X
  1307. X#ifndef _PATH_BITMAPS
  1308. Xerror ("_PATH_BITMAPS must be defined in the Makefile")
  1309. X#endif
  1310. X
  1311. X#define NUM_SCORES 100
  1312. X#define MAX_PER_PLAYER 5
  1313. X#define TOP_PRINT 5
  1314. X
  1315. Xtypedef struct score {
  1316. X        char    name[10];
  1317. X        int     size;
  1318. X        int     bombs;
  1319. X        int     defused;
  1320. X    int    won;
  1321. X    int    score;
  1322. X    time_t    time;
  1323. X    int    mine;
  1324. X};
  1325. X
  1326. X    
  1327. X    
  1328. X#define  MAXWIDTH    100
  1329. X#define  MAXHEIGHT    100
  1330. X#define  DEFWIDTH    20
  1331. X#define  DEFHEIGHT    20
  1332. X#define  WIDTH        32
  1333. X#define  HEIGHT        32
  1334. X
  1335. X#define XTOCOLUMN(X)    ((X)/(WIDTH))
  1336. X#define YTOROW(Y)    ((Y)/(HEIGHT) - 1)
  1337. X    
  1338. X#define  EMPTY        10
  1339. X#define  FLAG        11
  1340. X#define  BOMB        12
  1341. X#define  KEMPTY        13
  1342. X#define  KBOMB        14
  1343. X#define  EBOMB        15
  1344. X#define  BORDER        16
  1345. X#define  CHECK 20
  1346. X#define  BLANK          17
  1347. X#define  THINK          18
  1348. X
  1349. Xvoid move_somewhere();
  1350. Xvoid place_flag();
  1351. Xvoid bail();
  1352. X
  1353. X
  1354. Xextern int dead,
  1355. X    numflags,
  1356. X    emptylen,
  1357. X    numempty,
  1358. X    button,
  1359. X    shifted,
  1360. X    numbombs,
  1361. X    width,
  1362. X    height,
  1363. X    ted,
  1364. X    onlyprint,
  1365. X    randomE,
  1366. X    randomB,
  1367. X    seed,
  1368. X    showscore,
  1369. X    betterfollow,
  1370. X    startwithzero,
  1371. X    playagain;
  1372. X
  1373. Xextern char *name;
  1374. Xextern char *bitdir;
  1375. X    
  1376. Xextern char *geom;
  1377. Xextern int borderWidth;
  1378. X
  1379. X#define MAX_SOLVERS 10
  1380. Xextern char *solvers[MAX_SOLVERS];
  1381. Xextern FILE *solver_rfps[MAX_SOLVERS], *solver_wfps[MAX_SOLVERS];
  1382. Xextern int solver_pids[MAX_SOLVERS];
  1383. X
  1384. X
  1385. Xstruct cell {
  1386. X    unsigned status;
  1387. X    unsigned neighbors;
  1388. X    unsigned flag;
  1389. X    int neighbor_kbombs;
  1390. X    int neighbor_unknowns;  /* not maintained */
  1391. X};
  1392. X    
  1393. X#define is_bomb(s)  ((s == BOMB)?1:0)
  1394. X#define is_bomb_or_flag(s) ((s==BOMB || s==FLAG)?1:0)
  1395. X#define is_unknown(s) ((s==BOMB || s==EMPTY)?1:0)
  1396. X
  1397. Xextern struct cell map[MAXWIDTH+2][MAXHEIGHT+2];
  1398. X    
  1399. Xextern Display     *dpy;
  1400. Xextern int         screen;
  1401. Xextern GC          gc;
  1402. X    
  1403. Xextern Window      rootWindow, puzzleWindow;
  1404. Xextern long        FgPixel, BgPixel, BdPixel;
  1405. X    
  1406. Xextern Pixmap pixmaps[20];
  1407. X    
  1408. Xextern int apply_inc_if_bomb(),
  1409. X    apply_inc_if_unknown(),
  1410. X    apply_flag_if_unknown(),
  1411. X    apply_add_neighbor_kbombs();
  1412. END_OF_FILE
  1413. if test 2299 -ne `wc -c <'xbomb.h'`; then
  1414.     echo shar: \"'xbomb.h'\" unpacked with wrong size!
  1415. fi
  1416. # end of 'xbomb.h'
  1417. fi
  1418. echo shar: End of archive 3 \(of 4\).
  1419. cp /dev/null ark3isdone
  1420. MISSING=""
  1421. for I in 1 2 3 4 ; do
  1422.     if test ! -f ark${I}isdone ; then
  1423.     MISSING="${MISSING} ${I}"
  1424.     fi
  1425. done
  1426. if test "${MISSING}" = "" ; then
  1427.     echo You have unpacked all 4 archives.
  1428.     rm -f ark[1-9]isdone
  1429. else
  1430.     echo You still need to unpack the following archives:
  1431.     echo "        " ${MISSING}
  1432. fi
  1433. ##  End of shell archive.
  1434. exit 0
  1435.