home *** CD-ROM | disk | FTP | other *** search
/ Source Code 1994 March / Source_Code_CD-ROM_Walnut_Creek_March_1994.iso / compsrcs / games / volume18 / xmpb / part08 < prev    next >
Encoding:
Text File  |  1993-07-11  |  19.4 KB  |  598 lines

  1. Path: uunet!news.tek.com!saab!billr
  2. From: billr@saab.CNA.TEK.COM (Bill Randle)
  3. Newsgroups: comp.sources.games
  4. Subject: v18i008:  xmpb - multiplayer space combat for X, Part08/08
  5. Date: 26 Jun 1993 00:33:06 GMT
  6. Organization: Tektronix, Inc, Redmond, OR, USA
  7. Lines: 585
  8. Approved: billr@saab.CNA.TEK.COM
  9. Message-ID: <20g5g2$6sr@ying.cna.tek.com>
  10. NNTP-Posting-Host: saab.cna.tek.com
  11. Xref: uunet comp.sources.games:1798
  12.  
  13. Submitted-by: ddp@deakin.edu.au (Damien De Paoli)
  14. Posting-number: Volume 18, Issue 8
  15. Archive-name: xmpb/Part08
  16. Environment: X11, Xlib
  17.  
  18.  
  19.  
  20. #! /bin/sh
  21. # This is a shell archive.  Remove anything before this line, then unpack
  22. # it by saving it into a file and typing "sh file".  To overwrite existing
  23. # files, type "sh file -c".  You can also feed this as standard input via
  24. # unshar, or by typing "sh <file", e.g..  If this archive is complete, you
  25. # will see the following message at the end:
  26. #        "End of archive 8 (of 8)."
  27. # Contents:  bitmaps/atom bitmaps/cloud.1 bitmaps/cloud.3
  28. #   bitmaps/cloud.4 bitmaps/cloud.5 bitmaps/cloud.6 bitmaps/dunno
  29. #   bitmaps/dunno2 bitmaps/hvypulse bitmaps/jam100 bitmaps/jam25
  30. #   bitmaps/jam50 bitmaps/jam75 bitmaps/magneto bitmaps/massdrive
  31. #   bitmaps/mine bitmaps/pulse bitmaps/rail bitmaps/saturn1
  32. #   bitmaps/seeker bitmaps/smallrock bitmaps/star1 bitmaps/star2
  33. #   bitmaps/stipple bits.h clear_lock.c cos.c error.c mnemonics.h
  34. #   save.c
  35. # Wrapped by billr@saab on Fri Jun 25 16:30:16 1993
  36. PATH=/bin:/usr/bin:/usr/ucb ; export PATH
  37. if test -f 'bitmaps/atom' -a "${1}" != "-c" ; then 
  38.   echo shar: Will not clobber existing file \"'bitmaps/atom'\"
  39. else
  40. echo shar: Extracting \"'bitmaps/atom'\" \(81 characters\)
  41. sed "s/^X//" >'bitmaps/atom' <<'END_OF_FILE'
  42. X#define atom_width 1
  43. X#define atom_height 1
  44. Xstatic char atom_bits[] = {
  45. X   0x01};
  46. END_OF_FILE
  47. if test 81 -ne `wc -c <'bitmaps/atom'`; then
  48.     echo shar: \"'bitmaps/atom'\" unpacked with wrong size!
  49. fi
  50. # end of 'bitmaps/atom'
  51. fi
  52. if test -f 'bitmaps/cloud.1' -a "${1}" != "-c" ; then 
  53.   echo shar: Will not clobber existing file \"'bitmaps/cloud.1'\"
  54. else
  55. echo shar: Extracting \"'bitmaps/cloud.1'\" \(434 characters\)
  56. sed "s/^X//" >'bitmaps/cloud.1' <<'END_OF_FILE'
  57. X#define cloud_width 19
  58. X#define cloud_height 19
  59. Xstatic char cloud_bits[] = {
  60. X   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  61. X   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x22, 0x00, 0xc0, 0x18, 0x00,
  62. X   0x00, 0x09, 0x00, 0x00, 0x20, 0x00, 0x40, 0x00, 0x00, 0x00, 0x19, 0x00,
  63. X   0x80, 0x10, 0x00, 0x80, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  64. X   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00};
  65. END_OF_FILE
  66. if test 434 -ne `wc -c <'bitmaps/cloud.1'`; then
  67.     echo shar: \"'bitmaps/cloud.1'\" unpacked with wrong size!
  68. fi
  69. # end of 'bitmaps/cloud.1'
  70. fi
  71. if test -f 'bitmaps/cloud.3' -a "${1}" != "-c" ; then 
  72.   echo shar: Will not clobber existing file \"'bitmaps/cloud.3'\"
  73. else
  74. echo shar: Extracting \"'bitmaps/cloud.3'\" \(434 characters\)
  75. sed "s/^X//" >'bitmaps/cloud.3' <<'END_OF_FILE'
  76. X#define cloud_width 19
  77. X#define cloud_height 19
  78. Xstatic char cloud_bits[] = {
  79. X   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x05, 0x00, 0x40, 0x00, 0x00,
  80. X   0x80, 0x08, 0x00, 0x40, 0xd8, 0x00, 0x10, 0x02, 0x03, 0x08, 0x00, 0x00,
  81. X   0x04, 0x80, 0x02, 0x08, 0x00, 0x02, 0x08, 0x10, 0x01, 0x10, 0x40, 0x00,
  82. X   0x48, 0x08, 0x00, 0x10, 0x41, 0x00, 0x00, 0x02, 0x00, 0x00, 0x47, 0x00,
  83. X   0xc0, 0x28, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00};
  84. END_OF_FILE
  85. if test 434 -ne `wc -c <'bitmaps/cloud.3'`; then
  86.     echo shar: \"'bitmaps/cloud.3'\" unpacked with wrong size!
  87. fi
  88. # end of 'bitmaps/cloud.3'
  89. fi
  90. if test -f 'bitmaps/cloud.4' -a "${1}" != "-c" ; then 
  91.   echo shar: Will not clobber existing file \"'bitmaps/cloud.4'\"
  92. else
  93. echo shar: Extracting \"'bitmaps/cloud.4'\" \(434 characters\)
  94. sed "s/^X//" >'bitmaps/cloud.4' <<'END_OF_FILE'
  95. X#define cloud_width 19
  96. X#define cloud_height 19
  97. Xstatic char cloud_bits[] = {
  98. X   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x05, 0x00, 0x00, 0x00, 0x00,
  99. X   0x00, 0x08, 0x00, 0x40, 0x90, 0x00, 0x10, 0x00, 0x00, 0x08, 0x00, 0x00,
  100. X   0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x08, 0x00, 0x01, 0x10, 0x40, 0x00,
  101. X   0x40, 0x08, 0x00, 0x10, 0x41, 0x00, 0x00, 0x00, 0x00, 0x00, 0x45, 0x00,
  102. X   0x40, 0x28, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00};
  103. END_OF_FILE
  104. if test 434 -ne `wc -c <'bitmaps/cloud.4'`; then
  105.     echo shar: \"'bitmaps/cloud.4'\" unpacked with wrong size!
  106. fi
  107. # end of 'bitmaps/cloud.4'
  108. fi
  109. if test -f 'bitmaps/cloud.5' -a "${1}" != "-c" ; then 
  110.   echo shar: Will not clobber existing file \"'bitmaps/cloud.5'\"
  111. else
  112. echo shar: Extracting \"'bitmaps/cloud.5'\" \(434 characters\)
  113. sed "s/^X//" >'bitmaps/cloud.5' <<'END_OF_FILE'
  114. X#define cloud_width 19
  115. X#define cloud_height 19
  116. Xstatic char cloud_bits[] = {
  117. X   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00,
  118. X   0x00, 0x00, 0x00, 0x40, 0x10, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  119. X   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x40, 0x00,
  120. X   0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x04, 0x00,
  121. X   0x40, 0x20, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00};
  122. END_OF_FILE
  123. if test 434 -ne `wc -c <'bitmaps/cloud.5'`; then
  124.     echo shar: \"'bitmaps/cloud.5'\" unpacked with wrong size!
  125. fi
  126. # end of 'bitmaps/cloud.5'
  127. fi
  128. if test -f 'bitmaps/cloud.6' -a "${1}" != "-c" ; then 
  129.   echo shar: Will not clobber existing file \"'bitmaps/cloud.6'\"
  130. else
  131. echo shar: Extracting \"'bitmaps/cloud.6'\" \(434 characters\)
  132. sed "s/^X//" >'bitmaps/cloud.6' <<'END_OF_FILE'
  133. X#define cloud_width 19
  134. X#define cloud_height 19
  135. Xstatic char cloud_bits[] = {
  136. X   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00,
  137. X   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  138. X   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00,
  139. X   0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  140. X   0x00, 0x20, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00};
  141. END_OF_FILE
  142. if test 434 -ne `wc -c <'bitmaps/cloud.6'`; then
  143.     echo shar: \"'bitmaps/cloud.6'\" unpacked with wrong size!
  144. fi
  145. # end of 'bitmaps/cloud.6'
  146. fi
  147. if test -f 'bitmaps/dunno' -a "${1}" != "-c" ; then 
  148.   echo shar: Will not clobber existing file \"'bitmaps/dunno'\"
  149. else
  150. echo shar: Extracting \"'bitmaps/dunno'\" \(126 characters\)
  151. sed "s/^X//" >'bitmaps/dunno' <<'END_OF_FILE'
  152. X#define dunno_width 8
  153. X#define dunno_height 8
  154. Xstatic char dunno_bits[] = {
  155. X   0x3c, 0x18, 0x99, 0xe7, 0xe7, 0x99, 0x18, 0x3c};
  156. END_OF_FILE
  157. if test 126 -ne `wc -c <'bitmaps/dunno'`; then
  158.     echo shar: \"'bitmaps/dunno'\" unpacked with wrong size!
  159. fi
  160. # end of 'bitmaps/dunno'
  161. fi
  162. if test -f 'bitmaps/dunno2' -a "${1}" != "-c" ; then 
  163.   echo shar: Will not clobber existing file \"'bitmaps/dunno2'\"
  164. else
  165. echo shar: Extracting \"'bitmaps/dunno2'\" \(117 characters\)
  166. sed "s/^X//" >'bitmaps/dunno2' <<'END_OF_FILE'
  167. X#define dunno2_width 6
  168. X#define dunno2_height 6
  169. Xstatic char dunno2_bits[] = {
  170. X   0x12, 0x25, 0x10, 0x02, 0x29, 0x12};
  171. END_OF_FILE
  172. if test 117 -ne `wc -c <'bitmaps/dunno2'`; then
  173.     echo shar: \"'bitmaps/dunno2'\" unpacked with wrong size!
  174. fi
  175. # end of 'bitmaps/dunno2'
  176. fi
  177. if test -f 'bitmaps/hvypulse' -a "${1}" != "-c" ; then 
  178.   echo shar: Will not clobber existing file \"'bitmaps/hvypulse'\"
  179. else
  180. echo shar: Extracting \"'bitmaps/hvypulse'\" \(129 characters\)
  181. sed "s/^X//" >'bitmaps/hvypulse' <<'END_OF_FILE'
  182. X#define hvypulse_width 7
  183. X#define hvypulse_height 7
  184. Xstatic char hvypulse_bits[] = {
  185. X   0x3e, 0x6b, 0x5d, 0x77, 0x5d, 0x6b, 0x3e};
  186. END_OF_FILE
  187. if test 129 -ne `wc -c <'bitmaps/hvypulse'`; then
  188.     echo shar: \"'bitmaps/hvypulse'\" unpacked with wrong size!
  189. fi
  190. # end of 'bitmaps/hvypulse'
  191. fi
  192. if test -f 'bitmaps/jam100' -a "${1}" != "-c" ; then 
  193.   echo shar: Will not clobber existing file \"'bitmaps/jam100'\"
  194. else
  195. echo shar: Extracting \"'bitmaps/jam100'\" \(105 characters\)
  196. sed "s/^X//" >'bitmaps/jam100' <<'END_OF_FILE'
  197. X#define jam100_width 4
  198. X#define jam100_height 4
  199. Xstatic char jam100_bits[] = {
  200. X   0x0f, 0x0f, 0x0f, 0x0f};
  201. END_OF_FILE
  202. if test 105 -ne `wc -c <'bitmaps/jam100'`; then
  203.     echo shar: \"'bitmaps/jam100'\" unpacked with wrong size!
  204. fi
  205. # end of 'bitmaps/jam100'
  206. fi
  207. if test -f 'bitmaps/jam25' -a "${1}" != "-c" ; then 
  208.   echo shar: Will not clobber existing file \"'bitmaps/jam25'\"
  209. else
  210. echo shar: Extracting \"'bitmaps/jam25'\" \(102 characters\)
  211. sed "s/^X//" >'bitmaps/jam25' <<'END_OF_FILE'
  212. X#define jam25_width 4
  213. X#define jam25_height 4
  214. Xstatic char jam25_bits[] = {
  215. X   0x01, 0x04, 0x01, 0x04};
  216. END_OF_FILE
  217. if test 102 -ne `wc -c <'bitmaps/jam25'`; then
  218.     echo shar: \"'bitmaps/jam25'\" unpacked with wrong size!
  219. fi
  220. # end of 'bitmaps/jam25'
  221. fi
  222. if test -f 'bitmaps/jam50' -a "${1}" != "-c" ; then 
  223.   echo shar: Will not clobber existing file \"'bitmaps/jam50'\"
  224. else
  225. echo shar: Extracting \"'bitmaps/jam50'\" \(102 characters\)
  226. sed "s/^X//" >'bitmaps/jam50' <<'END_OF_FILE'
  227. X#define jam50_width 4
  228. X#define jam50_height 4
  229. Xstatic char jam50_bits[] = {
  230. X   0x05, 0x0a, 0x05, 0x0a};
  231. END_OF_FILE
  232. if test 102 -ne `wc -c <'bitmaps/jam50'`; then
  233.     echo shar: \"'bitmaps/jam50'\" unpacked with wrong size!
  234. fi
  235. # end of 'bitmaps/jam50'
  236. fi
  237. if test -f 'bitmaps/jam75' -a "${1}" != "-c" ; then 
  238.   echo shar: Will not clobber existing file \"'bitmaps/jam75'\"
  239. else
  240. echo shar: Extracting \"'bitmaps/jam75'\" \(102 characters\)
  241. sed "s/^X//" >'bitmaps/jam75' <<'END_OF_FILE'
  242. X#define jam75_width 4
  243. X#define jam75_height 4
  244. Xstatic char jam75_bits[] = {
  245. X   0x0e, 0x0b, 0x0e, 0x0b};
  246. END_OF_FILE
  247. if test 102 -ne `wc -c <'bitmaps/jam75'`; then
  248.     echo shar: \"'bitmaps/jam75'\" unpacked with wrong size!
  249. fi
  250. # end of 'bitmaps/jam75'
  251. fi
  252. if test -f 'bitmaps/magneto' -a "${1}" != "-c" ; then 
  253.   echo shar: Will not clobber existing file \"'bitmaps/magneto'\"
  254. else
  255. echo shar: Extracting \"'bitmaps/magneto'\" \(248 characters\)
  256. sed "s/^X//" >'bitmaps/magneto' <<'END_OF_FILE'
  257. X#define magneto_width 13
  258. X#define magneto_height 13
  259. Xstatic char magneto_bits[] = {
  260. X   0xe0, 0x00, 0xf8, 0x03, 0x4c, 0x06, 0xe6, 0x0c, 0x12, 0x09, 0x4b, 0x1a,
  261. X   0xef, 0x1e, 0x4b, 0x1a, 0x12, 0x09, 0xe6, 0x0c, 0x4c, 0x06, 0xf8, 0x03,
  262. X   0xe0, 0x00};
  263. END_OF_FILE
  264. if test 248 -ne `wc -c <'bitmaps/magneto'`; then
  265.     echo shar: \"'bitmaps/magneto'\" unpacked with wrong size!
  266. fi
  267. # end of 'bitmaps/magneto'
  268. fi
  269. if test -f 'bitmaps/massdrive' -a "${1}" != "-c" ; then 
  270.   echo shar: Will not clobber existing file \"'bitmaps/massdrive'\"
  271. else
  272. echo shar: Extracting \"'bitmaps/massdrive'\" \(126 characters\)
  273. sed "s/^X//" >'bitmaps/massdrive' <<'END_OF_FILE'
  274. X#define massdrive_width 6
  275. X#define massdrive_height 6
  276. Xstatic char massdrive_bits[] = {
  277. X   0x0c, 0x1e, 0x3f, 0x3f, 0x1e, 0x0c};
  278. END_OF_FILE
  279. if test 126 -ne `wc -c <'bitmaps/massdrive'`; then
  280.     echo shar: \"'bitmaps/massdrive'\" unpacked with wrong size!
  281. fi
  282. # end of 'bitmaps/massdrive'
  283. fi
  284. if test -f 'bitmaps/mine' -a "${1}" != "-c" ; then 
  285.   echo shar: Will not clobber existing file \"'bitmaps/mine'\"
  286. else
  287. echo shar: Extracting \"'bitmaps/mine'\" \(123 characters\)
  288. sed "s/^X//" >'bitmaps/mine' <<'END_OF_FILE'
  289. X#define mine_width 8
  290. X#define mine_height 8
  291. Xstatic char mine_bits[] = {
  292. X   0x81, 0x42, 0x3c, 0x3c, 0x3c, 0x3c, 0x42, 0x81};
  293. END_OF_FILE
  294. if test 123 -ne `wc -c <'bitmaps/mine'`; then
  295.     echo shar: \"'bitmaps/mine'\" unpacked with wrong size!
  296. fi
  297. # end of 'bitmaps/mine'
  298. fi
  299. if test -f 'bitmaps/pulse' -a "${1}" != "-c" ; then 
  300.   echo shar: Will not clobber existing file \"'bitmaps/pulse'\"
  301. else
  302. echo shar: Extracting \"'bitmaps/pulse'\" \(108 characters\)
  303. sed "s/^X//" >'bitmaps/pulse' <<'END_OF_FILE'
  304. X#define pulse_width 5
  305. X#define pulse_height 5
  306. Xstatic char pulse_bits[] = {
  307. X   0x0e, 0x1b, 0x15, 0x1b, 0x0e};
  308. END_OF_FILE
  309. if test 108 -ne `wc -c <'bitmaps/pulse'`; then
  310.     echo shar: \"'bitmaps/pulse'\" unpacked with wrong size!
  311. fi
  312. # end of 'bitmaps/pulse'
  313. fi
  314. if test -f 'bitmaps/rail' -a "${1}" != "-c" ; then 
  315.   echo shar: Will not clobber existing file \"'bitmaps/rail'\"
  316. else
  317. echo shar: Extracting \"'bitmaps/rail'\" \(93 characters\)
  318. sed "s/^X//" >'bitmaps/rail' <<'END_OF_FILE'
  319. X#define rail_width 3
  320. X#define rail_height 3
  321. Xstatic char rail_bits[] = {
  322. X   0x07, 0x07, 0x07};
  323. END_OF_FILE
  324. if test 93 -ne `wc -c <'bitmaps/rail'`; then
  325.     echo shar: \"'bitmaps/rail'\" unpacked with wrong size!
  326. fi
  327. # end of 'bitmaps/rail'
  328. fi
  329. if test -f 'bitmaps/saturn1' -a "${1}" != "-c" ; then 
  330.   echo shar: Will not clobber existing file \"'bitmaps/saturn1'\"
  331. else
  332. echo shar: Extracting \"'bitmaps/saturn1'\" \(284 characters\)
  333. sed "s/^X//" >'bitmaps/saturn1' <<'END_OF_FILE'
  334. X#define saturn1_width 16
  335. X#define saturn1_height 16
  336. Xstatic char saturn1_bits[] = {
  337. X   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x04,
  338. X   0xc0, 0x03, 0xe0, 0x02, 0x60, 0x03, 0xa0, 0x03, 0xe0, 0x01, 0x10, 0x00,
  339. X   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00};
  340. END_OF_FILE
  341. if test 284 -ne `wc -c <'bitmaps/saturn1'`; then
  342.     echo shar: \"'bitmaps/saturn1'\" unpacked with wrong size!
  343. fi
  344. # end of 'bitmaps/saturn1'
  345. fi
  346. if test -f 'bitmaps/seeker' -a "${1}" != "-c" ; then 
  347.   echo shar: Will not clobber existing file \"'bitmaps/seeker'\"
  348. else
  349. echo shar: Extracting \"'bitmaps/seeker'\" \(192 characters\)
  350. sed "s/^X//" >'bitmaps/seeker' <<'END_OF_FILE'
  351. X#define seeker_width 9
  352. X#define seeker_height 9
  353. Xstatic char seeker_bits[] = {
  354. X   0x28, 0x00, 0xba, 0x00, 0x7c, 0x00, 0xff, 0x01, 0xfe, 0x00, 0xff, 0x01,
  355. X   0x7c, 0x00, 0xba, 0x00, 0x28, 0x00};
  356. END_OF_FILE
  357. if test 192 -ne `wc -c <'bitmaps/seeker'`; then
  358.     echo shar: \"'bitmaps/seeker'\" unpacked with wrong size!
  359. fi
  360. # end of 'bitmaps/seeker'
  361. fi
  362. if test -f 'bitmaps/smallrock' -a "${1}" != "-c" ; then 
  363.   echo shar: Will not clobber existing file \"'bitmaps/smallrock'\"
  364. else
  365. echo shar: Extracting \"'bitmaps/smallrock'\" \(227 characters\)
  366. sed "s/^X//" >'bitmaps/smallrock' <<'END_OF_FILE'
  367. X#define smallrock_width 11
  368. X#define smallrock_height 11
  369. Xstatic char smallrock_bits[] = {
  370. X   0x74, 0x00, 0xfc, 0x01, 0x4e, 0x02, 0xdf, 0x02, 0xf9, 0x07, 0xfa, 0x07,
  371. X   0x7f, 0x06, 0xce, 0x03, 0xd2, 0x03, 0xfd, 0x02, 0x70, 0x00};
  372. END_OF_FILE
  373. if test 227 -ne `wc -c <'bitmaps/smallrock'`; then
  374.     echo shar: \"'bitmaps/smallrock'\" unpacked with wrong size!
  375. fi
  376. # end of 'bitmaps/smallrock'
  377. fi
  378. if test -f 'bitmaps/star1' -a "${1}" != "-c" ; then 
  379.   echo shar: Will not clobber existing file \"'bitmaps/star1'\"
  380. else
  381. echo shar: Extracting \"'bitmaps/star1'\" \(102 characters\)
  382. sed "s/^X//" >'bitmaps/star1' <<'END_OF_FILE'
  383. X#define star1_width 4
  384. X#define star1_height 4
  385. Xstatic char star1_bits[] = {
  386. X   0x04, 0x0a, 0x04, 0x00};
  387. END_OF_FILE
  388. if test 102 -ne `wc -c <'bitmaps/star1'`; then
  389.     echo shar: \"'bitmaps/star1'\" unpacked with wrong size!
  390. fi
  391. # end of 'bitmaps/star1'
  392. fi
  393. if test -f 'bitmaps/star2' -a "${1}" != "-c" ; then 
  394.   echo shar: Will not clobber existing file \"'bitmaps/star2'\"
  395. else
  396. echo shar: Extracting \"'bitmaps/star2'\" \(90 characters\)
  397. sed "s/^X//" >'bitmaps/star2' <<'END_OF_FILE'
  398. X#define star2_width 2
  399. X#define star2_height 2
  400. Xstatic char star2_bits[] = {
  401. X   0x03, 0x03};
  402. END_OF_FILE
  403. if test 90 -ne `wc -c <'bitmaps/star2'`; then
  404.     echo shar: \"'bitmaps/star2'\" unpacked with wrong size!
  405. fi
  406. # end of 'bitmaps/star2'
  407. fi
  408. if test -f 'bitmaps/stipple' -a "${1}" != "-c" ; then 
  409.   echo shar: Will not clobber existing file \"'bitmaps/stipple'\"
  410. else
  411. echo shar: Extracting \"'bitmaps/stipple'\" \(108 characters\)
  412. sed "s/^X//" >'bitmaps/stipple' <<'END_OF_FILE'
  413. X#define stipple_width 4
  414. X#define stipple_height 4
  415. Xstatic char stipple_bits[] = {
  416. X   0x05, 0x0a, 0x05, 0x0a};
  417. END_OF_FILE
  418. if test 108 -ne `wc -c <'bitmaps/stipple'`; then
  419.     echo shar: \"'bitmaps/stipple'\" unpacked with wrong size!
  420. fi
  421. # end of 'bitmaps/stipple'
  422. fi
  423. if test -f 'bits.h' -a "${1}" != "-c" ; then 
  424.   echo shar: Will not clobber existing file \"'bits.h'\"
  425. else
  426. echo shar: Extracting \"'bits.h'\" \(268 characters\)
  427. sed "s/^X//" >'bits.h' <<'END_OF_FILE'
  428. Xstruct menu_p {
  429. X    char menu_name[40]; 
  430. X    char menu_item[40][40];
  431. X    char descr[40][480];
  432. X    int     cost[40];
  433. X    struct menu_p *next;
  434. X};
  435. X
  436. Xstruct menu_p *head, *curr;
  437. X
  438. X#define ITEMS 0
  439. X#define WEAPONS 1
  440. X#define LS 7
  441. X#define RS 8
  442. X#define BS 9
  443. X#define ENERGY 10
  444. X
  445. X#define NUMLRADS 9
  446. X
  447. END_OF_FILE
  448. if test 268 -ne `wc -c <'bits.h'`; then
  449.     echo shar: \"'bits.h'\" unpacked with wrong size!
  450. fi
  451. # end of 'bits.h'
  452. fi
  453. if test -f 'clear_lock.c' -a "${1}" != "-c" ; then 
  454.   echo shar: Will not clobber existing file \"'clear_lock.c'\"
  455. else
  456. echo shar: Extracting \"'clear_lock.c'\" \(263 characters\)
  457. sed "s/^X//" >'clear_lock.c' <<'END_OF_FILE'
  458. X#include <stdio.h>
  459. X
  460. Xint euid;
  461. X
  462. Xmain(argc, argv)
  463. Xint argc;
  464. Xchar *argv[];
  465. X{
  466. X    char buf[160];
  467. X
  468. X    if(argc!=2) 
  469. X    {
  470. X        printf("Usage: %s Name\n", argv[0]);
  471. X        exit(1);
  472. X    }
  473. X    euid=geteuid();
  474. X    strcpy(buf, SAVEDIR);
  475. X    strcat(buf, argv[1]);
  476. X    strcat(buf, ".lock");
  477. X    unlink(buf);
  478. X}
  479. END_OF_FILE
  480. if test 263 -ne `wc -c <'clear_lock.c'`; then
  481.     echo shar: \"'clear_lock.c'\" unpacked with wrong size!
  482. fi
  483. # end of 'clear_lock.c'
  484. fi
  485. if test -f 'cos.c' -a "${1}" != "-c" ; then 
  486.   echo shar: Will not clobber existing file \"'cos.c'\"
  487. else
  488. echo shar: Extracting \"'cos.c'\" \(391 characters\)
  489. sed "s/^X//" >'cos.c' <<'END_OF_FILE'
  490. X/* %M% - *** put a one line description here */
  491. X
  492. X#if !defined(lint)
  493. Xstatic char sccs_id[] = "%Z%%M% %I% %E% XMPB";
  494. X#endif
  495. X#include <math.h>
  496. X
  497. Xmain()
  498. X{
  499. X
  500. X    int i;
  501. Xprintf("int mycostab[] = {\n");
  502. X    for(i=0;i<361;i++)
  503. X    {
  504. X        double a;
  505. X
  506. X        a = (double)i/180.0*M_PI;
  507. X        printf("%d",(int)(32768.0*cos(a)));
  508. X        if(i != 360) printf(",");
  509. X        if(i%10 == 0) printf("\n");    
  510. X        
  511. X    }
  512. Xprintf("};\n");
  513. X   return 0;
  514. X}
  515. X    
  516. END_OF_FILE
  517. if test 391 -ne `wc -c <'cos.c'`; then
  518.     echo shar: \"'cos.c'\" unpacked with wrong size!
  519. fi
  520. # end of 'cos.c'
  521. fi
  522. if test -f 'error.c' -a "${1}" != "-c" ; then 
  523.   echo shar: Will not clobber existing file \"'error.c'\"
  524. else
  525. echo shar: Extracting \"'error.c'\" \(174 characters\)
  526. sed "s/^X//" >'error.c' <<'END_OF_FILE'
  527. X/* error.c - *** Error handler */
  528. X
  529. Xstatic char sccs_id[] = "@(#)error.c 1.5 92/11/24 XMPB";
  530. X#include <stdio.h>
  531. Xxmpb_error(str)
  532. Xchar *str;
  533. X{
  534. X    fprintf(stderr,str);
  535. X    exit(0);
  536. X}
  537. END_OF_FILE
  538. if test 174 -ne `wc -c <'error.c'`; then
  539.     echo shar: \"'error.c'\" unpacked with wrong size!
  540. fi
  541. # end of 'error.c'
  542. fi
  543. if test -f 'mnemonics.h' -a "${1}" != "-c" ; then 
  544.   echo shar: Will not clobber existing file \"'mnemonics.h'\"
  545. else
  546. echo shar: Extracting \"'mnemonics.h'\" \(305 characters\)
  547. sed "s/^X//" >'mnemonics.h' <<'END_OF_FILE'
  548. Xchar ins_name[][6] = {"andr","lodi","lodm","stom","xorr","lter","orr","jmpi",
  549. X                      "eqr","ltr","gtr","gter","notr","jmpc","inpr","oupr",
  550. X                        "jsrc","ret","retc","addr","subr","mulr","divr","modr",
  551. X                        "pushr","popr","pushm","popm","jsri","movr"};
  552. X
  553. END_OF_FILE
  554. if test 305 -ne `wc -c <'mnemonics.h'`; then
  555.     echo shar: \"'mnemonics.h'\" unpacked with wrong size!
  556. fi
  557. # end of 'mnemonics.h'
  558. fi
  559. if test -f 'save.c' -a "${1}" != "-c" ; then 
  560.   echo shar: Will not clobber existing file \"'save.c'\"
  561. else
  562. echo shar: Extracting \"'save.c'\" \(273 characters\)
  563. sed "s/^X//" >'save.c' <<'END_OF_FILE'
  564. Xsave default_save=
  565. X{
  566. X    "", "", "", 1000, 5000, 600, 600, 400, 
  567. X    {2, 1, 3, 2, 1, 3, 0, 0},     
  568. X    {100, 100, 100, 100, 100, -1, -1, 0 },
  569. X    {1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
  570. X    {1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1},
  571. X    0,
  572. X    288950
  573. X};
  574. X
  575. END_OF_FILE
  576. if test 273 -ne `wc -c <'save.c'`; then
  577.     echo shar: \"'save.c'\" unpacked with wrong size!
  578. fi
  579. # end of 'save.c'
  580. fi
  581. echo shar: End of archive 8 \(of 8\).
  582. cp /dev/null ark8isdone
  583. MISSING=""
  584. for I in 1 2 3 4 5 6 7 8 ; do
  585.     if test ! -f ark${I}isdone ; then
  586.     MISSING="${MISSING} ${I}"
  587.     fi
  588. done
  589. if test "${MISSING}" = "" ; then
  590.     echo You have unpacked all 8 archives.
  591.     rm -f ark[1-9]isdone
  592. else
  593.     echo You still need to unpack the following archives:
  594.     echo "        " ${MISSING}
  595. fi
  596. ##  End of shell archive.
  597. exit 0
  598.