home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / x / volume3 / dragon / part10 < prev    next >
Encoding:
Text File  |  1989-04-30  |  6.5 KB  |  198 lines

  1. Path: uunet!island!argv
  2. From: argv@island.uu.net (Dan Heller)
  3. Newsgroups: comp.sources.x
  4. Subject: v03i099:  Dragon -- Game of Mah-Jongg, Part10/10
  5. Message-ID: <731@island.uu.net>
  6. Date: 1 May 89 02:03:27 GMT
  7. Organization: Island Graphics, Marin County, California
  8. Lines: 187
  9. Approved: island!argv@sun.com
  10.  
  11. Submitted-by: Gary E. Barnes <igor!amber!geb>
  12. Posting-number: Volume 3, Issue 99
  13. Archive-name: dragon/part10
  14.  
  15. #! /bin/sh
  16. # This is a shell archive.  Remove anything before this line, then feed it
  17. # into a shell via "sh file" or similar.  To overwrite existing files,
  18. # type "sh file -c".
  19. # The tool that generated this appeared in the comp.sources.unix newsgroup;
  20. # send mail to comp-sources-unix@uunet.uu.net if you want that tool.
  21. # If this archive is complete, you will see the following message at the end:
  22. #        "End of archive 10 (of 10)."
  23. # Contents:  ic/bam_7x8.ic ic/dot_7x8.ic ic/five_7x8.ic ic/four_7x8.ic
  24. #   ic/nine_7x8.ic ic/one_7x8.ic ic/six_7x8.ic ic/three_7x8.ic
  25. #   ic/two_7x8.ic
  26. # Wrapped by argv@island on Sun Apr 30 00:18:37 1989
  27. PATH=/bin:/usr/bin:/usr/ucb ; export PATH
  28. if test -f 'ic/bam_7x8.ic' -a "${1}" != "-c" ; then 
  29.   echo shar: Will not clobber existing file \"'ic/bam_7x8.ic'\"
  30. else
  31. echo shar: Extracting \"'ic/bam_7x8.ic'\" \(182 characters\)
  32. sed "s/^X//" >'ic/bam_7x8.ic' <<'END_OF_FILE'
  33. X#define bam_7x8_width 7
  34. X#define bam_7x8_height 8
  35. X#define bam_7x8_x_hot -1
  36. X#define bam_7x8_y_hot -1
  37. Xstatic char bam_7x8_bits[] = {
  38. X   0x00, 0x1c, 0x36, 0x14, 0x14, 0x36, 0x1c, 0x00};
  39. END_OF_FILE
  40. if test 182 -ne `wc -c <'ic/bam_7x8.ic'`; then
  41.     echo shar: \"'ic/bam_7x8.ic'\" unpacked with wrong size!
  42. fi
  43. # end of 'ic/bam_7x8.ic'
  44. fi
  45. if test -f 'ic/dot_7x8.ic' -a "${1}" != "-c" ; then 
  46.   echo shar: Will not clobber existing file \"'ic/dot_7x8.ic'\"
  47. else
  48. echo shar: Extracting \"'ic/dot_7x8.ic'\" \(182 characters\)
  49. sed "s/^X//" >'ic/dot_7x8.ic' <<'END_OF_FILE'
  50. X#define dot_7x8_width 7
  51. X#define dot_7x8_height 8
  52. X#define dot_7x8_x_hot -1
  53. X#define dot_7x8_y_hot -1
  54. Xstatic char dot_7x8_bits[] = {
  55. X   0x00, 0x2a, 0x1c, 0x36, 0x1c, 0x2a, 0x00, 0x00};
  56. END_OF_FILE
  57. if test 182 -ne `wc -c <'ic/dot_7x8.ic'`; then
  58.     echo shar: \"'ic/dot_7x8.ic'\" unpacked with wrong size!
  59. fi
  60. # end of 'ic/dot_7x8.ic'
  61. fi
  62. if test -f 'ic/five_7x8.ic' -a "${1}" != "-c" ; then 
  63.   echo shar: Will not clobber existing file \"'ic/five_7x8.ic'\"
  64. else
  65. echo shar: Extracting \"'ic/five_7x8.ic'\" \(187 characters\)
  66. sed "s/^X//" >'ic/five_7x8.ic' <<'END_OF_FILE'
  67. X#define five_7x8_width 7
  68. X#define five_7x8_height 8
  69. X#define five_7x8_x_hot -1
  70. X#define five_7x8_y_hot -1
  71. Xstatic char five_7x8_bits[] = {
  72. X   0x00, 0x3e, 0x06, 0x06, 0x18, 0x32, 0x1c, 0x00};
  73. END_OF_FILE
  74. if test 187 -ne `wc -c <'ic/five_7x8.ic'`; then
  75.     echo shar: \"'ic/five_7x8.ic'\" unpacked with wrong size!
  76. fi
  77. # end of 'ic/five_7x8.ic'
  78. fi
  79. if test -f 'ic/four_7x8.ic' -a "${1}" != "-c" ; then 
  80.   echo shar: Will not clobber existing file \"'ic/four_7x8.ic'\"
  81. else
  82. echo shar: Extracting \"'ic/four_7x8.ic'\" \(187 characters\)
  83. sed "s/^X//" >'ic/four_7x8.ic' <<'END_OF_FILE'
  84. X#define four_7x8_width 7
  85. X#define four_7x8_height 8
  86. X#define four_7x8_x_hot -1
  87. X#define four_7x8_y_hot -1
  88. Xstatic char four_7x8_bits[] = {
  89. X   0x00, 0x18, 0x1c, 0x16, 0x3e, 0x18, 0x18, 0x00};
  90. END_OF_FILE
  91. if test 187 -ne `wc -c <'ic/four_7x8.ic'`; then
  92.     echo shar: \"'ic/four_7x8.ic'\" unpacked with wrong size!
  93. fi
  94. # end of 'ic/four_7x8.ic'
  95. fi
  96. if test -f 'ic/nine_7x8.ic' -a "${1}" != "-c" ; then 
  97.   echo shar: Will not clobber existing file \"'ic/nine_7x8.ic'\"
  98. else
  99. echo shar: Extracting \"'ic/nine_7x8.ic'\" \(187 characters\)
  100. sed "s/^X//" >'ic/nine_7x8.ic' <<'END_OF_FILE'
  101. X#define nine_7x8_width 7
  102. X#define nine_7x8_height 8
  103. X#define nine_7x8_x_hot -1
  104. X#define nine_7x8_y_hot -1
  105. Xstatic char nine_7x8_bits[] = {
  106. X   0x00, 0x1c, 0x36, 0x3c, 0x20, 0x36, 0x1c, 0x00};
  107. END_OF_FILE
  108. if test 187 -ne `wc -c <'ic/nine_7x8.ic'`; then
  109.     echo shar: \"'ic/nine_7x8.ic'\" unpacked with wrong size!
  110. fi
  111. # end of 'ic/nine_7x8.ic'
  112. fi
  113. if test -f 'ic/one_7x8.ic' -a "${1}" != "-c" ; then 
  114.   echo shar: Will not clobber existing file \"'ic/one_7x8.ic'\"
  115. else
  116. echo shar: Extracting \"'ic/one_7x8.ic'\" \(182 characters\)
  117. sed "s/^X//" >'ic/one_7x8.ic' <<'END_OF_FILE'
  118. X#define one_7x8_width 7
  119. X#define one_7x8_height 8
  120. X#define one_7x8_x_hot -1
  121. X#define one_7x8_y_hot -1
  122. Xstatic char one_7x8_bits[] = {
  123. X   0x00, 0x18, 0x1c, 0x18, 0x18, 0x18, 0x3c, 0x00};
  124. END_OF_FILE
  125. if test 182 -ne `wc -c <'ic/one_7x8.ic'`; then
  126.     echo shar: \"'ic/one_7x8.ic'\" unpacked with wrong size!
  127. fi
  128. # end of 'ic/one_7x8.ic'
  129. fi
  130. if test -f 'ic/six_7x8.ic' -a "${1}" != "-c" ; then 
  131.   echo shar: Will not clobber existing file \"'ic/six_7x8.ic'\"
  132. else
  133. echo shar: Extracting \"'ic/six_7x8.ic'\" \(182 characters\)
  134. sed "s/^X//" >'ic/six_7x8.ic' <<'END_OF_FILE'
  135. X#define six_7x8_width 7
  136. X#define six_7x8_height 8
  137. X#define six_7x8_x_hot -1
  138. X#define six_7x8_y_hot -1
  139. Xstatic char six_7x8_bits[] = {
  140. X   0x00, 0x1c, 0x36, 0x02, 0x1e, 0x36, 0x1c, 0x00};
  141. END_OF_FILE
  142. if test 182 -ne `wc -c <'ic/six_7x8.ic'`; then
  143.     echo shar: \"'ic/six_7x8.ic'\" unpacked with wrong size!
  144. fi
  145. # end of 'ic/six_7x8.ic'
  146. fi
  147. if test -f 'ic/three_7x8.ic' -a "${1}" != "-c" ; then 
  148.   echo shar: Will not clobber existing file \"'ic/three_7x8.ic'\"
  149. else
  150. echo shar: Extracting \"'ic/three_7x8.ic'\" \(192 characters\)
  151. sed "s/^X//" >'ic/three_7x8.ic' <<'END_OF_FILE'
  152. X#define three_7x8_width 7
  153. X#define three_7x8_height 8
  154. X#define three_7x8_x_hot -1
  155. X#define three_7x8_y_hot -1
  156. Xstatic char three_7x8_bits[] = {
  157. X   0x00, 0x1c, 0x36, 0x18, 0x18, 0x36, 0x1c, 0x00};
  158. END_OF_FILE
  159. if test 192 -ne `wc -c <'ic/three_7x8.ic'`; then
  160.     echo shar: \"'ic/three_7x8.ic'\" unpacked with wrong size!
  161. fi
  162. # end of 'ic/three_7x8.ic'
  163. fi
  164. if test -f 'ic/two_7x8.ic' -a "${1}" != "-c" ; then 
  165.   echo shar: Will not clobber existing file \"'ic/two_7x8.ic'\"
  166. else
  167. echo shar: Extracting \"'ic/two_7x8.ic'\" \(182 characters\)
  168. sed "s/^X//" >'ic/two_7x8.ic' <<'END_OF_FILE'
  169. X#define two_7x8_width 7
  170. X#define two_7x8_height 8
  171. X#define two_7x8_x_hot -1
  172. X#define two_7x8_y_hot -1
  173. Xstatic char two_7x8_bits[] = {
  174. X   0x00, 0x1c, 0x36, 0x30, 0x18, 0x0c, 0x3e, 0x00};
  175. END_OF_FILE
  176. if test 182 -ne `wc -c <'ic/two_7x8.ic'`; then
  177.     echo shar: \"'ic/two_7x8.ic'\" unpacked with wrong size!
  178. fi
  179. # end of 'ic/two_7x8.ic'
  180. fi
  181. echo shar: End of archive 10 \(of 10\).
  182. cp /dev/null ark10isdone
  183. MISSING=""
  184. for I in 1 2 3 4 5 6 7 8 9 10 ; do
  185.     if test ! -f ark${I}isdone ; then
  186.     MISSING="${MISSING} ${I}"
  187.     fi
  188. done
  189. if test "${MISSING}" = "" ; then
  190.     echo You have unpacked all 10 archives.
  191.     rm -f ark[1-9]isdone ark[1-9][0-9]isdone
  192. else
  193.     echo You still need to unpack the following archives:
  194.     echo "        " ${MISSING}
  195. fi
  196. ##  End of shell archive.
  197. exit 0
  198.