home *** CD-ROM | disk | FTP | other *** search
/ Source Code 1994 March / Source_Code_CD-ROM_Walnut_Creek_March_1994.iso / compsrcs / games / volume18 / xboing / part01 < prev    next >
Encoding:
Internet Message Format  |  1993-09-13  |  52.2 KB

  1. Path: uunet!news.tek.com!news.cna.tek.com!not-for-mail
  2. From: billr@saab.cna.tek.com (Bill Randle)
  3. Newsgroups: comp.sources.games
  4. Subject: v18i060:  xboing - blockout variant with color and sound for X, Part01/30
  5. Date: 30 Aug 1993 10:26:17 -0700
  6. Organization: Tektronix, Inc., Redmond, OR
  7. Lines: 1300
  8. Approved: billr@saab.CNA.TEK.COM
  9. Message-ID: <25td7p$hsl@saab.cna.tek.com>
  10. NNTP-Posting-Host: saab.cna.tek.com
  11. Xref: uunet comp.sources.games:1860
  12.  
  13. Submitted-by: jck@kimba.catt.citri.edu.au (Justin Kibell)
  14. Posting-number: Volume 18, Issue 60
  15. Archive-name: xboing/part01
  16. Environment: X11, Xlib, XPM
  17.  
  18.  
  19. [[Many of you have seen this announced in comp.windows.x and have played
  20.   previous versions. I feel it is stable enough now to warrant posting
  21.   here. The xpm and audio files have been uuencoded. Run the sdecode.sh script
  22.   after unpacking to automatically decode them. BTW, this is version 1.7. -br]]
  23.  
  24. [[From the author...]
  25. [XBoing is a simple blockout type game where you have a paddle which you use to
  26. bounce a ball around the game area blowing up blocks with the ball. You win by
  27. obtaining points for each block destroyed and each level completed. The person
  28. with the highest score wins.]
  29.  
  30. #! /bin/sh
  31. # This is a shell archive.  Remove anything before this line, then unpack
  32. # it by saving it into a file and typing "sh file".  To overwrite existing
  33. # files, type "sh file -c".  You can also feed this as standard input via
  34. # unshar, or by typing "sh <file", e.g..  If this archive is complete, you
  35. # will see the following message at the end:
  36. #        "End of archive 1 (of 30)."
  37. # Contents:  README MANIFEST README.changes README.install
  38. #   README.problems README.todo audio bitmaps include levels sounds
  39. #   sounds/ammo.au.uu
  40. # Wrapped by billr@saab on Mon Aug 30 09:14:22 1993
  41. PATH=/bin:/usr/bin:/usr/ucb ; export PATH
  42. if test -f 'README' -a "${1}" != "-c" ; then 
  43.   echo shar: Will not clobber existing file \"'README'\"
  44. else
  45. echo shar: Extracting \"'README'\" \(5885 characters\)
  46. sed "s/^X//" >'README' <<'END_OF_FILE'
  47. XXBoing Version 1.7 
  48. X==================
  49. X
  50. XUpdated: 27th August 1993
  51. X
  52. X
  53. XDescription
  54. X-----------
  55. X
  56. XXBoing is a simple blockout type game where you have a paddle which you use to
  57. Xbounce a ball around the game area blowing up blocks with the ball. You win by
  58. Xobtaining points for each block destroyed and each level completed. The person
  59. Xwith the highest score wins.
  60. X
  61. XXBoing was started like many other projects to learn Xlib better. I had the 
  62. XXPM library and was already using it in a Motif application. I thought that it
  63. Xwould be cool to have nice colour pictures/animations in an Xlib game. So I 
  64. Xdid. Without the XPM library I would be still playing with the colours I think.
  65. X
  66. XPlease read the manual page as the manual has some important game play 
  67. Xinformation. Now I have warned you so don't complain if something doesn't 
  68. Xseem to be correct or that another breakout game did it like that or this. :-)
  69. X
  70. X
  71. XRequirements
  72. X------------
  73. X
  74. XThe XPM library. Version 2.3 upwards tested. 3.2g is fine. Not tested below 2.3
  75. XSuggest you use 3.2g which is available everywhere now. 
  76. X
  77. XA COLOUR X display. I may fix it to use other visuals later. ie: grey. mono
  78. X
  79. XAn ansi or non-ansi compiler. Ansi is better, try gcc.
  80. XA decent GRUNT box to run XBoing. No network travel if possible! :-)
  81. X
  82. XAlso note that if you are on a Sun machine the xnews server is not the
  83. Xquickest and you may experience delays in the game due to its heavy use
  84. Xof pixmaps etc. I suggest playing it with the MIT X Server - hassle I know
  85. Xif you use other Sun software that requires news etc.
  86. X
  87. XNote: It will always be a bit slower on a network so playing on the host
  88. X      machine will give the best results. I have tuned the game for my
  89. X      SparcStation 2 and it runs very fast. I cannot test the game on
  90. X      other machines other the some Xterms and SGI Indigo's.  Disclamier.
  91. X
  92. XThis program doesn't have an Xdefaults file and does not use Motif or Xt. It
  93. Xis a plain XLib program. It runs VERY fast on my computer which is a sparc II.
  94. XIf it is slow then check out the README.problems doco.
  95. X
  96. XPlease don't mail me and ask why it is slow unless you have read the -
  97. XREADME.problems
  98. X
  99. X
  100. XWhere do I get it from
  101. X----------------------
  102. X
  103. XVia anonymous ftp from ftp.x.org  in the contrib directory. 
  104. XThe most recent version is xboing1.7-tar.Z. It may appear on other mirrors
  105. Xthat mirror ftp.x.org or whatever.
  106. X
  107. XPlease do not try to obtain it from my own machine. ftp.x.org is quicker.
  108. XThe game is NOT kept in the ftp account on my machine so don't try please.
  109. X
  110. X
  111. XInstallation/Building game
  112. X--------------------------
  113. X
  114. XPlease read the file called INSTALL. It is important to read this file.
  115. XDon't forget to get the XPM library and compile it up first!
  116. X
  117. X
  118. XUsage
  119. X-----
  120. X
  121. XThe game does have command line options so check them out. 'xboing -help'
  122. X
  123. XThe colourmap is taken over as I need all the colours. Sorry but thats the
  124. Xproblem with only 256 colourmap entries. I cannot see a problem with this.
  125. X
  126. XThe colourmap is released afterwards and should return you to your lovely
  127. Xcolour scheme. If it doesn't please let me know.
  128. X
  129. X
  130. XDevelopement
  131. X------------
  132. X
  133. XXboing was developed on a SparcStation 2 with 48meg memory and a 19" colour
  134. Xdisplay using the MIT X11R5 X server, Motif Window Manager. I used x11ups
  135. Xfor debugging - excellent tool - well done. Sunos 4.1.2 sun4c. Compiled using
  136. Xgcc with warnings on and also tested using the Sun cc compiler (non ansi).
  137. X
  138. XReference books: All of O'Reilly Series, X & Motif Quick reference guide
  139. XGraphics: Titles done on Amiga using Deluxe Paint IV, converted using pbmplus
  140. X          tools and xpm image touch ups with "pixmap".
  141. XSounds:   Mainly from sounds.sdus.edu and also from other places.
  142. X
  143. X
  144. XSpecial Thanks
  145. X--------------
  146. X
  147. XReally Special thanks to Arnaud Le Hors (lehors@sophia.inria.fr) for the
  148. Xwonderful XPM library and for making it free :-).
  149. X
  150. XThanks for a some cool backgrounds found in Anthony's Icons V1.3 (new ones!)
  151. X    Anthony Thyssen - anthony@cit.gu.edu.au
  152. X
  153. XThe comp.windows.x newsgroup netters for help over the past few years. See
  154. Xthe README.changes doco for inline lisitings of the helpers.
  155. X
  156. XThankyou to all those who have contributed. Especially the beta testers here
  157. Xat CATT. It's hard to do any work around here!
  158. X
  159. X    Michael Stone, Andrew Cassin, Iain Lim, Tim Liddelow, Peter Cupit
  160. X    Craig McNaughton, Chris Fu, David Kershaw, Geoff Lambourne
  161. X    Paul McGregor, my 3 cats ...
  162. X
  163. X
  164. XPatches to XBoing
  165. X-----------------
  166. X
  167. XPatches are great and welcomed. Please do as others have and either send them
  168. Xto me or post them to news. Please do NOT place them on ftp.x.org and
  169. Xmake it look like I put it there. I got heaps of mail saying a certain patch
  170. Xdidn't work and I didn't even know it existed. I think it is common courtesy
  171. Xto send me some email about what is going on etc.
  172. X
  173. XAlso - you can do whatever you like at your own site but don't send a patch
  174. Xthat changes the flag on the presentation screen. :-)
  175. X
  176. X
  177. XSuggestions/Bug fixes
  178. X---------------------
  179. X
  180. XI have had many suggestions and bug fixes. I cannot list all the names of the
  181. Xpeople who have helped as it would be a big list and I wouldn't want to
  182. Xleave anyone out. Thankyou to all those who have mailed - you know. ;-)
  183. X
  184. XSee the README.changes doco for more info.
  185. X
  186. X
  187. XGrovel Bit
  188. X----------
  189. X
  190. XIf anyone is feeling really generous or kind they can send money, equipment,
  191. Xcars, travel vouchers or anything for that matter to my humble self and I 
  192. Xwill be very happy. ;-) If that's all a bit much then a friendly email will
  193. Xdo fine. Hope you have fun bouncing your balls. Stay cool.
  194. X
  195. XSurface Mail: 1/17 Albert Rd, North Warrandyte, Victoria, Australia, 3113
  196. X
  197. X--------------------------------------------------------------------------
  198. XJustin C. Kibell - email: jck@citri.edu.au     Phone: +61 3 282 2456
  199. XCITRI - CATT - Australia - Melbourne - Victoria - 723 Swanston St, Carlton
  200. XSystems Programmer - X11 Developer - Motif Head - Volunteer Rescuer - VICSES
  201. END_OF_FILE
  202. if test 5885 -ne `wc -c <'README'`; then
  203.     echo shar: \"'README'\" unpacked with wrong size!
  204. fi
  205. # end of 'README'
  206. fi
  207. if test -f 'MANIFEST' -a "${1}" != "-c" ; then 
  208.   echo shar: Will not clobber existing file \"'MANIFEST'\"
  209. else
  210. echo shar: Extracting \"'MANIFEST'\" \(9341 characters\)
  211. sed "s/^X//" >'MANIFEST' <<'END_OF_FILE'
  212. X   File Name        Archive #    Description
  213. X-----------------------------------------------------------
  214. X COPYRIGHT                 26    
  215. X Imakefile                 24    
  216. X MANIFEST                   1    This shipping list
  217. X Makefile.std              23    
  218. X README                     1    
  219. X README.changes             1    
  220. X README.install             1    
  221. X README.problems            1    
  222. X README.todo                1    
  223. X audio                      1    
  224. X audio/AFaudio.c           23    
  225. X audio/HPaudio.c           25    
  226. X audio/LINUXaudio.c        25    
  227. X audio/NCDaudio.c          24    
  228. X audio/NOaudio.c           28    
  229. X audio/README.audio        29    
  230. X audio/RPLAYaudio.c        21    
  231. X audio/SUNaudio.c          17    
  232. X ball.c                     9    
  233. X bitmaps                    1    
  234. X bitmaps/README.bitmaps    24    
  235. X bitmaps/background.xpm.uu 26    
  236. X bitmaps/background10.xpm.uu 14    
  237. X bitmaps/background11.xpm.uu 17    
  238. X bitmaps/background2.xpm.uu 15    
  239. X bitmaps/background3.xpm.uu 22    
  240. X bitmaps/background4.xpm.uu 18    
  241. X bitmaps/background5.xpm.uu 14    
  242. X bitmaps/background6.xpm.uu 17    
  243. X bitmaps/background7.xpm.uu 18    
  244. X bitmaps/background8.xpm.uu 15    
  245. X bitmaps/background9.xpm.uu 16    
  246. X bitmaps/ball1.xpm.uu      28    
  247. X bitmaps/ball2.xpm.uu      28    
  248. X bitmaps/ball3.xpm.uu      28    
  249. X bitmaps/ball4.xpm.uu      28    
  250. X bitmaps/ballbirth1.xpm.uu 29    
  251. X bitmaps/ballbirth2.xpm.uu 29    
  252. X bitmaps/ballbirth3.xpm.uu 29    
  253. X bitmaps/ballbirth4.xpm.uu 30    
  254. X bitmaps/ballbirth5.xpm.uu 29    
  255. X bitmaps/ballbirth6.xpm.uu 29    
  256. X bitmaps/ballbirth7.xpm.uu 30    
  257. X bitmaps/ballbirth8.xpm.uu 30    
  258. X bitmaps/blackblock.xpm.uu 25    
  259. X bitmaps/blueblock.xpm.uu  27    
  260. X bitmaps/bombblock.xpm.uu  30    
  261. X bitmaps/bonus1.xpm.uu     30    
  262. X bitmaps/bonus2.xpm.uu     30    
  263. X bitmaps/bonus3.xpm.uu     30    
  264. X bitmaps/bonus4.xpm.uu     30    
  265. X bitmaps/bullet.xpm.uu     25    
  266. X bitmaps/counterblock.xpm.uu 27    
  267. X bitmaps/counterblock1.xpm.uu 27    
  268. X bitmaps/counterblock2.xpm.uu 27    
  269. X bitmaps/counterblock3.xpm.uu 30    
  270. X bitmaps/counterblock4.xpm.uu 30    
  271. X bitmaps/counterblock5.xpm.uu 30    
  272. X bitmaps/death1.xpm.uu     26    
  273. X bitmaps/death2.xpm.uu     26    
  274. X bitmaps/death3.xpm.uu     26    
  275. X bitmaps/death4.xpm.uu     26    
  276. X bitmaps/death5.xpm.uu     26    
  277. X bitmaps/digit0.xpm.uu     25    
  278. X bitmaps/digit1.xpm.uu     25    
  279. X bitmaps/digit2.xpm.uu     25    
  280. X bitmaps/digit3.xpm.uu     25    
  281. X bitmaps/digit4.xpm.uu     26    
  282. X bitmaps/digit5.xpm.uu     25    
  283. X bitmaps/digit6.xpm.uu     25    
  284. X bitmaps/digit7.xpm.uu     26    
  285. X bitmaps/digit8.xpm.uu     25    
  286. X bitmaps/digit9.xpm.uu     25    
  287. X bitmaps/earth.xpm.uu1      7    
  288. X bitmaps/earth.xpm.uu2      5    
  289. X bitmaps/earth.xpm.uu3      4    
  290. X bitmaps/earth.xpm.uu4      6    
  291. X bitmaps/earth.xpm.uu5      8    
  292. X bitmaps/emptydigit.xpm.uu 26    
  293. X bitmaps/exblueblock1.xpm.uu  9    
  294. X bitmaps/exblueblock2.xpm.uu 30    
  295. X bitmaps/exblueblock3.xpm.uu 30    
  296. X bitmaps/exbombblock1.xpm.uu 26    
  297. X bitmaps/exbombblock2.xpm.uu 26    
  298. X bitmaps/exbombblock3.xpm.uu 26    
  299. X bitmaps/excounterblock1.xpm.uu 30    
  300. X bitmaps/excounterblock2.xpm.uu 30    
  301. X bitmaps/excounterblock3.xpm.uu 30    
  302. X bitmaps/exdeath1.xpm.uu   26    
  303. X bitmaps/exdeath2.xpm.uu   26    
  304. X bitmaps/exdeath3.xpm.uu   26    
  305. X bitmaps/exdeath4.xpm.uu   26    
  306. X bitmaps/exgreenblock1.xpm.uu 30    
  307. X bitmaps/exgreenblock2.xpm.uu 27    
  308. X bitmaps/exgreenblock3.xpm.uu 27    
  309. X bitmaps/expurpleblock1.xpm.uu 27    
  310. X bitmaps/expurpleblock2.xpm.uu 27    
  311. X bitmaps/expurpleblock3.xpm.uu 27    
  312. X bitmaps/exredblock1.xpm.uu 27    
  313. X bitmaps/exredblock2.xpm.uu 27    
  314. X bitmaps/exredblock3.xpm.uu 27    
  315. X bitmaps/extanblock1.xpm.uu 27    
  316. X bitmaps/extanblock2.xpm.uu 27    
  317. X bitmaps/extanblock3.xpm.uu 27    
  318. X bitmaps/exx2bonus1.xpm.uu 28    
  319. X bitmaps/exx2bonus2.xpm.uu 28    
  320. X bitmaps/exx2bonus3.xpm.uu 28    
  321. X bitmaps/exyellowblock1.xpm.uu 27    
  322. X bitmaps/exyellowblock2.xpm.uu 27    
  323. X bitmaps/exyellowblock3.xpm.uu 27    
  324. X bitmaps/flag.xpm.uu       24    
  325. X bitmaps/fulldigit.xpm.uu  25    
  326. X bitmaps/greenblock.xpm.uu 27    
  327. X bitmaps/highscores.xpm.uu 19    
  328. X bitmaps/hyperspace.xpm.uu 26    
  329. X bitmaps/icon.xpm.uu       24    
  330. X bitmaps/justin.xpm.uu     20    
  331. X bitmaps/kibell.xpm.uu     21    
  332. X bitmaps/killer.xpm.uu     30    
  333. X bitmaps/leftarrow.xpm.uu  28    
  334. X bitmaps/life.xpm.uu       27    
  335. X bitmaps/machinegun.xpm.uu 20    
  336. X bitmaps/mainbackground.xpm.uu 16    
  337. X bitmaps/mouse.xpm.uu      25    
  338. X bitmaps/multiballblock.xpm.uu 26    
  339. X bitmaps/paddleexpand.xpm.uu  7    
  340. X bitmaps/paddlehuge.xpm.uu 26    
  341. X bitmaps/paddlemedium.xpm.uu 27    
  342. X bitmaps/paddleshrink.xpm.uu 28    
  343. X bitmaps/paddlesmall.xpm.uu 28    
  344. X bitmaps/presents.xpm.uu   13    
  345. X bitmaps/purpleblock.xpm.uu 27    
  346. X bitmaps/redblock.xpm.uu   27    
  347. X bitmaps/reverse.xpm.uu    28    
  348. X bitmaps/rightarrow.xpm.uu 28    
  349. X bitmaps/star1.xpm.uu      30    
  350. X bitmaps/star10.xpm.uu     30    
  351. X bitmaps/star11.xpm.uu     30    
  352. X bitmaps/star2.xpm.uu      30    
  353. X bitmaps/star3.xpm.uu      30    
  354. X bitmaps/star4.xpm.uu      30    
  355. X bitmaps/star5.xpm.uu      30    
  356. X bitmaps/star6.xpm.uu      30    
  357. X bitmaps/star7.xpm.uu      29    
  358. X bitmaps/star8.xpm.uu      29    
  359. X bitmaps/star9.xpm.uu      29    
  360. X bitmaps/stickyblock.xpm.uu 25    
  361. X bitmaps/tanblock.xpm.uu   27    
  362. X bitmaps/tink.xpm.uu       28    
  363. X bitmaps/titleB.xpm.uu      6    
  364. X bitmaps/titleBig.xpm.uu    3    
  365. X bitmaps/titleG.xpm.uu     16    
  366. X bitmaps/titleI.xpm.uu     12    
  367. X bitmaps/titleN.xpm.uu      8    
  368. X bitmaps/titleO.xpm.uu     15    
  369. X bitmaps/titleSmall.xpm.uu 24    
  370. X bitmaps/titleX.xpm.uu      3    
  371. X bitmaps/walloff.xpm.uu    28    
  372. X bitmaps/x2bonus1.xpm.uu   28    
  373. X bitmaps/x2bonus2.xpm.uu   28    
  374. X bitmaps/x2bonus3.xpm.uu   28    
  375. X bitmaps/x2bonus4.xpm.uu   28    
  376. X bitmaps/x4bonus1.xpm.uu   28    
  377. X bitmaps/x4bonus2.xpm.uu   28    
  378. X bitmaps/x4bonus3.xpm.uu   28    
  379. X bitmaps/x4bonus4.xpm.uu   28    
  380. X bitmaps/xtraball.xpm.uu   27    
  381. X bitmaps/xtraball2.xpm.uu  14    
  382. X bitmaps/yellowblock.xpm.uu 27    
  383. X blocks.c                   2    
  384. X bonus.c                   19    
  385. X error.c                   25    
  386. X gun.c                     19    
  387. X highscore.c               11    
  388. X include                    1    
  389. X include/README.includes   29    
  390. X include/audio.h           19    
  391. X include/ball.h            25    
  392. X include/blocks.h          25    
  393. X include/bonus.h           26    
  394. X include/copyright.h       26    
  395. X include/error.h           29    
  396. X include/gun.h             29    
  397. X include/highscore.h       26    
  398. X include/init.h            29    
  399. X include/inst.h            29    
  400. X include/intro.h           28    
  401. X include/keys.h            11    
  402. X include/level.h           26    
  403. X include/main.h            28    
  404. X include/mess.h             6    
  405. X include/misc.h            28    
  406. X include/paddle.h          27    
  407. X include/presents.h        29    
  408. X include/score.h           13    
  409. X include/sfx.h             28    
  410. X include/special.h         28    
  411. X include/stage.h           22    
  412. X include/version.h         29    
  413. X init.c                    12    
  414. X inst.c                    14    
  415. X intro.c                   23    
  416. X keys.c                     5    
  417. X level.c                   21    
  418. X levels                     1    
  419. X levels/README.levels      29    
  420. X levels/level1.data        29    
  421. X levels/level10.data       29    
  422. X levels/level11.data       29    
  423. X levels/level12.data       29    
  424. X levels/level13.data       29    
  425. X levels/level14.data       29    
  426. X levels/level15.data       29    
  427. X levels/level16.data       29    
  428. X levels/level17.data       29    
  429. X levels/level18.data       29    
  430. X levels/level19.data       29    
  431. X levels/level2.data        29    
  432. X levels/level20.data       29    
  433. X levels/level21.data       29    
  434. X levels/level22.data       29    
  435. X levels/level23.data       29    
  436. X levels/level24.data       17    
  437. X levels/level25.data       29    
  438. X levels/level26.data       29    
  439. X levels/level27.data       29    
  440. X levels/level28.data       29    
  441. X levels/level29.data       29    
  442. X levels/level3.data        29    
  443. X levels/level30.data       29    
  444. X levels/level31.data       29    
  445. X levels/level32.data       29    
  446. X levels/level33.data       29    
  447. X levels/level34.data       29    
  448. X levels/level35.data       29    
  449. X levels/level36.data       29    
  450. X levels/level37.data       29    
  451. X levels/level38.data       29    
  452. X levels/level39.data       29    
  453. X levels/level4.data        29    
  454. X levels/level40.data       29    
  455. X levels/level41.data       29    
  456. X levels/level42.data       29    
  457. X levels/level43.data       29    
  458. X levels/level44.data       29    
  459. X levels/level45.data       29    
  460. X levels/level46.data       29    
  461. X levels/level47.data       29    
  462. X levels/level48.data       29    
  463. X levels/level49.data       29    
  464. X levels/level5.data        29    
  465. X levels/level50.data       29    
  466. X levels/level6.data        29    
  467. X levels/level7.data        29    
  468. X levels/level8.data        29    
  469. X levels/level9.data        29    
  470. X levels/newlevel.data      29    
  471. X main.c                    12    
  472. X mess.c                    25    
  473. X misc.c                    13    
  474. X paddle.c                   4    
  475. X presents.c                23    
  476. X score.c                   21    
  477. X sdecode.sh                27    
  478. X sfx.c                      7    
  479. X sounds                     1    
  480. X sounds/README.sounds      29    
  481. X sounds/ammo.au.uu          1    
  482. X sounds/applause.au.uu     11    
  483. X sounds/balllost.au.uu     13    
  484. X sounds/ballshot.au.uu     24    
  485. X sounds/boing.au.uu        18    
  486. X sounds/bomb.au.uu         22    
  487. X sounds/bonus.au.uu        28    
  488. X sounds/click.au.uu        28    
  489. X sounds/evillaugh.au.uu    20    
  490. X sounds/game_over.au.uu    22    
  491. X sounds/hyperspace.au.uu   24    
  492. X sounds/intro.au.uu        10    
  493. X sounds/key.au.uu          26    
  494. X sounds/shoot.au.uu        22    
  495. X sounds/shootdeath.au.uu   29    
  496. X sounds/stamp.au.uu        23    
  497. X sounds/superbonus.au.uu   24    
  498. X sounds/toggle.au.uu       25    
  499. X sounds/tone.au.uu         28    
  500. X sounds/touch.au.uu        30    
  501. X sounds/weeek.au.uu        30    
  502. X sounds/whoosh.au.uu        9    
  503. X special.c                 18    
  504. X stage.c                   10    
  505. X version.sh                29    
  506. X xboing.6                  20    
  507. X xboing.man                21    
  508. END_OF_FILE
  509. if test 9341 -ne `wc -c <'MANIFEST'`; then
  510.     echo shar: \"'MANIFEST'\" unpacked with wrong size!
  511. fi
  512. # end of 'MANIFEST'
  513. fi
  514. if test -f 'README.changes' -a "${1}" != "-c" ; then 
  515.   echo shar: Will not clobber existing file \"'README.changes'\"
  516. else
  517. echo shar: Extracting \"'README.changes'\" \(14052 characters\)
  518. sed "s/^X//" >'README.changes' <<'END_OF_FILE'
  519. XXBoing Changes
  520. X==============
  521. X
  522. XVersion 1.7 - 27th August 1993
  523. X-----------------------------
  524. X
  525. X- Checked mail and response. Generally good :-)
  526. X- Fixed Imakefile for the lack of any clue on the install sounds script :-)
  527. X- in -help option -pointerGrab was incorrect. 
  528. X- Cannot shoot your ball as it is being created. I think.
  529. X- Made the copyright notice more complete.
  530. X- Made the highscore file save the real user id and use that for the comparing
  531. X  when updating the highscore file so all those cheats out there cannot chfn
  532. X  and get in the global highscore file more than once :-)
  533. X- Updated troubleshooting in INSTALL.
  534. X- Added the network to long stuff to all the entries in highscore table that
  535. X  are bigger than 1 char.
  536. X- Added flock to the highscore file locking as a define. Thanks to :-
  537. X  Joe Ilacqua <spike@world.std.com> for the idea.
  538. X- Moved all header files to include/ directory and changed all .c to reflect.
  539. X- Added a better way to handle audio source in Imakefile. LinkFile()
  540. X- When more than 1 ball is active and level finishes you get your balls back!
  541. X- Added audio for rplay - thanks to Joel J. Fleck II - <joel@cc.bellcore.com>
  542. X- Removed tone1-9.snd
  543. X- Added Normal/WarningMessage() and changed all calls over to use it if needed.
  544. X- Changed all references to export to ftp.x.org new name for export.lcs.mit.edu
  545. X- Added the trouble shooting doco.
  546. X- Added a cool fading effect to the window.
  547. X- Did a bit of a clean up on some older functions and removed old shit.
  548. X- Border now glows when showing intros.
  549. X- Added -usedefcmap to use default cmap if possible.
  550. X- Removed the animations on the intro screen :-( This is because the new slide
  551. X  effect didn't work with the animations - pity but no great loss.
  552. X- Removed the copyright message from the Imakefile so it is not duplicated.
  553. X- Added AudioFile sound support - Andrew Leahy <A.Leahy@st.nepean.uws.edu.au>
  554. X- Made pointer grabbing default to ON. Suggested by a few people.
  555. X- Made the parsing of the keys much more modular so that it will be easy to
  556. X  add other modes.
  557. X- Added a quit question mode to ask if the user really wants to quit? y/n
  558. X- Added a blind wipe fade effect for highscore - really cool look.
  559. X- Added a special debug macro for debugging.
  560. X- Added a shattering effect.
  561. X
  562. X
  563. XVersion 1.6 - 6th August 1993
  564. X-----------------------------
  565. X
  566. X- Replied to mail argghhh.
  567. X- Added version number to presents screen.
  568. X- Fixed multiball bug where there may be 2 balls bouncing - i dies and you have
  569. X  none spare so it ends - no longer the case.
  570. X- Added some more doco to INSTALL and README
  571. X- Added a new special effect where the specials flash around on the intros.
  572. X- Changed the thankyou to thank you!! Requested too :-)
  573. X- NULL terminated the string returned form strftime() function in highscore.c
  574. X- Added some new backgrounds from Anthony's Icons Volume 1.3.
  575. X- Killed of the spin.au file as it kills the audio for some reason - put
  576. X  a new one in called intro.au that is a powerdown sound.
  577. X- All buttons now shoot bullets in game mode. Also the button starts of the
  578. X  ball instead of the space bar now.
  579. X- Starting level code added. You can start at any level but the highscore
  580. X  table will subtract the starting level from the level attained so the scores
  581. X  are kept even. ie: start = 34  end = 67  level = 33
  582. X- Answered mail - more patches.
  583. X- Note that xnews slows the game down heaps. Bummer.
  584. X- Lots of people getting bad drawable errors :-(
  585. X- FAST_SPEED has been changed from 3L to 1L for gruntish speed.
  586. X  thanks - billr@saab.cna.tek.com
  587. X- Changed a few levels like 7 & 8 to make them a tad easier.
  588. X- Changed the corner bouncing - idea pgh@computer-science.strathclyde.ac.uk
  589. X- Now supports NCD audio format. Thanks to Dave Lemke <lemke@verbosa.ncd.com>
  590. X- Fixed up SUNaudio.c to not have #ifdefs AUDIO.. everywhere - not needed now.
  591. X- Fixed up Imakefile so it wont install sounds if not required.
  592. X- Global highscore file only has one entry per person now. So god like beings
  593. X  cannot completely take over the whole scoreboard!!
  594. X- All level and score functions use u_long so that I can use htonl ntohl for
  595. X  network independent conversion of the score and level. May now work over
  596. X  networks where the machine has different byte ordering for score file only.
  597. X- Added a killer mode where the ball turns red and the ball goes through all
  598. X  blocks like butter. It is activated after 10 bonuses have been collected.
  599. X- Only real errors now get written to stderr - all others to stdout.
  600. X- Added some patches to Imakefile for audio on sparcs jra@hrcms.jazz.att.com
  601. X  Also patched SUNaudio.c so that it opens the audio device without hanging.
  602. X- Pointer grabbing is now an option with default OFF.
  603. X- Fixed bug in options code.
  604. X- You can now set the maximum value for the audio volume.
  605. X- Fixed a bug in the bonus coin code where on some levels they never appeared.
  606. X- Added heaps to the manual page especially on the options.
  607. X- Fixed bug with ball being killed off - didn't work correctly.
  608. X- No longer exits with errorcode 1 on normal exits.
  609. X- Changed the func RenderShape() so it only creates one huge backing store
  610. X  pixmap and reuses it so it reduces calls to server.
  611. X- MAXPATHLEN not found on SYSV apparently and bug in highscore.c fixed. Thanks
  612. X  to John M. Scott <jmscott@setex.august.com>
  613. X- Now displays how many bonuses you have during level.
  614. X- Plays sound when touching a block
  615. X- Added 3 env variables for the highscore file, levels dir, and sounds dir so
  616. X  that you can change them to point to your own cheat level files!!
  617. X
  618. X- Following changes provided by :-
  619. X   - Jean Yves VIONDURY (viondury@mururoa.imag.fr) and
  620. X     Olivier DUMAS (dumas@mururoa.imag.fr) from Bull-IMAG, France.
  621. X
  622. X    . The ball bounce on the paddle has been modified, so that the ball can
  623. X      be oriented better than before.
  624. X    . The autotilt-random function has been changed, to make the auto-tilt
  625. X      function more reliable.
  626. X    . Speed modifiers due to Warp values now propose a linear evolution.
  627. X    . The global high score file is locked when updated, to avoid conflicts
  628. X      and score losses when several people finish their game at the same time.
  629. X      This feature hasn't been extensively tested, as these situations aren't
  630. X      easy to provoke. But we rely on the system to make it work properly.
  631. X
  632. X- You will all notice the improved ball bouncing off the paddle thanks to the
  633. X  above dudes. Thanks again.
  634. X- Thanks to christos@deshaw.com for the patch on alt.sources regarding the
  635. X  extra error cases in error.c and the ansi trigraphs bug.
  636. X- Supports HP audio which I think is .au format as well on the device.
  637. X- Discovered the UNOFFFICIAL patch on export. Hmm - don't like the flag change!
  638. X- Sent a patch by soulard@corto.inria.fr that fixes the problem where the
  639. X  teleport can have problems when it puts the ball in an enclosed area. Thanks.
  640. X- Added a paddle shrink and expand block - removed paddlesize getting smaller
  641. X  as you get higher in the levels as it is too hard.
  642. X- Added README's in all subdirectories. Cleaned up code and directory.
  643. X
  644. X
  645. XVersion 1.5 - 23rd July 1993
  646. X----------------------------
  647. X
  648. X- Thanks for all the responses :-) I think I better post it to news!
  649. X  Our machine is slowwwwwing down from all those ftpers! I asked for it!
  650. X- After first posting I received quite a few mail messages about the
  651. X  Imakefile and compiling on other machines. Well I never said it would
  652. X  so I have now added the patches/suggestions.
  653. X- The semicolin missing was unfortunate. I use gcc by default and that
  654. X  of course didn't need that line of code. Sorry folks.
  655. X- Colourmap problems - well I did warn that it only works for colour!
  656. X  I'll try to get it to work for greyscale - XPM handles it but the
  657. X  pixmaps look bad as they were designed for colour only. Sorry.
  658. X- I forgot a manual page - Done. Please forgive me if it is pox as it is
  659. X  my first go at nroff.
  660. X- Updated the Imakefile more to include the directory installation.
  661. X- A few lose ends in highscore.c fixed. Also took some useless stuff out of
  662. X  the Imakefile.
  663. X- Added a pirate block that will kill the ball when hit. You can shoot the
  664. X  pirate 3 times and lose 1000 points, saves your ball though.
  665. X- Fixed the bullet bug where sometimes on a new level you couldn't shoot
  666. X  even if you had bags of ammo.
  667. X- Displays level name when starting.
  668. X- The way bonuses are added is much better now. Less time wasting.
  669. X- Turned off the graphics exposures in the graphics contexts to speed the
  670. X  while event loop up considerably. Wow, what a difference.
  671. X- Added the timer and special bonus area after squashing the message area
  672. X  smaller. This area will have a count down timer and special modes will be
  673. X  indicated in the special area. The bonus screen now uses the timer bonus.
  674. X- Added TrueColour to the colour test for all those SGI people.
  675. X- Added tink code to clear off tinks.
  676. X- Improvement for the bullet/ball collision.
  677. X- Added an I key for quick Iconification if the boss walks passed.
  678. X- Added a -scores option to print highscores to command line.
  679. X- If the user has a '&' in their gecos it should be expanded to their user
  680. X  name and then the first letter upper case. Patch by jeff@rd1.interlan.com
  681. X- Better parsing of level data. Time bonus is now part of level data.
  682. X- Fixed major ball debris bug. Easy - clear background before copying it for
  683. X  the backing store. Also done for the paddle/bullet. However, I must fix the 
  684. X  collision detection though. Sometimes a bit of a block is cut out. :-(
  685. X- Added code so that when the ball get stuck in a loop, if the paddle is not
  686. X  hit in n seconds then the board will auto tilt.
  687. X- Put code in to time the game and show up in highscore table.
  688. X  Updated both the X bit and commandline bit.
  689. X- Fiddled with the timing routines. Still a bit dodgy.
  690. X- Made some calls in highscore table better and to use misc routines.
  691. X- The ball collision detection now uses regions that get created as the block
  692. X  is created. This is better than a whole lot of if's if you ask me.
  693. X- Also fixed the addbonus code and made a MakeBlockGeometry function to
  694. X  make code more modular.
  695. X- Added a personal highscore feature. Your highscores get saved to a highscore
  696. X  file in your home directory.
  697. X- Took out the beep if the key isn't recognisied. Started shitting me!!
  698. X- Install procedure finally fixed. yeah.
  699. X- Made the mouse move the paddle relative to it's position. Asked for a lot.
  700. X- Also a new commandline option [-keys] will disable the mouse mode and only
  701. X  allow keys to move the paddle. This is better than having both.
  702. X- Added a reverse block - when hit the controls reverse for a time span.
  703. X- The highscore file is now always fchmod()ed to make sure permissions are
  704. X  correct for all players.
  705. X- Added a hyperspace block that will turn off the side wall for the
  706. X  ball and it will wrap around as such.
  707. X- Fixed the text routine calls in intro.c to use calls in misc.c
  708. X- Added SUN audio - yeah yeah yeah again.... -sound option for audio.
  709. X- Fixed the Imakefile to use the audio settings and how to find sounds.
  710. X- Added some sound effects. More later.
  711. X- Added code to highlight the score you just obtained in a game in highscore.
  712. X- Adjusted the code in bonus.c to allow the space to pressed to skip bonus
  713. X  animations but still add the bonus score onto the score etc.
  714. X- Add the specials display at bottom of the window indicating the current
  715. X  specials mode.
  716. X- Added another 10 levels to make a total of 40 levels. It is rather boring
  717. X  creating levels :-)
  718. X- Added a ball kill key <d>.
  719. X- Highscores are saved when quitting with q key.
  720. X- Redesigned the keys screen - added a = audio on/off g = game control
  721. X  added 1-9 for speed control
  722. X- Added an extra ball animation and block.
  723. X- Changed the ball slightly so that it has a white circle around it so it will
  724. X  stand out better on all backgrounds.
  725. X- Cursor is now gone and grabbed to main window.
  726. X- Added applause sound when level is finished.
  727. X- Found a bad bug in FreeBlocks() or something. Cool. fixes -static bug.
  728. X- The gun.c code is re-written so you can shoot more than 1 bullet at a time
  729. X  making a machine gun effect. Really cool!!
  730. X- Added the maching gun block. It now lasts for a whole level.
  731. X- Removed the fore/background colours for gcand to init.c instead of being
  732. X  in the misc.c code - reduces the rendershape routine down by 2 calls.
  733. X- Took out the backgrounds that were complicated and guady. 4 of them
  734. X- Added a walls off block
  735. X- Added a teleport block and it works.
  736. X- Audio can now be toggled on or off while playing game. a key
  737. X- Added the -setup option so sysops can find out whats going on.
  738. X- Removed the sideways level off on scrolling.
  739. X- Took out a few shitty things.
  740. X- Added the presenting screen and all its quirks. More sounds!
  741. X- Added a random block that changes colour every now and then.
  742. X- Fixed the event loops so that when it is iconified it uses hardly and cpu
  743. X  and is much better on the system. Almost dissapears of top!
  744. X- Added multi ball mode - what a change!! Anyway up to six balls can now
  745. X  bounce around causing havoc!
  746. X- Added sticky paddle block and mode - ball sticks to paddle and requires you
  747. X  to shoot it off again.
  748. X- Added some neat sound effects - sorry for the voice ones but I am no sound
  749. X  expert! :-)
  750. X- I think I have removed the flash before the window appears.
  751. X- Fixed they way the blocks explode after a bomb block.
  752. X- Pause is now more friendly to the system like iconify is.
  753. X- added a x2 and x4 bonus as well as fixing the old bonus code.
  754. X- Fixed the kill ball routine to work for multi balls - kill first in array.
  755. X- Made the x2 x4 turn off for each dead ball.
  756. X- You can now shoot some of the specials and get rid of them (3 times)
  757. X- Changed the way the ball checks for collisions - works well now - no
  758. X  left overs and few muck ups. Cool - at last.
  759. X- Manual page update - install updated - readme updated - Imakefile updated
  760. X- Fixed a few little bugs - cannot use escape in bonus mode 
  761. X
  762. XVersion 1.4/1.0 BETA
  763. X--------------------
  764. X
  765. X- Under developement, no time for notes. ;-)
  766. X
  767. X-------------------------------------------------------------------
  768. XJustin Kibell - jck@citri.edu.au - +61 3 282 2456 - Vic - Australia
  769. END_OF_FILE
  770. if test 14052 -ne `wc -c <'README.changes'`; then
  771.     echo shar: \"'README.changes'\" unpacked with wrong size!
  772. fi
  773. # end of 'README.changes'
  774. fi
  775. if test -f 'README.install' -a "${1}" != "-c" ; then 
  776.   echo shar: Will not clobber existing file \"'README.install'\"
  777. else
  778. echo shar: Extracting \"'README.install'\" \(8908 characters\)
  779. sed "s/^X//" >'README.install' <<'END_OF_FILE'
  780. XXBoing Installation
  781. X===================
  782. X
  783. XUpdated: 27th August 1993
  784. X
  785. XRequirements
  786. X------------
  787. X
  788. X- You must be using X11R4 or X11R5. It may work on X11R3 but cannot test it!
  789. X- You must have the XPM pixmap library. The XPM library can be obtained from
  790. X  the following sites:-
  791. X
  792. X  avahi.inria.fr (138.96.24.30)     - Latest revision. (Europe)     V3.2g
  793. X    - in /pub/xpm
  794. X  ftp.x.org (18.24.0.12)            - Latest revision. (America)    V3.2g
  795. X    - in /contrib
  796. X  archie.au (139.130.4.6)           - Latest revision. (Australia)  V3.2g
  797. X    - in /X11/contrib
  798. X
  799. X  The author of XPM is lehors@sophia.inria.fr - BULL Research FRANCE 
  800. X  I suggest you use 3.2g as it has had the best reports. 3.2f may have some
  801. X  problems but works for me!
  802. X
  803. X- v1.6 has now been compiled and I've be told  works on the following machines,
  804. X
  805. X    + SunOS 4.1.2 5 sun4c/sun4m
  806. X    + SunOS Solaris 2.2 LX
  807. X    + IRIX 4.0.5G 12171207 IP7
  808. X    + SGI 310/GTX
  809. X    + HP 9000/720 HP-UX 8.07
  810. X    + DEC 2100
  811. X    + Coherent on i486/386!
  812. X    + NCR 3000
  813. X    + DEC OSF/1 AXP
  814. X    + DECstation 5000/133 ULTRIX 4.2/4.3 0 RISC
  815. X    + AIX 3.2.3e rs6000/350
  816. X    + NetBSD on i486
  817. X    + Linux on i486.
  818. X    + Intel 486 ESIX 4.0.4 X11R4
  819. X
  820. X- You must have a COLOUR display. Sorry to all those B&W dudes. I'll look 
  821. X  into greyscale.
  822. X
  823. X- An ANSI compiler would be nicer however I spent ages changing code with
  824. X  all those lovely #ifdefs so you can use a non-ansi compiler. :-)
  825. X
  826. X- This game DOES NOT need Motif or Xt or anything except pure XLib.
  827. X
  828. X- The xnews Sun X server is NOT the quickest with this game. Be warned.
  829. X
  830. X
  831. XMakefiles
  832. X---------
  833. X
  834. XIncluded in this package is an Imakefile which generates a Makefile that will
  835. Xcompile XBoing using your system setup. For those people without imake, or
  836. Xwho can't get it to compile, a Makefile.std is also included. 
  837. X
  838. X
  839. XCompilation
  840. X-----------
  841. X
  842. XEdit the Imakefile or the Makefile.std and change the default compiler to
  843. Xyour compiler. Also change the compiler flags if necessary. 
  844. X
  845. XChange the $(XBOING_DIR) to point to the place where xboing is to be 
  846. Xinstalled. In that directory xboing will create the highscore file and also
  847. Xplace the level data and sound data.
  848. X
  849. XNOTE: The user can now specify the sounds, level and highscore file locations
  850. X      as environment variables. They are :-
  851. X
  852. XXBOING_SCORE_FILE = the highscore file to be used.
  853. XXBOING_LEVELS_DIR = the directory containing the levels.
  854. XXBOING_SOUND_DIR  = the directory containing the sounds.
  855. X
  856. XAlso set the AUDIO_AVAILABLE flag to True or False to enable the audio in
  857. Xthe game if possible. You may want to disable audio for everyone even if it
  858. Xis available. ie: universities.
  859. X
  860. XCheck the audio directory and see if audio is supported by xboing. Then check
  861. Xthe Imakefile and see if it will automatically use the correct audio source.
  862. XIf not then change the default NOaudio.c to the one you want. For NCD & RPLAY
  863. Xusers that's what you'll have to do. Don't forget to set the AUDIO_LIB and the
  864. XAUDIO_INCLUDE variables.
  865. X
  866. X    LINUXaudio.c    - SoundBlaster support on Linux for PC.
  867. X    RPLAYaudio.c    - Support for the rplay sound system.
  868. X    SUNaudio.c      - Sun workstation audio 
  869. X    NCDaudio.c      - NCD X terminal NCDaudio support. See below.
  870. X    HPaudio.c       - HP audio which is .au format?
  871. X    NOaudio.c       - Default - no audio support file.
  872. X    AFaudio.c       - Audiofile sound server. See below.
  873. X
  874. XThe default will be no audio at all. ie: NOaudio.c
  875. X
  876. X
  877. XAudiofile Sound Server
  878. X----------------------
  879. X
  880. XAlso, the Imakefile needs an "-lAF -lAFUtil" added to it for AudioFile.
  881. X-I<audiofileroot>/AF/AFlib.h -L<audiofileroot>/AF/lib
  882. X
  883. X
  884. XNCD Audio Server or NetAudio
  885. X----------------------------
  886. X
  887. XNeeds -laudio -L<ncdaudiolibdir> -I<ncdincludedir>
  888. X
  889. XRplay sound system
  890. X------------------
  891. X
  892. X?
  893. X
  894. X
  895. X
  896. XPlease work on NOaudio.c if you have another machine that you want to post
  897. Xthe sound too. Note that I am not going to support and other file format than
  898. X.au as I'll have sound files everywhere. :-)
  899. X
  900. X**************************************************************************
  901. XSee the troubleshooting bit near the end of the doco if you have problems.
  902. X**************************************************************************
  903. X
  904. XIf you have imake, type:
  905. X
  906. X    xmkmf
  907. X    make depend
  908. X    make all
  909. X
  910. XX11R5 users can type 'xmkmf -a ; make all' if they like.
  911. X
  912. XIf you do not have imake, type:
  913. X
  914. X    cp Makefile.std Makefile
  915. X    make depend
  916. X    make all
  917. X
  918. X
  919. XInstallation
  920. X------------
  921. X
  922. XTry 'xboing -setup' and see if the compilation has gone as you planned.
  923. XThis option will print out useful information about where xboing will look
  924. Xfor its data files.
  925. X
  926. XPlease note that you must be root to install the game. If you are not root
  927. Xthen you can just run XBoing from your own account.
  928. X
  929. XDon't forget to set the $(XBOING_DIR) in the Makefile/Imakefile and re-compile
  930. Xif you don't like where it will be installed.
  931. X
  932. XFor imake users, type:
  933. X
  934. X    make install             - install XBoing binary.
  935. X    make install.man         - install the manual page.
  936. X
  937. XIf you do not have imake then you must first edit the Makefile.std to check
  938. Xthat where you want the program to be installed.
  939. X
  940. X    make install             - install XBoing binary.
  941. X    make install.man         - install the manual page.
  942. X    
  943. XYou should now have XBoing installed and it's manual page. If not, then please
  944. Xread README.problems.
  945. X
  946. X
  947. XHighScore File
  948. X--------------
  949. X
  950. XIt is automatically created and chmoded to 0666. There will also be a personal
  951. Xhighscore file saved in each users account home directory. This keeps their
  952. Xpersonal highscores. If you have problems then touch one and chmod it to
  953. Xsomething that will work for you. ie: rw for all.
  954. X
  955. XGlobal file is different as it now only contains one entry per person. ie:
  956. Xtheir highest score.
  957. X
  958. XNOTE: **** The highscore file format has changed since v1.6. Any old ones 
  959. X           will barf! Global files have one entry now. Just erase them please.
  960. X
  961. XCopyright
  962. X---------
  963. X
  964. XXBoing: 
  965. X
  966. X/*****************************************************************************
  967. X          (c) Copyright 1993, Justin C. Kibell, All Rights Reserved
  968. X                           email: jck@citri.edu.au
  969. X
  970. X  Permission to use, copy, modify, and distribute this software and its
  971. X  documentation without written agreement is hereby granted. You cannot sell 
  972. X  this software without written permission from the author. This entire 
  973. X  copyright notice must appear in all copies of this software.
  974. X
  975. X  IN NO EVENT SHALL THE AUTHOR BE LIABLE TO ANY PARTY FOR DIRECT, INDIRECT, 
  976. X  SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OF 
  977. X  THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF THE AUTHOR HAS BEEN ADVISED 
  978. X  OF THE POSSIBILITY OF SUCH DAMAGE.
  979. X
  980. X  THE AUTHOR SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, BUT NOT LIMITED 
  981. X  TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 
  982. X  PURPOSE.  THE SOFTWARE PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE 
  983. X  AUTHOR HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, 
  984. X  ENHANCEMENTS, OR MODIFICATIONS.
  985. X
  986. X *****************************************************************************/
  987. X
  988. XXpm:
  989. X  ----------------------------------------------------------------------------
  990. X/*
  991. X * Copyright 1990-93 GROUPE BULL
  992. X *
  993. X * Permission to use, copy, modify, and distribute this software and its
  994. X * documentation for any purpose and without fee is hereby granted, provided
  995. X * that the above copyright notice appear in all copies and that both that
  996. X * copyright notice and this permission notice appear in supporting
  997. X * documentation, and that the name of GROUPE BULL not be used in advertising
  998. X * or publicity pertaining to distribution of the software without specific,
  999. X * written prior permission.  GROUPE BULL makes no representations about the
  1000. X * suitability of this software for any purpose.  It is provided "as is"
  1001. X * without express or implied warranty.
  1002. X *
  1003. X * GROUPE BULL disclaims all warranties with regard to this software,
  1004. X * including all implied warranties of merchantability and fitness,
  1005. X * in no event shall GROUPE BULL be liable for any special,
  1006. X * indirect or consequential damages or any damages
  1007. X * whatsoever resulting from loss of use, data or profits,
  1008. X * whether in an action of contract, negligence or other tortious
  1009. X * action, arising out of or in connection with the use
  1010. X * or performance of this software.
  1011. X *
  1012. X */
  1013. X
  1014. XArnaud LE HORS      BULL Research FRANCE -- Koala Project
  1015. X                    (XPM - X PixMap format version 2 & 3)
  1016. X    Internet:       lehors@sophia.inria.fr
  1017. XSurface Mail:       Arnaud LE HORS, INRIA - Sophia Antipolis,
  1018. X                    2004, route des Lucioles, 06565 Valbonne Cedex -- FRANCE
  1019. X Voice phone:       (33) 93.65.77.71, Fax: (33) 93 65 77 66, Telex: 97 00 50 F
  1020. X  ----------------------------------------------------------------------------
  1021. X
  1022. X-------------------------------------------------------------------------------
  1023. XJustin Kibell - jck@citri.edu.au - +61 3 282 2456 - Vic - Australia
  1024. END_OF_FILE
  1025. if test 8908 -ne `wc -c <'README.install'`; then
  1026.     echo shar: \"'README.install'\" unpacked with wrong size!
  1027. fi
  1028. # end of 'README.install'
  1029. fi
  1030. if test -f 'README.problems' -a "${1}" != "-c" ; then 
  1031.   echo shar: Will not clobber existing file \"'README.problems'\"
  1032. else
  1033. echo shar: Extracting \"'README.problems'\" \(3318 characters\)
  1034. sed "s/^X//" >'README.problems' <<'END_OF_FILE'
  1035. XXBoing Trouble-Shooting
  1036. X=======================
  1037. X
  1038. XUpdated: 27th August 1993
  1039. X
  1040. XI was hoping you wouldn't be reading this but anyway ...
  1041. X
  1042. Xmake depend
  1043. X
  1044. X    Some header files in xboing were not found. Check the includes and see
  1045. X    if the Imakefile/Makefile.std includes in the correct directory. If all
  1046. X    else fails then xmkmf/cp Ma..std Makefile again and forget it.
  1047. X
  1048. Xxpm.h
  1049. X
  1050. X    You must have the Xpm library as explained in the requirements section.
  1051. X    XBoing uses the Xpm library extensively. If you have it then please check
  1052. X    that the XPMINCLUDE dir is set correctly in the Imakefile/Makefile.std
  1053. X
  1054. XHeader Files  
  1055. X
  1056. X    Maybe you have the X11 header files in another place. Please check the 
  1057. X    Imakefile or Makefile.std and change the -I directories to your site. 
  1058. X    If you are using imake then tell your sysop that imake didn't look
  1059. X    in the correct place for the X11 header files. 
  1060. X
  1061. XHighscore file is corrupt
  1062. X
  1063. X    I have changed the highscore file format since v1.6. Sorry but it is 
  1064. X    much better now and will save times etc. Just delete the old one and 
  1065. X    start again. The file locking will not work over NFS.
  1066. X
  1067. XHighscore file locking problem
  1068. X
  1069. X    I am currently locking the file with either lockf or flock. lockf() will
  1070. X    work over a NFS file system when the lockd deamon is running. Some people
  1071. X    with machines that have their bits backwards :-( may have some problems.
  1072. X    I may need to work on the highscore file format read and writing. :-(
  1073. X
  1074. XStrange libraries needed
  1075. X
  1076. X    Check the Imakefile or Makefile.std and make sure the sysop has installed
  1077. X    the Imake.rules correctly. If all else fails just remove them one by one
  1078. X    until it compiles.
  1079. X
  1080. XCrashes with bad drawable
  1081. X
  1082. X    Make sure that the program is not compiled with -ansi as ansi trigraphs
  1083. X    may have been found during compilation and that stuffs up the pixmap data.
  1084. X
  1085. X    Also check that the version of xpm is the latest ie: 3.2g as people have
  1086. X    mentioned that any version below can cause problems. :-(
  1087. X
  1088. X    Also try with K&R C compiler that is non-ansi and see if that makes any
  1089. X    difference.
  1090. X
  1091. XColourmap is all black
  1092. X
  1093. X    Don't use the -pointergrab option as some window managers barf when the
  1094. X    pointer is grabbed :-(
  1095. X
  1096. XSound not working & Levels not working
  1097. X
  1098. X    Check your sound directory and make sure that you don't have any ENV vars
  1099. X    set that will be used first.
  1100. X
  1101. XClicks in sound
  1102. X
  1103. X    This may be because the sound files have a small header and your audio
  1104. X    device may not support .au Sun Audio files so you will hear a small click
  1105. X    which is actually the sound header. If it becomes a problem edit the files
  1106. X    and remove the first bit of the file until it doesn't click!
  1107. X
  1108. XAnsi trigraphs
  1109. X
  1110. X    Try not to use -ansi as it can cause ANSI trigraphs in the data files and
  1111. X    that converts a few characters to one causing an XPM error. Bummer.
  1112. X
  1113. XIf you cannot get it working still and you have tried hard email at the
  1114. Xaddress supplied and send along 'xboing -setup' output, obviously if you have
  1115. Xgot it compiled!!
  1116. X
  1117. XPS: You can try xboing -debug to find out which function the program is barfing
  1118. X    in. If you can send me the function name with the email it will help.
  1119. X
  1120. X-------------------------------------------------------------------------------
  1121. XJustin Kibell - jck@citri.edu.au - +61 3 282 2456 - Vic - Australia
  1122. END_OF_FILE
  1123. if test 3318 -ne `wc -c <'README.problems'`; then
  1124.     echo shar: \"'README.problems'\" unpacked with wrong size!
  1125. fi
  1126. # end of 'README.problems'
  1127. fi
  1128. if test -f 'README.todo' -a "${1}" != "-c" ; then 
  1129.   echo shar: Will not clobber existing file \"'README.todo'\"
  1130. else
  1131. echo shar: Extracting \"'README.todo'\" \(2704 characters\)
  1132. sed "s/^X//" >'README.todo' <<'END_OF_FILE'
  1133. XXBoing Version 1.7
  1134. X==================
  1135. X
  1136. XUpdated: 27th August 1993
  1137. X
  1138. X-------------------------------------
  1139. XThings that *may* be done in the future
  1140. X-------------------------------------
  1141. X
  1142. XBuiltin level editor. Next of the old block!
  1143. X
  1144. XHave blocks that drop onto paddle and give you different things. - very hard!
  1145. X
  1146. Xinvisible blocks that flash every now and then and also when hit. - maybe
  1147. X
  1148. XGreyscale version or b&w - ages or soonish. Depends. I would have to redisgn 
  1149. Xa lot of the game and take out a lot of features.
  1150. X
  1151. XGravity? Block - not likely.
  1152. X
  1153. Xput specials in level file that can appear randomly - next version.
  1154. X
  1155. Xunlimited ammo block - last for entire level - next version.
  1156. X
  1157. XBall to ball collisions to work. Someone could work on this using vectors to 
  1158. Xmake it realistic ie: like billiard balls but not too complicated or slow?
  1159. X
  1160. XMake multi-player with a paddle at each end of playfield. Long way off!
  1161. X
  1162. XBTW, the Imakefile claims that AUDIO_AVAILABLE is set to True for HP-UX and
  1163. Xyet I can't enable it during the game. One tip: you might like to do a:
  1164. Xmaybe way to go - system("cat sound.au >/dev/audio &");
  1165. X
  1166. Xheadphone jack idea - on non-headphone machines issue message.
  1167. Xsuggested by Carl Johnson <carlj@cyclone.bt.co.uk>
  1168. X
  1169. XWhen creating ball it can be popped. Argg.
  1170. X
  1171. XPlace all sounds in memory in array when used.
  1172. Xsuggested by Xyvind Yrke <oyvind@stavanger.sgp.slb.com>
  1173. X
  1174. XPeople want autotilt back in place. :-) Arggh.
  1175. X
  1176. XChange filenames so all sizes are less than 14 chars for shitty unix's. :-(
  1177. X
  1178. XAutomatically adjust paddle pos when reverse is turn on and off. Sort of done.
  1179. X
  1180. XMake sure that multiball does work correctly and give you back a ball if you
  1181. Xhave more than one on the screen when finishing a level.
  1182. X
  1183. X
  1184. X----------
  1185. XKnown Bugs
  1186. X----------
  1187. X
  1188. XSmall cut away on some bricks when bouncing off them.
  1189. X
  1190. XSometimes the ball zooms straight through the paddle - mostly vertical.
  1191. X
  1192. XWhen the shrink paddle block gets hit it may not refresh the paddle the
  1193. Xbest and leave a bit behind but will be erased if you move the paddle.
  1194. X
  1195. XMaybe still bugs in the multiball code when more than one ball is moving and
  1196. Xa ball dies.
  1197. X
  1198. XBall can still get stuck in an infinite loop on two solid walls and may 
  1199. Xsometimes zoom straight up one wall on the left or right.
  1200. X
  1201. XUses too much memory in the X Server for some people. he he
  1202. X
  1203. XI think on the SGI the paddle isn't refreshed between levels? Verify??
  1204. X
  1205. X      ___
  1206. X     (o o)
  1207. X+-oo0-\_/-0oo---------------------------------------------------------------+
  1208. X|Justin Kibell - Systems Programmer - VICSES Rescuer - Chief Fire Warden ;-)|
  1209. X|   email: jck@citri.edu.au   Phone: +61 3 282 2456  Fax: +61 3 282 2490    |
  1210. X+---------------------------------------------------------------------------+
  1211. END_OF_FILE
  1212. if test 2704 -ne `wc -c <'README.todo'`; then
  1213.     echo shar: \"'README.todo'\" unpacked with wrong size!
  1214. fi
  1215. # end of 'README.todo'
  1216. fi
  1217. if test ! -d 'audio' ; then
  1218.     echo shar: Creating directory \"'audio'\"
  1219.     mkdir 'audio'
  1220. fi
  1221. if test ! -d 'bitmaps' ; then
  1222.     echo shar: Creating directory \"'bitmaps'\"
  1223.     mkdir 'bitmaps'
  1224. fi
  1225. if test ! -d 'include' ; then
  1226.     echo shar: Creating directory \"'include'\"
  1227.     mkdir 'include'
  1228. fi
  1229. if test ! -d 'levels' ; then
  1230.     echo shar: Creating directory \"'levels'\"
  1231.     mkdir 'levels'
  1232. fi
  1233. if test ! -d 'sounds' ; then
  1234.     echo shar: Creating directory \"'sounds'\"
  1235.     mkdir 'sounds'
  1236. fi
  1237. if test -f 'sounds/ammo.au.uu' -a "${1}" != "-c" ; then 
  1238.   echo shar: Will not clobber existing file \"'sounds/ammo.au.uu'\"
  1239. else
  1240. echo shar: Extracting \"'sounds/ammo.au.uu'\" \(2634 characters\)
  1241. sed "s/^X//" >'sounds/ammo.au.uu' <<'END_OF_FILE'
  1242. Xbegin 644 ammo.au
  1243. XM+G-N9````"#_____`````0``'T`````!``````````"UM34U-34U-;6UM;6U
  1244. XMM34U-34U-;6UM;6UM34U-34U-;6UM;6UM34U-34U-4VUM;6UM;4U-34U-36U
  1245. XMM;6UM;4U-34U-36UM;6UM;4U-34V-C:VMK:VMK99-C8V-C:VMK:VMK8V-C8V
  1246. XM-C9`MK:VMK:V-C8V-C8VMK:VMK:V-C8V-C<WMK:VMK:V.#@X.#@XN+BXN+BX
  1247. XM.3DY.3HZ.KJZNKJZ.SL[.SL[N[N[O+R\O#P\/#P]/;V]O;V]O3X^/CX^/KZ^
  1248. XMOK^_OT!`0$!`0<'!P<'!P4%$1$1$1.O$Q,7%Q<5&1D9&2$C(R,C(R,](2DI*
  1249. XM2DK*RLK,S,Q-34U-34_/S\_/S\]/3T]/3T_/S\_/T=%34U-34U/_T='1T='1
  1250. XM4U=75U=7U]?7V]O;6UM;6UM;V]O;V]O;6UMC8V-CW]_?W]_?8V-C8V-CY^?G
  1251. XMY^?G:VMK:VMK____________M;4U-34U-34U-36UM;6UM;6UM34U-34U-34U
  1252. XM-;6UM;6UM;6U-34U-34U-34UM;6UM;6UM;6U-34U-34U-36UM;6UM;6UM;4U
  1253. XM-34U-34U-36UM;6UM;6UM34U-34U-34U-;6UM;6UM;6UM34U-34V-C8VMK:V
  1254. XMMK:VMK:V-C8V-C8V-C:VMK:VMK:VMK8V-C8V-C8V-C:VMK:VMK:VMC8V-C8V
  1255. XM-C8V-K:VMK:VMK:VMC8V-C8V-S<WMK:VMK:VMK:V.#@X.#@X.#@XN+BXN+BX
  1256. XMN+@Y.3DY.3DZ.CJZNKJZNKJZNCH[.SL[.SL[.[N[N[R\O+R\O#P\/#P\/#T]
  1257. XMO;V]O;V]O;V]/3X^/CX^/CX^OKZ^O[^_O[]`0$!`0$!`04'!P<'!P<'!P<%$
  1258. XM1$1$1$1$1,3$Q,3%Q<7%Q49&1D9&1D9(R,C(R,C(R,C(2$I*2DI*2DI*RLK*
  1259. XMRLS,S,Q-34U-34U-34_/S\_/S\_/ST]/3T]/3T]/3\_/S\_/T='1T5-34U-3
  1260. XM4U-34]'1T='1T='14U-75U=75U=7U]?7U]?;V]M;6UM;6UM;6UO;V]O;V]O;
  1261. XMV]M;6V-C8V-C8]_?W]_?W]_?WV-C8V-C8V-CY^?GY^?GY^?G:VMK:VMK:VMK
  1262. XMM34U-34U-;6UM;6UM34U-34U-;6UM;6UM44U-34U-36UM;6UM;4U-34U-36U
  1263. XMM;6UM;4U-34U-36UM;6UM;4U-34U-36UM;6UM;4U-34V-C:VMK:VMK99-C8V
  1264. XM-C8VMK:VMK:V-C8V-C8VMK:VMK:V-C8V-C8VMK:VMK:V-C8V-C<WMK:VMK:V
  1265. XM.#@X.#@XN+BXN+BX.3DY.3HZ.KJZNKJZNCL[.SL[.[N[O+R\O#P\/#P]/;V]
  1266. XMO;V]O3T^/CX^/KZ^OK^_OT%`0$!`04'!P<'!P4%$1$1$1.O$Q,7%Q<5&1D9&
  1267. XM1DC(R,C(R,A(2DI*2DK*RLK,S,Q-34U-34W/S\_/S\]93T]/3T]5S\_/T='1
  1268. XM4U-34U/_T='1T='14U=75U=7U]?7V]O;6UM;6UM;V]O;V]O;6UMC8V-CW]_?
  1269. XMW]_?=V-C8V-C8^?GY^?GYVMK:VMK:____________________^?W]W=WM;4U
  1270. XM-34U-34U-34U-36YM;6UM;6UM;6UM;4U-34U-34U-34U-37.M;6UM;6UM;6U
  1271. XMM;5'-34U-34U-34U-35+M:^[N[N[N[NOKZ^O.SLO+R\O+R\[.SMOKZ^[N[N[
  1272. XMN[NOKZ_$.SLO+R\O+R\S.SL[KZ^ON[N[N[N[KZ^O.SL[+R\O+R\O.SL[KZ^O
  1273. XMN[N[N[N[KZ^O.SL[+R\O,#`P/#P\L+"PO+R\O+R\N;"P3#P\/#`P,#`P,#P\
  1274. XMM["PL+R\O+R[N["P[SP\/#`P,#`P,#L[P["PL+N[N[N[N[&Q3#L[.S$Q,3$Q
  1275. XM,3HZ8[&QL;&ZNKJZNKJRLCHZ.CHR,C(S,S,[Z[*SL[.ZNKJZNKJSMCL[.SLT
  1276. XM-34U-34X.[6UM;6UN[N[N[NVMCP\/#P[-S<W.#@X/+BXN+BXO+R\O+R[N$8\
  1277. XM/#P\.3DY.3DY/+FYN;FYO;V]O;V]O$@^/CX^/CL[.SP\/,:\O+R\O+Z^OKZ^
  1278. XMOL,_/S\_/ST]/CX^/M6^OKZ^OL#`P,#`P$M!04%!04!`0$!!04G!P<'!P<'!
  1279. XMP;JZS<TZ/#P\/#P\45%145&\O+S1T=/3T]/3T]E55555555553T^/C[9V=G9
  1280. XMV;Z^OKZ^OKY963\_/S\_/S\_75V_O[^_O[_`X^/CX^-'04%!9V=G9V=G9V]*
  1281. XM[^_O[^_O[^_#P\/O;V]O;V]#0T-#0T-G[\/#P\/#Q,3$Q/=O145%145%____
  1282. XM___CQ,3$]_?W]_?W]_=*___O[^_O[^]'1T=*;V]O;V_'Q\G)R<G)Y^=)24E)
  1283. XM24I*2N?GR<G)R<G)R6MK:VMG2DI*2]_?W]_?W]_?9V=G9V=G9V=GS<W-X^/C
  1284. XMX^-.3T]/3T]/8V/1T='1T='1T=%C5U-34U-55>/CX^/CV]O;VUM;6UM;6UM;
  1285. X"V]M.
  1286. X`
  1287. Xend
  1288. END_OF_FILE
  1289. if test 2634 -ne `wc -c <'sounds/ammo.au.uu'`; then
  1290.     echo shar: \"'sounds/ammo.au.uu'\" unpacked with wrong size!
  1291. fi
  1292. # end of 'sounds/ammo.au.uu'
  1293. fi
  1294. echo shar: End of archive 1 \(of 30\).
  1295. cp /dev/null ark1isdone
  1296. MISSING=""
  1297. for I in 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 ; do
  1298.     if test ! -f ark${I}isdone ; then
  1299.     MISSING="${MISSING} ${I}"
  1300.     fi
  1301. done
  1302. if test "${MISSING}" = "" ; then
  1303.     echo You have unpacked all 30 archives.
  1304.     echo "Now execute sdecode.sh to build files."
  1305.     rm -f ark[1-9]isdone ark[1-9][0-9]isdone
  1306. else
  1307.     echo You still need to unpack the following archives:
  1308.     echo "        " ${MISSING}
  1309. fi
  1310. ##  End of shell archive.
  1311. exit 0
  1312.