home *** CD-ROM | disk | FTP | other *** search
view JSON data
|
view as text
|
open on a Mac
|
open on a PC
This file was processed as: SHell self-extracting ARchive
(archive/shar).
You can browse this item here: part01
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| Newsgroup Content (archive/news)
| magic
| Supported |
100%
| dexvert
| SHell self-extracting ARchive (archive/shar)
| magic
| Supported |
100%
| dexvert
| Internet Message Format (text/imf)
| magic
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| news, ASCII text
| default
| |
100%
| checkBytes
| Printable ASCII
| default
| |
100%
| dexmagic
| PrintFox/Pagefox WEAK
| default
| |
100%
| perlTextCheck
| Likely Text (Perl)
| default
| |
100%
| siegfried
| fmt/329 Shell Archive Format
| default
| |
100%
| detectItEasy
| Format: plain text[LF]
| default (weak)
| |
100%
| xdgMime
| message/news
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 50 61 74 68 3a 20 75 75 | 6e 65 74 21 73 73 62 65 |Path: uu|net!ssbe|
|00000010| 6c 6c 21 6b 65 6e 74 40 | 73 73 62 65 6c 6c 2e 75 |ll!kent@|ssbell.u|
|00000020| 75 2e 6e 65 74 0a 46 72 | 6f 6d 3a 20 6b 65 6e 74 |u.net.Fr|om: kent|
|00000030| 40 73 73 62 65 6c 6c 2e | 75 75 2e 6e 65 74 20 28 |@ssbell.|uu.net (|
|00000040| 4b 65 6e 74 20 4c 61 6e | 64 66 69 65 6c 64 29 0a |Kent Lan|dfield).|
|00000050| 4e 65 77 73 67 72 6f 75 | 70 73 3a 20 63 6f 6d 70 |Newsgrou|ps: comp|
|00000060| 2e 73 6f 75 72 63 65 73 | 2e 78 0a 53 75 62 6a 65 |.sources|.x.Subje|
|00000070| 63 74 3a 20 76 30 35 69 | 30 34 35 3a 20 67 6f 6c |ct: v05i|045: gol|
|00000080| 64 64 69 67 32 20 2d 2d | 20 41 20 67 61 6d 65 20 |ddig2 --| A game |
|00000090| 66 6f 72 20 58 31 31 2c | 20 50 61 72 74 30 31 2f |for X11,| Part01/|
|000000a0| 30 34 0a 4d 65 73 73 61 | 67 65 2d 49 44 3a 20 3c |04.Messa|ge-ID: <|
|000000b0| 35 39 34 40 73 73 62 65 | 6c 6c 2e 75 75 2e 6e 65 |594@ssbe|ll.uu.ne|
|000000c0| 74 3e 0a 44 61 74 65 3a | 20 31 34 20 44 65 63 20 |t>.Date:| 14 Dec |
|000000d0| 38 39 20 30 33 3a 31 33 | 3a 33 37 20 47 4d 54 0a |89 03:13|:37 GMT.|
|000000e0| 53 65 6e 64 65 72 3a 20 | 6b 65 6e 74 40 73 73 62 |Sender: |kent@ssb|
|000000f0| 65 6c 6c 2e 75 75 2e 6e | 65 74 0a 4c 69 6e 65 73 |ell.uu.n|et.Lines|
|00000100| 3a 20 31 35 35 39 0a 41 | 70 70 72 6f 76 65 64 3a |: 1559.A|pproved:|
|00000110| 20 6b 65 6e 74 40 73 73 | 62 65 6c 6c 2e 75 75 2e | kent@ss|bell.uu.|
|00000120| 6e 65 74 20 28 4b 65 6e | 74 20 4c 61 6e 64 66 69 |net (Ken|t Landfi|
|00000130| 65 6c 64 29 0a 0a 53 75 | 62 6d 69 74 74 65 64 2d |eld)..Su|bmitted-|
|00000140| 62 79 3a 20 41 6c 65 78 | 61 6e 64 65 72 20 53 69 |by: Alex|ander Si|
|00000150| 65 67 65 6c 20 3c 73 69 | 65 67 65 6c 40 63 73 2e |egel <si|egel@cs.|
|00000160| 63 6f 72 6e 65 6c 6c 2e | 65 64 75 3e 0a 50 6f 73 |cornell.|edu>.Pos|
|00000170| 74 69 6e 67 2d 6e 75 6d | 62 65 72 3a 20 56 6f 6c |ting-num|ber: Vol|
|00000180| 75 6d 65 20 35 2c 20 49 | 73 73 75 65 20 34 35 0a |ume 5, I|ssue 45.|
|00000190| 41 72 63 68 69 76 65 2d | 6e 61 6d 65 3a 20 67 6f |Archive-|name: go|
|000001a0| 6c 64 64 69 67 32 2f 70 | 61 72 74 30 31 0a 0a 23 |lddig2/p|art01..#|
|000001b0| 21 20 2f 62 69 6e 2f 73 | 68 0a 23 20 54 68 69 73 |! /bin/s|h.# This|
|000001c0| 20 69 73 20 61 20 73 68 | 65 6c 6c 20 61 72 63 68 | is a sh|ell arch|
|000001d0| 69 76 65 2e 20 20 52 65 | 6d 6f 76 65 20 61 6e 79 |ive. Re|move any|
|000001e0| 74 68 69 6e 67 20 62 65 | 66 6f 72 65 20 74 68 69 |thing be|fore thi|
|000001f0| 73 20 6c 69 6e 65 2c 20 | 74 68 65 6e 20 75 6e 70 |s line, |then unp|
|00000200| 61 63 6b 0a 23 20 69 74 | 20 62 79 20 73 61 76 69 |ack.# it| by savi|
|00000210| 6e 67 20 69 74 20 69 6e | 74 6f 20 61 20 66 69 6c |ng it in|to a fil|
|00000220| 65 20 61 6e 64 20 74 79 | 70 69 6e 67 20 22 73 68 |e and ty|ping "sh|
|00000230| 20 66 69 6c 65 22 2e 20 | 20 54 6f 20 6f 76 65 72 | file". | To over|
|00000240| 77 72 69 74 65 20 65 78 | 69 73 74 69 6e 67 0a 23 |write ex|isting.#|
|00000250| 20 66 69 6c 65 73 2c 20 | 74 79 70 65 20 22 73 68 | files, |type "sh|
|00000260| 20 66 69 6c 65 20 2d 63 | 22 2e 20 20 59 6f 75 20 | file -c|". You |
|00000270| 63 61 6e 20 61 6c 73 6f | 20 66 65 65 64 20 74 68 |can also| feed th|
|00000280| 69 73 20 61 73 20 73 74 | 61 6e 64 61 72 64 20 69 |is as st|andard i|
|00000290| 6e 70 75 74 20 76 69 61 | 0a 23 20 75 6e 73 68 61 |nput via|.# unsha|
|000002a0| 72 2c 20 6f 72 20 62 79 | 20 74 79 70 69 6e 67 20 |r, or by| typing |
|000002b0| 22 73 68 20 3c 66 69 6c | 65 22 2c 20 65 2e 67 2e |"sh <fil|e", e.g.|
|000002c0| 2e 20 20 49 66 20 74 68 | 69 73 20 61 72 63 68 69 |. If th|is archi|
|000002d0| 76 65 20 69 73 20 63 6f | 6d 70 6c 65 74 65 2c 20 |ve is co|mplete, |
|000002e0| 79 6f 75 0a 23 20 77 69 | 6c 6c 20 73 65 65 20 74 |you.# wi|ll see t|
|000002f0| 68 65 20 66 6f 6c 6c 6f | 77 69 6e 67 20 6d 65 73 |he follo|wing mes|
|00000300| 73 61 67 65 20 61 74 20 | 74 68 65 20 65 6e 64 3a |sage at |the end:|
|00000310| 0a 23 09 09 22 45 6e 64 | 20 6f 66 20 61 72 63 68 |.#.."End| of arch|
|00000320| 69 76 65 20 31 20 28 6f | 66 20 34 29 2e 22 0a 23 |ive 1 (o|f 4).".#|
|00000330| 20 43 6f 6e 74 65 6e 74 | 73 3a 20 20 67 6f 6c 64 | Content|s: gold|
|00000340| 64 69 67 32 20 67 6f 6c | 64 64 69 67 32 2f 52 45 |dig2 gol|ddig2/RE|
|00000350| 41 44 4d 45 20 67 6f 6c | 64 64 69 67 32 2f 62 69 |ADME gol|ddig2/bi|
|00000360| 74 6d 61 70 0a 23 20 20 | 20 67 6f 6c 64 64 69 67 |tmap.# | golddig|
|00000370| 32 2f 62 69 74 6d 61 70 | 2f 61 6e 63 68 6f 72 2e |2/bitmap|/anchor.|
|00000380| 62 69 74 73 20 67 6f 6c | 64 64 69 67 32 2f 62 69 |bits gol|ddig2/bi|
|00000390| 74 6d 61 70 2f 61 6e 74 | 69 2e 62 69 74 73 0a 23 |tmap/ant|i.bits.#|
|000003a0| 20 20 20 67 6f 6c 64 64 | 69 67 32 2f 62 69 74 6d | goldd|ig2/bitm|
|000003b0| 61 70 2f 61 72 6d 6f 72 | 2e 62 69 74 73 20 67 6f |ap/armor|.bits go|
|000003c0| 6c 64 64 69 67 32 2f 62 | 69 74 6d 61 70 2f 62 61 |lddig2/b|itmap/ba|
|000003d0| 64 67 75 79 2e 62 69 74 | 73 0a 23 20 20 20 67 6f |dguy.bit|s.# go|
|000003e0| 6c 64 64 69 67 32 2f 62 | 69 74 6d 61 70 2f 62 61 |lddig2/b|itmap/ba|
|000003f0| 64 67 75 79 32 2e 62 69 | 74 73 20 67 6f 6c 64 64 |dguy2.bi|ts goldd|
|00000400| 69 67 32 2f 62 69 74 6d | 61 70 2f 62 61 64 67 75 |ig2/bitm|ap/badgu|
|00000410| 79 33 2e 62 69 74 73 0a | 23 20 20 20 67 6f 6c 64 |y3.bits.|# gold|
|00000420| 64 69 67 32 2f 62 69 74 | 6d 61 70 2f 63 68 75 74 |dig2/bit|map/chut|
|00000430| 65 2e 62 69 74 73 20 67 | 6f 6c 64 64 69 67 32 2f |e.bits g|olddig2/|
|00000440| 62 69 74 6d 61 70 2f 64 | 61 72 72 6f 77 2e 62 69 |bitmap/d|arrow.bi|
|00000450| 74 73 0a 23 20 20 20 67 | 6f 6c 64 64 69 67 32 2f |ts.# g|olddig2/|
|00000460| 62 69 74 6d 61 70 2f 65 | 73 63 61 70 65 2e 62 69 |bitmap/e|scape.bi|
|00000470| 74 73 20 67 6f 6c 64 64 | 69 67 32 2f 62 69 74 6d |ts goldd|ig2/bitm|
|00000480| 61 70 2f 66 6c 79 2e 62 | 69 74 73 0a 23 20 20 20 |ap/fly.b|its.# |
|00000490| 67 6f 6c 64 64 69 67 32 | 2f 62 69 74 6d 61 70 2f |golddig2|/bitmap/|
|000004a0| 66 6f 67 2e 62 69 74 73 | 20 67 6f 6c 64 64 69 67 |fog.bits| golddig|
|000004b0| 32 2f 62 69 74 6d 61 70 | 2f 67 68 6f 73 74 2e 62 |2/bitmap|/ghost.b|
|000004c0| 69 74 73 0a 23 20 20 20 | 67 6f 6c 64 64 69 67 32 |its.# |golddig2|
|000004d0| 2f 62 69 74 6d 61 70 2f | 67 6f 6c 64 2e 62 69 74 |/bitmap/|gold.bit|
|000004e0| 73 20 67 6f 6c 64 64 69 | 67 32 2f 62 69 74 6d 61 |s golddi|g2/bitma|
|000004f0| 70 2f 68 61 6e 67 31 2e | 62 69 74 73 0a 23 20 20 |p/hang1.|bits.# |
|00000500| 20 67 6f 6c 64 64 69 67 | 32 2f 62 69 74 6d 61 70 | golddig|2/bitmap|
|00000510| 2f 68 61 6e 67 32 2e 62 | 69 74 73 20 67 6f 6c 64 |/hang2.b|its gold|
|00000520| 64 69 67 32 2f 62 69 74 | 6d 61 70 2f 68 6f 6c 65 |dig2/bit|map/hole|
|00000530| 31 2e 62 69 74 73 0a 23 | 20 20 20 67 6f 6c 64 64 |1.bits.#| goldd|
|00000540| 69 67 32 2f 62 69 74 6d | 61 70 2f 68 6f 6c 65 32 |ig2/bitm|ap/hole2|
|00000550| 2e 62 69 74 73 20 67 6f | 6c 64 64 69 67 32 2f 62 |.bits go|lddig2/b|
|00000560| 69 74 6d 61 70 2f 68 6f | 6c 65 33 2e 62 69 74 73 |itmap/ho|le3.bits|
|00000570| 0a 23 20 20 20 67 6f 6c | 64 64 69 67 32 2f 62 69 |.# gol|ddig2/bi|
|00000580| 74 6d 61 70 2f 68 6f 6c | 65 34 2e 62 69 74 73 20 |tmap/hol|e4.bits |
|00000590| 67 6f 6c 64 64 69 67 32 | 2f 62 69 74 6d 61 70 2f |golddig2|/bitmap/|
|000005a0| 68 6f 6c 65 35 2e 62 69 | 74 73 0a 23 20 20 20 67 |hole5.bi|ts.# g|
|000005b0| 6f 6c 64 64 69 67 32 2f | 62 69 74 6d 61 70 2f 68 |olddig2/|bitmap/h|
|000005c0| 6f 6c 65 36 2e 62 69 74 | 73 20 67 6f 6c 64 64 69 |ole6.bit|s golddi|
|000005d0| 67 32 2f 62 69 74 6d 61 | 70 2f 68 6f 6c 65 37 2e |g2/bitma|p/hole7.|
|000005e0| 62 69 74 73 0a 23 20 20 | 20 67 6f 6c 64 64 69 67 |bits.# | golddig|
|000005f0| 32 2f 62 69 74 6d 61 70 | 2f 68 6f 75 72 67 6c 2e |2/bitmap|/hourgl.|
|00000600| 62 69 74 73 20 67 6f 6c | 64 64 69 67 32 2f 62 69 |bits gol|ddig2/bi|
|00000610| 74 6d 61 70 2f 69 6e 76 | 69 73 2e 62 69 74 73 0a |tmap/inv|is.bits.|
|00000620| 23 20 20 20 67 6f 6c 64 | 64 69 67 32 2f 62 69 74 |# gold|dig2/bit|
|00000630| 6d 61 70 2f 6a 75 6d 70 | 2e 62 69 74 73 20 67 6f |map/jump|.bits go|
|00000640| 6c 64 64 69 67 32 2f 62 | 69 74 6d 61 70 2f 6b 69 |lddig2/b|itmap/ki|
|00000650| 6c 6c 2e 62 69 74 73 0a | 23 20 20 20 67 6f 6c 64 |ll.bits.|# gold|
|00000660| 64 69 67 32 2f 62 69 74 | 6d 61 70 2f 6c 61 64 64 |dig2/bit|map/ladd|
|00000670| 65 72 2e 62 69 74 73 20 | 67 6f 6c 64 64 69 67 32 |er.bits |golddig2|
|00000680| 2f 62 69 74 6d 61 70 2f | 6c 61 72 72 6f 77 2e 62 |/bitmap/|larrow.b|
|00000690| 69 74 73 0a 23 20 20 20 | 67 6f 6c 64 64 69 67 32 |its.# |golddig2|
|000006a0| 2f 62 69 74 6d 61 70 2f | 6c 65 66 74 31 2e 62 69 |/bitmap/|left1.bi|
|000006b0| 74 73 20 67 6f 6c 64 64 | 69 67 32 2f 62 69 74 6d |ts goldd|ig2/bitm|
|000006c0| 61 70 2f 6c 65 66 74 32 | 2e 62 69 74 73 0a 23 20 |ap/left2|.bits.# |
|000006d0| 20 20 67 6f 6c 64 64 69 | 67 32 2f 62 69 74 6d 61 | golddi|g2/bitma|
|000006e0| 70 2f 6e 73 68 6f 76 65 | 6c 2e 62 69 74 73 20 67 |p/nshove|l.bits g|
|000006f0| 6f 6c 64 64 69 67 32 2f | 62 69 74 6d 61 70 2f 70 |olddig2/|bitmap/p|
|00000700| 61 72 61 63 2e 62 69 74 | 73 0a 23 20 20 20 67 6f |arac.bit|s.# go|
|00000710| 6c 64 64 69 67 32 2f 62 | 69 74 6d 61 70 2f 70 6c |lddig2/b|itmap/pl|
|00000720| 61 79 65 72 2e 62 69 74 | 73 20 67 6f 6c 64 64 69 |ayer.bit|s golddi|
|00000730| 67 32 2f 62 69 74 6d 61 | 70 2f 70 6f 72 74 61 62 |g2/bitma|p/portab|
|00000740| 6c 65 2e 62 69 74 73 0a | 23 20 20 20 67 6f 6c 64 |le.bits.|# gold|
|00000750| 64 69 67 32 2f 62 69 74 | 6d 61 70 2f 70 73 68 6f |dig2/bit|map/psho|
|00000760| 76 65 6c 2e 62 69 74 73 | 20 67 6f 6c 64 64 69 67 |vel.bits| golddig|
|00000770| 32 2f 62 69 74 6d 61 70 | 2f 72 61 72 72 6f 77 2e |2/bitmap|/rarrow.|
|00000780| 62 69 74 73 0a 23 20 20 | 20 67 6f 6c 64 64 69 67 |bits.# | golddig|
|00000790| 32 2f 62 69 74 6d 61 70 | 2f 72 65 76 65 72 73 65 |2/bitmap|/reverse|
|000007a0| 2e 62 69 74 73 20 67 6f | 6c 64 64 69 67 32 2f 62 |.bits go|lddig2/b|
|000007b0| 69 74 6d 61 70 2f 72 69 | 67 68 74 31 2e 62 69 74 |itmap/ri|ght1.bit|
|000007c0| 73 0a 23 20 20 20 67 6f | 6c 64 64 69 67 32 2f 62 |s.# go|lddig2/b|
|000007d0| 69 74 6d 61 70 2f 72 69 | 67 68 74 32 2e 62 69 74 |itmap/ri|ght2.bit|
|000007e0| 73 20 67 6f 6c 64 64 69 | 67 32 2f 62 69 74 6d 61 |s golddi|g2/bitma|
|000007f0| 70 2f 72 6f 70 65 2e 62 | 69 74 73 0a 23 20 20 20 |p/rope.b|its.# |
|00000800| 67 6f 6c 64 64 69 67 32 | 2f 62 69 74 6d 61 70 2f |golddig2|/bitmap/|
|00000810| 72 73 68 6f 76 65 6c 2e | 62 69 74 73 20 67 6f 6c |rshovel.|bits gol|
|00000820| 64 64 69 67 32 2f 62 69 | 74 6d 61 70 2f 73 6a 75 |ddig2/bi|tmap/sju|
|00000830| 6d 70 2e 62 69 74 73 0a | 23 20 20 20 67 6f 6c 64 |mp.bits.|# gold|
|00000840| 64 69 67 32 2f 62 69 74 | 6d 61 70 2f 73 70 61 63 |dig2/bit|map/spac|
|00000850| 65 2e 62 69 74 73 20 67 | 6f 6c 64 64 69 67 32 2f |e.bits g|olddig2/|
|00000860| 62 69 74 6d 61 70 2f 73 | 70 65 65 64 2e 62 69 74 |bitmap/s|peed.bit|
|00000870| 73 0a 23 20 20 20 67 6f | 6c 64 64 69 67 32 2f 62 |s.# go|lddig2/b|
|00000880| 69 74 6d 61 70 2f 73 74 | 65 70 6c 61 64 2e 62 69 |itmap/st|eplad.bi|
|00000890| 74 73 20 67 6f 6c 64 64 | 69 67 32 2f 62 69 74 6d |ts goldd|ig2/bitm|
|000008a0| 61 70 2f 73 74 6f 6e 65 | 2e 62 69 74 73 0a 23 20 |ap/stone|.bits.# |
|000008b0| 20 20 67 6f 6c 64 64 69 | 67 32 2f 62 69 74 6d 61 | golddi|g2/bitma|
|000008c0| 70 2f 74 65 6c 65 70 6f | 72 74 2e 62 69 74 73 20 |p/telepo|rt.bits |
|000008d0| 67 6f 6c 64 64 69 67 32 | 2f 62 69 74 6d 61 70 2f |golddig2|/bitmap/|
|000008e0| 74 75 62 65 2e 62 69 74 | 73 0a 23 20 20 20 67 6f |tube.bit|s.# go|
|000008f0| 6c 64 64 69 67 32 2f 62 | 69 74 6d 61 70 2f 75 61 |lddig2/b|itmap/ua|
|00000900| 72 72 6f 77 2e 62 69 74 | 73 20 67 6f 6c 64 64 69 |rrow.bit|s golddi|
|00000910| 67 32 2f 62 69 74 6d 61 | 70 2f 75 70 31 2e 62 69 |g2/bitma|p/up1.bi|
|00000920| 74 73 0a 23 20 20 20 67 | 6f 6c 64 64 69 67 32 2f |ts.# g|olddig2/|
|00000930| 62 69 74 6d 61 70 2f 75 | 70 32 2e 62 69 74 73 20 |bitmap/u|p2.bits |
|00000940| 67 6f 6c 64 64 69 67 32 | 2f 62 69 74 6d 61 70 2f |golddig2|/bitmap/|
|00000950| 75 70 6c 65 76 65 6c 2e | 62 69 74 73 0a 23 20 20 |uplevel.|bits.# |
|00000960| 20 67 6f 6c 64 64 69 67 | 32 2f 62 69 74 6d 61 70 | golddig|2/bitmap|
|00000970| 2f 76 72 6f 70 65 2e 62 | 69 74 73 20 67 6f 6c 64 |/vrope.b|its gold|
|00000980| 64 69 67 32 2f 62 69 74 | 6d 61 70 2f 77 61 6c 6c |dig2/bit|map/wall|
|00000990| 2e 62 69 74 73 0a 23 20 | 20 20 67 6f 6c 64 64 69 |.bits.# | golddi|
|000009a0| 67 32 2f 62 69 74 6d 61 | 70 2f 77 69 6e 64 6f 77 |g2/bitma|p/window|
|000009b0| 2e 62 69 74 73 20 67 6f | 6c 64 64 69 67 32 2f 64 |.bits go|lddig2/d|
|000009c0| 65 66 61 75 6c 74 20 67 | 6f 6c 64 64 69 67 32 2f |efault g|olddig2/|
|000009d0| 67 6f 6c 64 6c 65 76 30 | 30 31 0a 23 20 20 20 67 |goldlev0|01.# g|
|000009e0| 6f 6c 64 64 69 67 32 2f | 67 6f 6c 64 6c 65 76 30 |olddig2/|goldlev0|
|000009f0| 30 32 20 67 6f 6c 64 64 | 69 67 32 2f 67 6f 6c 64 |02 goldd|ig2/gold|
|00000a00| 6c 65 76 30 30 33 20 67 | 6f 6c 64 64 69 67 32 2f |lev003 g|olddig2/|
|00000a10| 67 6f 6c 64 6c 65 76 30 | 30 34 0a 23 20 20 20 67 |goldlev0|04.# g|
|00000a20| 6f 6c 64 64 69 67 32 2f | 67 6f 6c 64 6c 65 76 30 |olddig2/|goldlev0|
|00000a30| 30 35 20 67 6f 6c 64 64 | 69 67 32 2f 67 6f 6c 64 |05 goldd|ig2/gold|
|00000a40| 6c 65 76 30 30 36 20 67 | 6f 6c 64 64 69 67 32 2f |lev006 g|olddig2/|
|00000a50| 67 6f 6c 64 6c 65 76 30 | 30 37 0a 23 20 20 20 67 |goldlev0|07.# g|
|00000a60| 6f 6c 64 64 69 67 32 2f | 67 6f 6c 64 6c 65 76 30 |olddig2/|goldlev0|
|00000a70| 30 38 20 67 6f 6c 64 64 | 69 67 32 2f 67 6f 6c 64 |08 goldd|ig2/gold|
|00000a80| 6c 65 76 30 30 39 20 67 | 6f 6c 64 64 69 67 32 2f |lev009 g|olddig2/|
|00000a90| 67 6f 6c 64 6c 65 76 30 | 31 37 0a 23 20 57 72 61 |goldlev0|17.# Wra|
|00000aa0| 70 70 65 64 20 62 79 20 | 6b 65 6e 74 40 73 73 62 |pped by |kent@ssb|
|00000ab0| 65 6c 6c 20 6f 6e 20 57 | 65 64 20 44 65 63 20 31 |ell on W|ed Dec 1|
|00000ac0| 33 20 32 30 3a 33 36 3a | 33 34 20 31 39 38 39 0a |3 20:36:|34 1989.|
|00000ad0| 50 41 54 48 3d 2f 62 69 | 6e 3a 2f 75 73 72 2f 62 |PATH=/bi|n:/usr/b|
|00000ae0| 69 6e 3a 2f 75 73 72 2f | 75 63 62 20 3b 20 65 78 |in:/usr/|ucb ; ex|
|00000af0| 70 6f 72 74 20 50 41 54 | 48 0a 69 66 20 74 65 73 |port PAT|H.if tes|
|00000b00| 74 20 21 20 2d 64 20 27 | 67 6f 6c 64 64 69 67 32 |t ! -d '|golddig2|
|00000b10| 27 20 3b 20 74 68 65 6e | 0a 20 20 20 20 65 63 68 |' ; then|. ech|
|00000b20| 6f 20 73 68 61 72 3a 20 | 43 72 65 61 74 69 6e 67 |o shar: |Creating|
|00000b30| 20 64 69 72 65 63 74 6f | 72 79 20 5c 22 27 67 6f | directo|ry \"'go|
|00000b40| 6c 64 64 69 67 32 27 5c | 22 0a 20 20 20 20 6d 6b |lddig2'\|". mk|
|00000b50| 64 69 72 20 27 67 6f 6c | 64 64 69 67 32 27 0a 66 |dir 'gol|ddig2'.f|
|00000b60| 69 0a 69 66 20 74 65 73 | 74 20 2d 66 20 27 67 6f |i.if tes|t -f 'go|
|00000b70| 6c 64 64 69 67 32 2f 52 | 45 41 44 4d 45 27 20 2d |lddig2/R|EADME' -|
|00000b80| 61 20 22 24 7b 31 7d 22 | 20 21 3d 20 22 2d 63 22 |a "${1}"| != "-c"|
|00000b90| 20 3b 20 74 68 65 6e 20 | 0a 20 20 65 63 68 6f 20 | ; then |. echo |
|00000ba0| 73 68 61 72 3a 20 57 69 | 6c 6c 20 6e 6f 74 20 63 |shar: Wi|ll not c|
|00000bb0| 6c 6f 62 62 65 72 20 65 | 78 69 73 74 69 6e 67 20 |lobber e|xisting |
|00000bc0| 66 69 6c 65 20 5c 22 27 | 67 6f 6c 64 64 69 67 32 |file \"'|golddig2|
|00000bd0| 2f 52 45 41 44 4d 45 27 | 5c 22 0a 65 6c 73 65 0a |/README'|\".else.|
|00000be0| 65 63 68 6f 20 73 68 61 | 72 3a 20 45 78 74 72 61 |echo sha|r: Extra|
|00000bf0| 63 74 69 6e 67 20 5c 22 | 27 67 6f 6c 64 64 69 67 |cting \"|'golddig|
|00000c00| 32 2f 52 45 41 44 4d 45 | 27 5c 22 20 5c 28 36 37 |2/README|'\" \(67|
|00000c10| 34 20 63 68 61 72 61 63 | 74 65 72 73 5c 29 0a 73 |4 charac|ters\).s|
|00000c20| 65 64 20 22 73 2f 5e 58 | 2f 2f 22 20 3e 27 67 6f |ed "s/^X|//" >'go|
|00000c30| 6c 64 64 69 67 32 2f 52 | 45 41 44 4d 45 27 20 3c |lddig2/R|EADME' <|
|00000c40| 3c 27 45 4e 44 5f 4f 46 | 5f 46 49 4c 45 27 0a 58 |<'END_OF|_FILE'.X|
|00000c50| 54 6f 20 69 6e 73 74 61 | 6c 6c 20 67 61 6d 65 3a |To insta|ll game:|
|00000c60| 0a 58 0a 58 31 2e 20 55 | 6e 70 61 63 6b 20 73 68 |.X.X1. U|npack sh|
|00000c70| 61 72 20 66 69 6c 65 73 | 20 62 79 20 65 78 65 63 |ar files| by exec|
|00000c80| 75 74 69 6e 67 20 74 68 | 65 6d 2e 20 20 49 66 20 |uting th|em. If |
|00000c90| 79 6f 75 20 61 72 65 20 | 72 65 61 64 69 6e 67 20 |you are |reading |
|00000ca0| 74 68 69 73 2c 20 79 6f | 75 0a 58 68 61 76 65 20 |this, yo|u.Xhave |
|00000cb0| 61 6c 72 65 61 64 79 20 | 64 6f 6e 65 20 74 68 61 |already |done tha|
|00000cc0| 74 2e 0a 58 0a 58 32 2e | 20 43 68 61 6e 67 65 20 |t..X.X2.| Change |
|00000cd0| 42 49 4e 2c 20 4c 49 42 | 2c 20 4d 41 4e 2c 20 4d |BIN, LIB|, MAN, M|
|00000ce0| 41 4e 45 58 54 2c 20 43 | 43 2c 20 43 46 4c 41 47 |ANEXT, C|C, CFLAG|
|00000cf0| 53 2c 20 61 6e 64 20 4c | 44 46 4c 41 47 53 20 76 |S, and L|DFLAGS v|
|00000d00| 61 72 69 61 62 6c 65 73 | 20 61 74 0a 58 74 68 65 |ariables| at.Xthe|
|00000d10| 20 62 65 67 69 6e 6e 69 | 6e 67 20 6f 66 20 4d 61 | beginni|ng of Ma|
|00000d20| 6b 65 66 69 6c 65 20 74 | 6f 20 63 6f 72 72 65 73 |kefile t|o corres|
|00000d30| 70 6f 6e 64 20 74 6f 20 | 6c 6f 63 61 6c 20 63 6f |pond to |local co|
|00000d40| 6e 66 69 67 75 72 61 74 | 69 6f 6e 2e 20 20 4e 6f |nfigurat|ion. No|
|00000d50| 74 65 0a 58 74 68 61 74 | 20 74 68 65 20 67 61 6d |te.Xthat| the gam|
|00000d60| 65 20 6c 65 76 65 6c 73 | 20 61 72 65 20 69 6e 20 |e levels| are in |
|00000d70| 68 75 6d 61 6e 20 72 65 | 61 64 61 62 6c 65 20 66 |human re|adable f|
|00000d80| 6f 72 6d 61 74 20 61 6e | 64 20 63 61 6e 20 62 65 |ormat an|d can be|
|00000d90| 20 73 68 61 72 65 64 20 | 62 65 74 77 65 65 6e 0a | shared |between.|
|00000da0| 58 61 72 63 68 69 74 65 | 63 74 75 72 65 73 2e 0a |Xarchite|ctures..|
|00000db0| 58 0a 58 33 2e 20 45 78 | 65 63 75 74 65 20 22 6d |X.X3. Ex|ecute "m|
|00000dc0| 61 6b 65 20 69 6e 73 74 | 61 6c 6c 22 20 69 6e 20 |ake inst|all" in |
|00000dd0| 74 68 65 20 72 6f 6f 74 | 20 73 6f 75 72 63 65 20 |the root| source |
|00000de0| 64 69 72 65 63 74 6f 72 | 79 2e 0a 58 0a 58 34 2e |director|y..X.X4.|
|00000df0| 20 54 79 70 65 20 22 6d | 61 6e 20 67 6f 6c 64 64 | Type "m|an goldd|
|00000e00| 69 67 22 20 74 6f 20 75 | 6e 64 65 72 73 74 61 6e |ig" to u|nderstan|
|00000e10| 64 20 74 68 65 20 67 61 | 6d 65 2e 0a 58 0a 58 35 |d the ga|me..X.X5|
|00000e20| 2e 20 48 61 76 65 20 66 | 75 6e 2c 20 74 68 65 6e |. Have f|un, then|
|00000e30| 20 67 65 74 20 62 61 63 | 6b 20 74 6f 20 77 6f 72 | get bac|k to wor|
|00000e40| 6b 2e 0a 58 0a 58 53 65 | 6e 64 20 77 65 6c 6c 20 |k..X.XSe|nd well |
|00000e50| 74 65 73 74 65 64 2c 20 | 69 6e 74 65 72 65 73 74 |tested, |interest|
|00000e60| 69 6e 67 2c 20 77 6f 72 | 74 68 20 77 68 69 6c 65 |ing, wor|th while|
|00000e70| 2c 20 6e 6f 6e 2d 61 62 | 75 73 69 76 65 2c 20 63 |, non-ab|usive, c|
|00000e80| 6c 65 76 65 72 20 6c 65 | 76 65 6c 73 0a 58 74 6f |lever le|vels.Xto|
|00000e90| 20 73 69 65 67 65 6c 40 | 63 73 2e 63 6f 72 6e 65 | siegel@|cs.corne|
|00000ea0| 6c 6c 2e 65 64 75 2e 20 | 20 54 68 65 79 20 6d 61 |ll.edu. | They ma|
|00000eb0| 79 20 62 65 20 72 65 6c | 65 61 73 65 64 20 69 6e |y be rel|eased in|
|00000ec0| 20 74 68 65 20 6e 65 78 | 74 20 76 65 72 73 69 6f | the nex|t versio|
|00000ed0| 6e 2e 0a 58 41 6c 74 68 | 6f 75 67 68 2c 20 6e 6f |n..XAlth|ough, no|
|00000ee0| 20 61 75 74 68 6f 72 20 | 61 74 74 72 69 62 75 74 | author |attribut|
|00000ef0| 69 6f 6e 73 20 77 69 6c | 6c 20 62 65 20 67 69 76 |ions wil|l be giv|
|00000f00| 65 6e 2e 0a 45 4e 44 5f | 4f 46 5f 46 49 4c 45 0a |en..END_|OF_FILE.|
|00000f10| 69 66 20 74 65 73 74 20 | 36 37 34 20 2d 6e 65 20 |if test |674 -ne |
|00000f20| 60 77 63 20 2d 63 20 3c | 27 67 6f 6c 64 64 69 67 |`wc -c <|'golddig|
|00000f30| 32 2f 52 45 41 44 4d 45 | 27 60 3b 20 74 68 65 6e |2/README|'`; then|
|00000f40| 0a 20 20 20 20 65 63 68 | 6f 20 73 68 61 72 3a 20 |. ech|o shar: |
|00000f50| 5c 22 27 67 6f 6c 64 64 | 69 67 32 2f 52 45 41 44 |\"'goldd|ig2/READ|
|00000f60| 4d 45 27 5c 22 20 75 6e | 70 61 63 6b 65 64 20 77 |ME'\" un|packed w|
|00000f70| 69 74 68 20 77 72 6f 6e | 67 20 73 69 7a 65 21 0a |ith wron|g size!.|
|00000f80| 66 69 0a 23 20 65 6e 64 | 20 6f 66 20 27 67 6f 6c |fi.# end| of 'gol|
|00000f90| 64 64 69 67 32 2f 52 45 | 41 44 4d 45 27 0a 66 69 |ddig2/RE|ADME'.fi|
|00000fa0| 0a 69 66 20 74 65 73 74 | 20 21 20 2d 64 20 27 67 |.if test| ! -d 'g|
|00000fb0| 6f 6c 64 64 69 67 32 2f | 62 69 74 6d 61 70 27 20 |olddig2/|bitmap' |
|00000fc0| 3b 20 74 68 65 6e 0a 20 | 20 20 20 65 63 68 6f 20 |; then. | echo |
|00000fd0| 73 68 61 72 3a 20 43 72 | 65 61 74 69 6e 67 20 64 |shar: Cr|eating d|
|00000fe0| 69 72 65 63 74 6f 72 79 | 20 5c 22 27 67 6f 6c 64 |irectory| \"'gold|
|00000ff0| 64 69 67 32 2f 62 69 74 | 6d 61 70 27 5c 22 0a 20 |dig2/bit|map'\". |
|00001000| 20 20 20 6d 6b 64 69 72 | 20 27 67 6f 6c 64 64 69 | mkdir| 'golddi|
|00001010| 67 32 2f 62 69 74 6d 61 | 70 27 0a 66 69 0a 69 66 |g2/bitma|p'.fi.if|
|00001020| 20 74 65 73 74 20 2d 66 | 20 27 67 6f 6c 64 64 69 | test -f| 'golddi|
|00001030| 67 32 2f 62 69 74 6d 61 | 70 2f 61 6e 63 68 6f 72 |g2/bitma|p/anchor|
|00001040| 2e 62 69 74 73 27 20 2d | 61 20 22 24 7b 31 7d 22 |.bits' -|a "${1}"|
|00001050| 20 21 3d 20 22 2d 63 22 | 20 3b 20 74 68 65 6e 20 | != "-c"| ; then |
|00001060| 0a 20 20 65 63 68 6f 20 | 73 68 61 72 3a 20 57 69 |. echo |shar: Wi|
|00001070| 6c 6c 20 6e 6f 74 20 63 | 6c 6f 62 62 65 72 20 65 |ll not c|lobber e|
|00001080| 78 69 73 74 69 6e 67 20 | 66 69 6c 65 20 5c 22 27 |xisting |file \"'|
|00001090| 67 6f 6c 64 64 69 67 32 | 2f 62 69 74 6d 61 70 2f |golddig2|/bitmap/|
|000010a0| 61 6e 63 68 6f 72 2e 62 | 69 74 73 27 5c 22 0a 65 |anchor.b|its'\".e|
|000010b0| 6c 73 65 0a 65 63 68 6f | 20 73 68 61 72 3a 20 45 |lse.echo| shar: E|
|000010c0| 78 74 72 61 63 74 69 6e | 67 20 5c 22 27 67 6f 6c |xtractin|g \"'gol|
|000010d0| 64 64 69 67 32 2f 62 69 | 74 6d 61 70 2f 61 6e 63 |ddig2/bi|tmap/anc|
|000010e0| 68 6f 72 2e 62 69 74 73 | 27 5c 22 20 5c 28 32 38 |hor.bits|'\" \(28|
|000010f0| 31 20 63 68 61 72 61 63 | 74 65 72 73 5c 29 0a 73 |1 charac|ters\).s|
|00001100| 65 64 20 22 73 2f 5e 58 | 2f 2f 22 20 3e 27 67 6f |ed "s/^X|//" >'go|
|00001110| 6c 64 64 69 67 32 2f 62 | 69 74 6d 61 70 2f 61 6e |lddig2/b|itmap/an|
|00001120| 63 68 6f 72 2e 62 69 74 | 73 27 20 3c 3c 27 45 4e |chor.bit|s' <<'EN|
|00001130| 44 5f 4f 46 5f 46 49 4c | 45 27 0a 58 23 64 65 66 |D_OF_FIL|E'.X#def|
|00001140| 69 6e 65 20 61 6e 63 68 | 6f 72 5f 77 69 64 74 68 |ine anch|or_width|
|00001150| 20 31 36 0a 58 23 64 65 | 66 69 6e 65 20 61 6e 63 | 16.X#de|fine anc|
|00001160| 68 6f 72 5f 68 65 69 67 | 68 74 20 31 36 0a 58 73 |hor_heig|ht 16.Xs|
|00001170| 74 61 74 69 63 20 63 68 | 61 72 20 61 6e 63 68 6f |tatic ch|ar ancho|
|00001180| 72 5f 62 69 74 73 5b 5d | 20 3d 20 7b 0a 58 20 20 |r_bits[]| = {.X |
|00001190| 20 30 78 30 30 2c 20 30 | 78 30 30 2c 20 30 78 38 | 0x00, 0|x00, 0x8|
|000011a0| 30 2c 20 30 78 30 31 2c | 20 30 78 63 30 2c 20 30 |0, 0x01,| 0xc0, 0|
|000011b0| 78 30 33 2c 20 30 78 36 | 30 2c 20 30 78 30 37 2c |x03, 0x6|0, 0x07,|
|000011c0| 20 30 78 36 30 2c 20 30 | 78 30 36 2c 20 30 78 63 | 0x60, 0|x06, 0xc|
|000011d0| 30 2c 20 30 78 30 33 2c | 0a 58 20 20 20 30 78 63 |0, 0x03,|.X 0xc|
|000011e0| 30 2c 20 30 78 30 33 2c | 20 30 78 38 30 2c 20 30 |0, 0x03,| 0x80, 0|
|000011f0| 78 30 31 2c 20 30 78 38 | 30 2c 20 30 78 30 31 2c |x01, 0x8|0, 0x01,|
|00001200| 20 30 78 38 31 2c 20 30 | 78 38 31 2c 20 30 78 38 | 0x81, 0|x81, 0x8|
|00001210| 32 2c 20 30 78 34 31 2c | 20 30 78 38 36 2c 20 30 |2, 0x41,| 0x86, 0|
|00001220| 78 36 31 2c 0a 58 20 20 | 20 30 78 39 63 2c 20 30 |x61,.X | 0x9c, 0|
|00001230| 78 33 39 2c 20 30 78 66 | 38 2c 20 30 78 31 66 2c |x39, 0xf|8, 0x1f,|
|00001240| 20 30 78 65 30 2c 20 30 | 78 30 37 2c 20 30 78 30 | 0xe0, 0|x07, 0x0|
|00001250| 30 2c 20 30 78 30 30 7d | 3b 0a 45 4e 44 5f 4f 46 |0, 0x00}|;.END_OF|
|00001260| 5f 46 49 4c 45 0a 69 66 | 20 74 65 73 74 20 32 38 |_FILE.if| test 28|
|00001270| 31 20 2d 6e 65 20 60 77 | 63 20 2d 63 20 3c 27 67 |1 -ne `w|c -c <'g|
|00001280| 6f 6c 64 64 69 67 32 2f | 62 69 74 6d 61 70 2f 61 |olddig2/|bitmap/a|
|00001290| 6e 63 68 6f 72 2e 62 69 | 74 73 27 60 3b 20 74 68 |nchor.bi|ts'`; th|
|000012a0| 65 6e 0a 20 20 20 20 65 | 63 68 6f 20 73 68 61 72 |en. e|cho shar|
|000012b0| 3a 20 5c 22 27 67 6f 6c | 64 64 69 67 32 2f 62 69 |: \"'gol|ddig2/bi|
|000012c0| 74 6d 61 70 2f 61 6e 63 | 68 6f 72 2e 62 69 74 73 |tmap/anc|hor.bits|
|000012d0| 27 5c 22 20 75 6e 70 61 | 63 6b 65 64 20 77 69 74 |'\" unpa|cked wit|
|000012e0| 68 20 77 72 6f 6e 67 20 | 73 69 7a 65 21 0a 66 69 |h wrong |size!.fi|
|000012f0| 0a 23 20 65 6e 64 20 6f | 66 20 27 67 6f 6c 64 64 |.# end o|f 'goldd|
|00001300| 69 67 32 2f 62 69 74 6d | 61 70 2f 61 6e 63 68 6f |ig2/bitm|ap/ancho|
|00001310| 72 2e 62 69 74 73 27 0a | 66 69 0a 69 66 20 74 65 |r.bits'.|fi.if te|
|00001320| 73 74 20 2d 66 20 27 67 | 6f 6c 64 64 69 67 32 2f |st -f 'g|olddig2/|
|00001330| 62 69 74 6d 61 70 2f 61 | 6e 74 69 2e 62 69 74 73 |bitmap/a|nti.bits|
|00001340| 27 20 2d 61 20 22 24 7b | 31 7d 22 20 21 3d 20 22 |' -a "${|1}" != "|
|00001350| 2d 63 22 20 3b 20 74 68 | 65 6e 20 0a 20 20 65 63 |-c" ; th|en . ec|
|00001360| 68 6f 20 73 68 61 72 3a | 20 57 69 6c 6c 20 6e 6f |ho shar:| Will no|
|00001370| 74 20 63 6c 6f 62 62 65 | 72 20 65 78 69 73 74 69 |t clobbe|r existi|
|00001380| 6e 67 20 66 69 6c 65 20 | 5c 22 27 67 6f 6c 64 64 |ng file |\"'goldd|
|00001390| 69 67 32 2f 62 69 74 6d | 61 70 2f 61 6e 74 69 2e |ig2/bitm|ap/anti.|
|000013a0| 62 69 74 73 27 5c 22 0a | 65 6c 73 65 0a 65 63 68 |bits'\".|else.ech|
|000013b0| 6f 20 73 68 61 72 3a 20 | 45 78 74 72 61 63 74 69 |o shar: |Extracti|
|000013c0| 6e 67 20 5c 22 27 67 6f | 6c 64 64 69 67 32 2f 62 |ng \"'go|lddig2/b|
|000013d0| 69 74 6d 61 70 2f 61 6e | 74 69 2e 62 69 74 73 27 |itmap/an|ti.bits'|
|000013e0| 5c 22 20 5c 28 32 37 35 | 20 63 68 61 72 61 63 74 |\" \(275| charact|
|000013f0| 65 72 73 5c 29 0a 73 65 | 64 20 22 73 2f 5e 58 2f |ers\).se|d "s/^X/|
|00001400| 2f 22 20 3e 27 67 6f 6c | 64 64 69 67 32 2f 62 69 |/" >'gol|ddig2/bi|
|00001410| 74 6d 61 70 2f 61 6e 74 | 69 2e 62 69 74 73 27 20 |tmap/ant|i.bits' |
|00001420| 3c 3c 27 45 4e 44 5f 4f | 46 5f 46 49 4c 45 27 0a |<<'END_O|F_FILE'.|
|00001430| 58 23 64 65 66 69 6e 65 | 20 61 6e 74 69 5f 77 69 |X#define| anti_wi|
|00001440| 64 74 68 20 31 36 0a 58 | 23 64 65 66 69 6e 65 20 |dth 16.X|#define |
|00001450| 61 6e 74 69 5f 68 65 69 | 67 68 74 20 31 36 0a 58 |anti_hei|ght 16.X|
|00001460| 73 74 61 74 69 63 20 63 | 68 61 72 20 61 6e 74 69 |static c|har anti|
|00001470| 5f 62 69 74 73 5b 5d 20 | 3d 20 7b 0a 58 20 20 20 |_bits[] |= {.X |
|00001480| 30 78 30 30 2c 20 30 78 | 30 30 2c 20 30 78 38 30 |0x00, 0x|00, 0x80|
|00001490| 2c 20 30 78 30 31 2c 20 | 30 78 34 30 2c 20 30 78 |, 0x01, |0x40, 0x|
|000014a0| 30 33 2c 20 30 78 61 30 | 2c 20 30 78 30 34 2c 20 |03, 0xa0|, 0x04, |
|000014b0| 30 78 31 30 2c 20 30 78 | 30 39 2c 20 30 78 38 30 |0x10, 0x|09, 0x80|
|000014c0| 2c 20 30 78 30 30 2c 0a | 58 20 20 20 30 78 30 30 |, 0x00,.|X 0x00|
|000014d0| 2c 20 30 78 30 31 2c 20 | 30 78 38 30 2c 20 30 78 |, 0x01, |0x80, 0x|
|000014e0| 30 30 2c 20 30 78 30 30 | 2c 20 30 78 30 31 2c 20 |00, 0x00|, 0x01, |
|000014f0| 30 78 38 30 2c 20 30 78 | 30 30 2c 20 30 78 30 30 |0x80, 0x|00, 0x00|
|00001500| 2c 20 30 78 30 31 2c 20 | 30 78 38 30 2c 20 30 78 |, 0x01, |0x80, 0x|
|00001510| 30 30 2c 0a 58 20 20 20 | 30 78 30 30 2c 20 30 78 |00,.X |0x00, 0x|
|00001520| 30 31 2c 20 30 78 38 30 | 2c 20 30 78 30 30 2c 20 |01, 0x80|, 0x00, |
|00001530| 30 78 30 30 2c 20 30 78 | 30 30 2c 20 30 78 30 30 |0x00, 0x|00, 0x00|
|00001540| 2c 20 30 78 30 30 7d 3b | 0a 45 4e 44 5f 4f 46 5f |, 0x00};|.END_OF_|
|00001550| 46 49 4c 45 0a 69 66 20 | 74 65 73 74 20 32 37 35 |FILE.if |test 275|
|00001560| 20 2d 6e 65 20 60 77 63 | 20 2d 63 20 3c 27 67 6f | -ne `wc| -c <'go|
|00001570| 6c 64 64 69 67 32 2f 62 | 69 74 6d 61 70 2f 61 6e |lddig2/b|itmap/an|
|00001580| 74 69 2e 62 69 74 73 27 | 60 3b 20 74 68 65 6e 0a |ti.bits'|`; then.|
|00001590| 20 20 20 20 65 63 68 6f | 20 73 68 61 72 3a 20 5c | echo| shar: \|
|000015a0| 22 27 67 6f 6c 64 64 69 | 67 32 2f 62 69 74 6d 61 |"'golddi|g2/bitma|
|000015b0| 70 2f 61 6e 74 69 2e 62 | 69 74 73 27 5c 22 20 75 |p/anti.b|its'\" u|
|000015c0| 6e 70 61 63 6b 65 64 20 | 77 69 74 68 20 77 72 6f |npacked |with wro|
|000015d0| 6e 67 20 73 69 7a 65 21 | 0a 66 69 0a 23 20 65 6e |ng size!|.fi.# en|
|000015e0| 64 20 6f 66 20 27 67 6f | 6c 64 64 69 67 32 2f 62 |d of 'go|lddig2/b|
|000015f0| 69 74 6d 61 70 2f 61 6e | 74 69 2e 62 69 74 73 27 |itmap/an|ti.bits'|
|00001600| 0a 66 69 0a 69 66 20 74 | 65 73 74 20 2d 66 20 27 |.fi.if t|est -f '|
|00001610| 67 6f 6c 64 64 69 67 32 | 2f 62 69 74 6d 61 70 2f |golddig2|/bitmap/|
|00001620| 61 72 6d 6f 72 2e 62 69 | 74 73 27 20 2d 61 20 22 |armor.bi|ts' -a "|
|00001630| 24 7b 31 7d 22 20 21 3d | 20 22 2d 63 22 20 3b 20 |${1}" !=| "-c" ; |
|00001640| 74 68 65 6e 20 0a 20 20 | 65 63 68 6f 20 73 68 61 |then . |echo sha|
|00001650| 72 3a 20 57 69 6c 6c 20 | 6e 6f 74 20 63 6c 6f 62 |r: Will |not clob|
|00001660| 62 65 72 20 65 78 69 73 | 74 69 6e 67 20 66 69 6c |ber exis|ting fil|
|00001670| 65 20 5c 22 27 67 6f 6c | 64 64 69 67 32 2f 62 69 |e \"'gol|ddig2/bi|
|00001680| 74 6d 61 70 2f 61 72 6d | 6f 72 2e 62 69 74 73 27 |tmap/arm|or.bits'|
|00001690| 5c 22 0a 65 6c 73 65 0a | 65 63 68 6f 20 73 68 61 |\".else.|echo sha|
|000016a0| 72 3a 20 45 78 74 72 61 | 63 74 69 6e 67 20 5c 22 |r: Extra|cting \"|
|000016b0| 27 67 6f 6c 64 64 69 67 | 32 2f 62 69 74 6d 61 70 |'golddig|2/bitmap|
|000016c0| 2f 61 72 6d 6f 72 2e 62 | 69 74 73 27 5c 22 20 5c |/armor.b|its'\" \|
|000016d0| 28 32 37 38 20 63 68 61 | 72 61 63 74 65 72 73 5c |(278 cha|racters\|
|000016e0| 29 0a 73 65 64 20 22 73 | 2f 5e 58 2f 2f 22 20 3e |).sed "s|/^X//" >|
|000016f0| 27 67 6f 6c 64 64 69 67 | 32 2f 62 69 74 6d 61 70 |'golddig|2/bitmap|
|00001700| 2f 61 72 6d 6f 72 2e 62 | 69 74 73 27 20 3c 3c 27 |/armor.b|its' <<'|
|00001710| 45 4e 44 5f 4f 46 5f 46 | 49 4c 45 27 0a 58 23 64 |END_OF_F|ILE'.X#d|
|00001720| 65 66 69 6e 65 20 61 72 | 6d 6f 72 5f 77 69 64 74 |efine ar|mor_widt|
|00001730| 68 20 31 36 0a 58 23 64 | 65 66 69 6e 65 20 61 72 |h 16.X#d|efine ar|
|00001740| 6d 6f 72 5f 68 65 69 67 | 68 74 20 31 36 0a 58 73 |mor_heig|ht 16.Xs|
|00001750| 74 61 74 69 63 20 63 68 | 61 72 20 61 72 6d 6f 72 |tatic ch|ar armor|
|00001760| 5f 62 69 74 73 5b 5d 20 | 3d 20 7b 0a 58 20 20 20 |_bits[] |= {.X |
|00001770| 30 78 30 30 2c 20 30 78 | 30 30 2c 20 30 78 33 38 |0x00, 0x|00, 0x38|
|00001780| 2c 20 30 78 31 63 2c 20 | 30 78 64 38 2c 20 30 78 |, 0x1c, |0xd8, 0x|
|00001790| 31 37 2c 20 30 78 61 38 | 2c 20 30 78 31 61 2c 20 |17, 0xa8|, 0x1a, |
|000017a0| 30 78 35 38 2c 20 30 78 | 31 35 2c 20 30 78 61 38 |0x58, 0x|15, 0xa8|
|000017b0| 2c 20 30 78 31 61 2c 0a | 58 20 20 20 30 78 35 38 |, 0x1a,.|X 0x58|
|000017c0| 2c 20 30 78 31 35 2c 20 | 30 78 61 38 2c 20 30 78 |, 0x15, |0xa8, 0x|
|000017d0| 31 61 2c 20 30 78 35 38 | 2c 20 30 78 31 35 2c 20 |1a, 0x58|, 0x15, |
|000017e0| 30 78 62 38 2c 20 30 78 | 31 61 2c 20 30 78 35 30 |0xb8, 0x|1a, 0x50|
|000017f0| 2c 20 30 78 30 64 2c 20 | 30 78 62 30 2c 20 30 78 |, 0x0d, |0xb0, 0x|
|00001800| 30 61 2c 0a 58 20 20 20 | 30 78 36 30 2c 20 30 78 |0a,.X |0x60, 0x|
|00001810| 30 35 2c 20 30 78 63 30 | 2c 20 30 78 30 33 2c 20 |05, 0xc0|, 0x03, |
|00001820| 30 78 38 30 2c 20 30 78 | 30 31 2c 20 30 78 30 30 |0x80, 0x|01, 0x00|
|00001830| 2c 20 30 78 30 30 7d 3b | 0a 45 4e 44 5f 4f 46 5f |, 0x00};|.END_OF_|
|00001840| 46 49 4c 45 0a 69 66 20 | 74 65 73 74 20 32 37 38 |FILE.if |test 278|
|00001850| 20 2d 6e 65 20 60 77 63 | 20 2d 63 20 3c 27 67 6f | -ne `wc| -c <'go|
|00001860| 6c 64 64 69 67 32 2f 62 | 69 74 6d 61 70 2f 61 72 |lddig2/b|itmap/ar|
|00001870| 6d 6f 72 2e 62 69 74 73 | 27 60 3b 20 74 68 65 6e |mor.bits|'`; then|
|00001880| 0a 20 20 20 20 65 63 68 | 6f 20 73 68 61 72 3a 20 |. ech|o shar: |
|00001890| 5c 22 27 67 6f 6c 64 64 | 69 67 32 2f 62 69 74 6d |\"'goldd|ig2/bitm|
|000018a0| 61 70 2f 61 72 6d 6f 72 | 2e 62 69 74 73 27 5c 22 |ap/armor|.bits'\"|
|000018b0| 20 75 6e 70 61 63 6b 65 | 64 20 77 69 74 68 20 77 | unpacke|d with w|
|000018c0| 72 6f 6e 67 20 73 69 7a | 65 21 0a 66 69 0a 23 20 |rong siz|e!.fi.# |
|000018d0| 65 6e 64 20 6f 66 20 27 | 67 6f 6c 64 64 69 67 32 |end of '|golddig2|
|000018e0| 2f 62 69 74 6d 61 70 2f | 61 72 6d 6f 72 2e 62 69 |/bitmap/|armor.bi|
|000018f0| 74 73 27 0a 66 69 0a 69 | 66 20 74 65 73 74 20 2d |ts'.fi.i|f test -|
|00001900| 66 20 27 67 6f 6c 64 64 | 69 67 32 2f 62 69 74 6d |f 'goldd|ig2/bitm|
|00001910| 61 70 2f 62 61 64 67 75 | 79 2e 62 69 74 73 27 20 |ap/badgu|y.bits' |
|00001920| 2d 61 20 22 24 7b 31 7d | 22 20 21 3d 20 22 2d 63 |-a "${1}|" != "-c|
|00001930| 22 20 3b 20 74 68 65 6e | 20 0a 20 20 65 63 68 6f |" ; then| . echo|
|00001940| 20 73 68 61 72 3a 20 57 | 69 6c 6c 20 6e 6f 74 20 | shar: W|ill not |
|00001950| 63 6c 6f 62 62 65 72 20 | 65 78 69 73 74 69 6e 67 |clobber |existing|
|00001960| 20 66 69 6c 65 20 5c 22 | 27 67 6f 6c 64 64 69 67 | file \"|'golddig|
|00001970| 32 2f 62 69 74 6d 61 70 | 2f 62 61 64 67 75 79 2e |2/bitmap|/badguy.|
|00001980| 62 69 74 73 27 5c 22 0a | 65 6c 73 65 0a 65 63 68 |bits'\".|else.ech|
|00001990| 6f 20 73 68 61 72 3a 20 | 45 78 74 72 61 63 74 69 |o shar: |Extracti|
|000019a0| 6e 67 20 5c 22 27 67 6f | 6c 64 64 69 67 32 2f 62 |ng \"'go|lddig2/b|
|000019b0| 69 74 6d 61 70 2f 62 61 | 64 67 75 79 2e 62 69 74 |itmap/ba|dguy.bit|
|000019c0| 73 27 5c 22 20 5c 28 32 | 37 34 20 63 68 61 72 61 |s'\" \(2|74 chara|
|000019d0| 63 74 65 72 73 5c 29 0a | 73 65 64 20 22 73 2f 5e |cters\).|sed "s/^|
|000019e0| 58 2f 2f 22 20 3e 27 67 | 6f 6c 64 64 69 67 32 2f |X//" >'g|olddig2/|
|000019f0| 62 69 74 6d 61 70 2f 62 | 61 64 67 75 79 2e 62 69 |bitmap/b|adguy.bi|
|00001a00| 74 73 27 20 3c 3c 27 45 | 4e 44 5f 4f 46 5f 46 49 |ts' <<'E|ND_OF_FI|
|00001a10| 4c 45 27 0a 58 23 64 65 | 66 69 6e 65 20 62 61 64 |LE'.X#de|fine bad|
|00001a20| 67 75 79 5f 77 69 64 74 | 68 20 31 36 0a 58 23 64 |guy_widt|h 16.X#d|
|00001a30| 65 66 69 6e 65 20 62 61 | 64 67 75 79 5f 68 65 69 |efine ba|dguy_hei|
|00001a40| 67 68 74 20 31 36 0a 58 | 63 68 61 72 20 62 61 64 |ght 16.X|char bad|
|00001a50| 67 75 79 5f 62 69 74 73 | 5b 5d 20 3d 20 7b 0a 58 |guy_bits|[] = {.X|
|00001a60| 20 20 20 30 78 30 30 2c | 20 30 78 30 30 2c 20 30 | 0x00,| 0x00, 0|
|00001a70| 78 30 30 2c 20 30 78 30 | 30 2c 20 30 78 65 30 2c |x00, 0x0|0, 0xe0,|
|00001a80| 20 30 78 30 37 2c 20 30 | 78 33 30 2c 20 30 78 30 | 0x07, 0|x30, 0x0|
|00001a90| 63 2c 20 30 78 31 38 2c | 20 30 78 31 38 2c 20 30 |c, 0x18,| 0x18, 0|
|00001aa0| 78 36 63 2c 20 30 78 33 | 36 2c 0a 58 20 20 20 30 |x6c, 0x3|6,.X 0|
|00001ab0| 78 32 63 2c 20 30 78 33 | 34 2c 20 30 78 38 63 2c |x2c, 0x3|4, 0x8c,|
|00001ac0| 20 30 78 33 31 2c 20 30 | 78 30 63 2c 20 30 78 33 | 0x31, 0|x0c, 0x3|
|00001ad0| 30 2c 20 30 78 63 63 2c | 20 30 78 33 33 2c 20 30 |0, 0xcc,| 0x33, 0|
|00001ae0| 78 32 38 2c 20 30 78 31 | 34 2c 20 30 78 30 38 2c |x28, 0x1|4, 0x08,|
|00001af0| 20 30 78 31 30 2c 0a 58 | 20 20 20 30 78 31 30 2c | 0x10,.X| 0x10,|
|00001b00| 20 30 78 30 38 2c 20 30 | 78 65 30 2c 20 30 78 30 | 0x08, 0|xe0, 0x0|
|00001b10| 37 2c 20 30 78 30 30 2c | 20 30 78 30 30 2c 20 30 |7, 0x00,| 0x00, 0|
|00001b20| 78 30 30 2c 20 30 78 30 | 30 7d 3b 0a 45 4e 44 5f |x00, 0x0|0};.END_|
|00001b30| 4f 46 5f 46 49 4c 45 0a | 69 66 20 74 65 73 74 20 |OF_FILE.|if test |
|00001b40| 32 37 34 20 2d 6e 65 20 | 60 77 63 20 2d 63 20 3c |274 -ne |`wc -c <|
|00001b50| 27 67 6f 6c 64 64 69 67 | 32 2f 62 69 74 6d 61 70 |'golddig|2/bitmap|
|00001b60| 2f 62 61 64 67 75 79 2e | 62 69 74 73 27 60 3b 20 |/badguy.|bits'`; |
|00001b70| 74 68 65 6e 0a 20 20 20 | 20 65 63 68 6f 20 73 68 |then. | echo sh|
|00001b80| 61 72 3a 20 5c 22 27 67 | 6f 6c 64 64 69 67 32 2f |ar: \"'g|olddig2/|
|00001b90| 62 69 74 6d 61 70 2f 62 | 61 64 67 75 79 2e 62 69 |bitmap/b|adguy.bi|
|00001ba0| 74 73 27 5c 22 20 75 6e | 70 61 63 6b 65 64 20 77 |ts'\" un|packed w|
|00001bb0| 69 74 68 20 77 72 6f 6e | 67 20 73 69 7a 65 21 0a |ith wron|g size!.|
|00001bc0| 66 69 0a 23 20 65 6e 64 | 20 6f 66 20 27 67 6f 6c |fi.# end| of 'gol|
|00001bd0| 64 64 69 67 32 2f 62 69 | 74 6d 61 70 2f 62 61 64 |ddig2/bi|tmap/bad|
|00001be0| 67 75 79 2e 62 69 74 73 | 27 0a 66 69 0a 69 66 20 |guy.bits|'.fi.if |
|00001bf0| 74 65 73 74 20 2d 66 20 | 27 67 6f 6c 64 64 69 67 |test -f |'golddig|
|00001c00| 32 2f 62 69 74 6d 61 70 | 2f 62 61 64 67 75 79 32 |2/bitmap|/badguy2|
|00001c10| 2e 62 69 74 73 27 20 2d | 61 20 22 24 7b 31 7d 22 |.bits' -|a "${1}"|
|00001c20| 20 21 3d 20 22 2d 63 22 | 20 3b 20 74 68 65 6e 20 | != "-c"| ; then |
|00001c30| 0a 20 20 65 63 68 6f 20 | 73 68 61 72 3a 20 57 69 |. echo |shar: Wi|
|00001c40| 6c 6c 20 6e 6f 74 20 63 | 6c 6f 62 62 65 72 20 65 |ll not c|lobber e|
|00001c50| 78 69 73 74 69 6e 67 20 | 66 69 6c 65 20 5c 22 27 |xisting |file \"'|
|00001c60| 67 6f 6c 64 64 69 67 32 | 2f 62 69 74 6d 61 70 2f |golddig2|/bitmap/|
|00001c70| 62 61 64 67 75 79 32 2e | 62 69 74 73 27 5c 22 0a |badguy2.|bits'\".|
|00001c80| 65 6c 73 65 0a 65 63 68 | 6f 20 73 68 61 72 3a 20 |else.ech|o shar: |
|00001c90| 45 78 74 72 61 63 74 69 | 6e 67 20 5c 22 27 67 6f |Extracti|ng \"'go|
|00001ca0| 6c 64 64 69 67 32 2f 62 | 69 74 6d 61 70 2f 62 61 |lddig2/b|itmap/ba|
|00001cb0| 64 67 75 79 32 2e 62 69 | 74 73 27 5c 22 20 5c 28 |dguy2.bi|ts'\" \(|
|00001cc0| 33 33 34 20 63 68 61 72 | 61 63 74 65 72 73 5c 29 |334 char|acters\)|
|00001cd0| 0a 73 65 64 20 22 73 2f | 5e 58 2f 2f 22 20 3e 27 |.sed "s/|^X//" >'|
|00001ce0| 67 6f 6c 64 64 69 67 32 | 2f 62 69 74 6d 61 70 2f |golddig2|/bitmap/|
|00001cf0| 62 61 64 67 75 79 32 2e | 62 69 74 73 27 20 3c 3c |badguy2.|bits' <<|
|00001d00| 27 45 4e 44 5f 4f 46 5f | 46 49 4c 45 27 0a 58 23 |'END_OF_|FILE'.X#|
|00001d10| 64 65 66 69 6e 65 20 62 | 61 64 67 75 79 32 5f 77 |define b|adguy2_w|
|00001d20| 69 64 74 68 20 31 36 0a | 58 23 64 65 66 69 6e 65 |idth 16.|X#define|
|00001d30| 20 62 61 64 67 75 79 32 | 5f 68 65 69 67 68 74 20 | badguy2|_height |
|00001d40| 31 36 0a 58 23 64 65 66 | 69 6e 65 20 62 61 64 67 |16.X#def|ine badg|
|00001d50| 75 79 32 5f 78 5f 68 6f | 74 20 2d 31 0a 58 23 64 |uy2_x_ho|t -1.X#d|
|00001d60| 65 66 69 6e 65 20 62 61 | 64 67 75 79 32 5f 79 5f |efine ba|dguy2_y_|
|00001d70| 68 6f 74 20 2d 31 0a 58 | 73 74 61 74 69 63 20 63 |hot -1.X|static c|
|00001d80| 68 61 72 20 62 61 64 67 | 75 79 32 5f 62 69 74 73 |har badg|uy2_bits|
|00001d90| 5b 5d 20 3d 20 7b 0a 58 | 20 20 20 30 78 30 30 2c |[] = {.X| 0x00,|
|00001da0| 20 30 78 30 30 2c 20 30 | 78 30 30 2c 20 30 78 30 | 0x00, 0|x00, 0x0|
|00001db0| 30 2c 20 30 78 30 37 2c | 20 30 78 65 30 2c 20 30 |0, 0x07,| 0xe0, 0|
|00001dc0| 78 30 63 2c 20 30 78 33 | 30 2c 20 30 78 31 38 2c |x0c, 0x3|0, 0x18,|
|00001dd0| 20 30 78 31 38 2c 20 30 | 78 33 36 2c 20 30 78 36 | 0x18, 0|x36, 0x6|
|00001de0| 63 2c 0a 58 20 20 20 30 | 78 33 34 2c 20 30 78 32 |c,.X 0|x34, 0x2|
|00001df0| 63 2c 20 30 78 33 31 2c | 20 30 78 38 63 2c 20 30 |c, 0x31,| 0x8c, 0|
|00001e00| 78 33 30 2c 20 30 78 30 | 63 2c 20 30 78 33 33 2c |x30, 0x0|c, 0x33,|
|00001e10| 20 30 78 63 63 2c 20 30 | 78 31 37 2c 20 30 78 65 | 0xcc, 0|x17, 0xe|
|00001e20| 38 2c 20 30 78 31 33 2c | 20 30 78 63 38 2c 0a 58 |8, 0x13,| 0xc8,.X|
|00001e30| 20 20 20 30 78 30 38 2c | 20 30 78 31 30 2c 20 30 | 0x08,| 0x10, 0|
|00001e40| 78 30 37 2c 20 30 78 65 | 30 2c 20 30 78 30 30 2c |x07, 0xe|0, 0x00,|
|00001e50| 20 30 78 30 30 2c 20 30 | 78 30 30 2c 20 30 78 30 | 0x00, 0|x00, 0x0|
|00001e60| 30 7d 3b 0a 45 4e 44 5f | 4f 46 5f 46 49 4c 45 0a |0};.END_|OF_FILE.|
|00001e70| 69 66 20 74 65 73 74 20 | 33 33 34 20 2d 6e 65 20 |if test |334 -ne |
|00001e80| 60 77 63 20 2d 63 20 3c | 27 67 6f 6c 64 64 69 67 |`wc -c <|'golddig|
|00001e90| 32 2f 62 69 74 6d 61 70 | 2f 62 61 64 67 75 79 32 |2/bitmap|/badguy2|
|00001ea0| 2e 62 69 74 73 27 60 3b | 20 74 68 65 6e 0a 20 20 |.bits'`;| then. |
|00001eb0| 20 20 65 63 68 6f 20 73 | 68 61 72 3a 20 5c 22 27 | echo s|har: \"'|
|00001ec0| 67 6f 6c 64 64 69 67 32 | 2f 62 69 74 6d 61 70 2f |golddig2|/bitmap/|
|00001ed0| 62 61 64 67 75 79 32 2e | 62 69 74 73 27 5c 22 20 |badguy2.|bits'\" |
|00001ee0| 75 6e 70 61 63 6b 65 64 | 20 77 69 74 68 20 77 72 |unpacked| with wr|
|00001ef0| 6f 6e 67 20 73 69 7a 65 | 21 0a 66 69 0a 23 20 65 |ong size|!.fi.# e|
|00001f00| 6e 64 20 6f 66 20 27 67 | 6f 6c 64 64 69 67 32 2f |nd of 'g|olddig2/|
|00001f10| 62 69 74 6d 61 70 2f 62 | 61 64 67 75 79 32 2e 62 |bitmap/b|adguy2.b|
|00001f20| 69 74 73 27 0a 66 69 0a | 69 66 20 74 65 73 74 20 |its'.fi.|if test |
|00001f30| 2d 66 20 27 67 6f 6c 64 | 64 69 67 32 2f 62 69 74 |-f 'gold|dig2/bit|
|00001f40| 6d 61 70 2f 62 61 64 67 | 75 79 33 2e 62 69 74 73 |map/badg|uy3.bits|
|00001f50| 27 20 2d 61 20 22 24 7b | 31 7d 22 20 21 3d 20 22 |' -a "${|1}" != "|
|00001f60| 2d 63 22 20 3b 20 74 68 | 65 6e 20 0a 20 20 65 63 |-c" ; th|en . ec|
|00001f70| 68 6f 20 73 68 61 72 3a | 20 57 69 6c 6c 20 6e 6f |ho shar:| Will no|
|00001f80| 74 20 63 6c 6f 62 62 65 | 72 20 65 78 69 73 74 69 |t clobbe|r existi|
|00001f90| 6e 67 20 66 69 6c 65 20 | 5c 22 27 67 6f 6c 64 64 |ng file |\"'goldd|
|00001fa0| 69 67 32 2f 62 69 74 6d | 61 70 2f 62 61 64 67 75 |ig2/bitm|ap/badgu|
|00001fb0| 79 33 2e 62 69 74 73 27 | 5c 22 0a 65 6c 73 65 0a |y3.bits'|\".else.|
|00001fc0| 65 63 68 6f 20 73 68 61 | 72 3a 20 45 78 74 72 61 |echo sha|r: Extra|
|00001fd0| 63 74 69 6e 67 20 5c 22 | 27 67 6f 6c 64 64 69 67 |cting \"|'golddig|
|00001fe0| 32 2f 62 69 74 6d 61 70 | 2f 62 61 64 67 75 79 33 |2/bitmap|/badguy3|
|00001ff0| 2e 62 69 74 73 27 5c 22 | 20 5c 28 33 33 34 20 63 |.bits'\"| \(334 c|
|00002000| 68 61 72 61 63 74 65 72 | 73 5c 29 0a 73 65 64 20 |haracter|s\).sed |
|00002010| 22 73 2f 5e 58 2f 2f 22 | 20 3e 27 67 6f 6c 64 64 |"s/^X//"| >'goldd|
|00002020| 69 67 32 2f 62 69 74 6d | 61 70 2f 62 61 64 67 75 |ig2/bitm|ap/badgu|
|00002030| 79 33 2e 62 69 74 73 27 | 20 3c 3c 27 45 4e 44 5f |y3.bits'| <<'END_|
|00002040| 4f 46 5f 46 49 4c 45 27 | 0a 58 23 64 65 66 69 6e |OF_FILE'|.X#defin|
|00002050| 65 20 62 61 64 67 75 79 | 33 5f 77 69 64 74 68 20 |e badguy|3_width |
|00002060| 31 36 0a 58 23 64 65 66 | 69 6e 65 20 62 61 64 67 |16.X#def|ine badg|
|00002070| 75 79 33 5f 68 65 69 67 | 68 74 20 31 36 0a 58 23 |uy3_heig|ht 16.X#|
|00002080| 64 65 66 69 6e 65 20 62 | 61 64 67 75 79 33 5f 78 |define b|adguy3_x|
|00002090| 5f 68 6f 74 20 2d 31 0a | 58 23 64 65 66 69 6e 65 |_hot -1.|X#define|
|000020a0| 20 62 61 64 67 75 79 33 | 5f 79 5f 68 6f 74 20 2d | badguy3|_y_hot -|
|000020b0| 31 0a 58 73 74 61 74 69 | 63 20 63 68 61 72 20 62 |1.Xstati|c char b|
|000020c0| 61 64 67 75 79 33 5f 62 | 69 74 73 5b 5d 20 3d 20 |adguy3_b|its[] = |
|000020d0| 7b 0a 58 20 20 20 30 78 | 30 63 2c 20 30 78 33 30 |{.X 0x|0c, 0x30|
|000020e0| 2c 20 30 78 63 63 2c 20 | 30 78 33 33 2c 20 30 78 |, 0xcc, |0x33, 0x|
|000020f0| 65 38 2c 20 30 78 31 37 | 2c 20 30 78 63 38 2c 20 |e8, 0x17|, 0xc8, |
|00002100| 30 78 31 33 2c 20 30 78 | 31 30 2c 20 30 78 30 38 |0x13, 0x|10, 0x08|
|00002110| 2c 20 30 78 65 30 2c 20 | 30 78 30 37 2c 0a 58 20 |, 0xe0, |0x07,.X |
|00002120| 20 20 30 78 30 30 2c 20 | 30 78 30 30 2c 20 30 78 | 0x00, |0x00, 0x|
|00002130| 30 30 2c 20 30 78 30 30 | 2c 20 30 78 30 30 2c 20 |00, 0x00|, 0x00, |
|00002140| 30 78 30 30 2c 20 30 78 | 30 30 2c 20 30 78 30 30 |0x00, 0x|00, 0x00|
|00002150| 2c 20 30 78 65 30 2c 20 | 30 78 30 37 2c 20 30 78 |, 0xe0, |0x07, 0x|
|00002160| 33 30 2c 20 30 78 30 63 | 2c 0a 58 20 20 20 30 78 |30, 0x0c|,.X 0x|
|00002170| 31 38 2c 20 30 78 31 38 | 2c 20 30 78 36 63 2c 20 |18, 0x18|, 0x6c, |
|00002180| 30 78 33 36 2c 20 30 78 | 32 63 2c 20 30 78 33 34 |0x36, 0x|2c, 0x34|
|00002190| 2c 20 30 78 38 63 2c 20 | 30 78 33 31 7d 3b 0a 45 |, 0x8c, |0x31};.E|
|000021a0| 4e 44 5f 4f 46 5f 46 49 | 4c 45 0a 69 66 20 74 65 |ND_OF_FI|LE.if te|
|000021b0| 73 74 20 33 33 34 20 2d | 6e 65 20 60 77 63 20 2d |st 334 -|ne `wc -|
|000021c0| 63 20 3c 27 67 6f 6c 64 | 64 69 67 32 2f 62 69 74 |c <'gold|dig2/bit|
|000021d0| 6d 61 70 2f 62 61 64 67 | 75 79 33 2e 62 69 74 73 |map/badg|uy3.bits|
|000021e0| 27 60 3b 20 74 68 65 6e | 0a 20 20 20 20 65 63 68 |'`; then|. ech|
|000021f0| 6f 20 73 68 61 72 3a 20 | 5c 22 27 67 6f 6c 64 64 |o shar: |\"'goldd|
|00002200| 69 67 32 2f 62 69 74 6d | 61 70 2f 62 61 64 67 75 |ig2/bitm|ap/badgu|
|00002210| 79 33 2e 62 69 74 73 27 | 5c 22 20 75 6e 70 61 63 |y3.bits'|\" unpac|
|00002220| 6b 65 64 20 77 69 74 68 | 20 77 72 6f 6e 67 20 73 |ked with| wrong s|
|00002230| 69 7a 65 21 0a 66 69 0a | 23 20 65 6e 64 20 6f 66 |ize!.fi.|# end of|
|00002240| 20 27 67 6f 6c 64 64 69 | 67 32 2f 62 69 74 6d 61 | 'golddi|g2/bitma|
|00002250| 70 2f 62 61 64 67 75 79 | 33 2e 62 69 74 73 27 0a |p/badguy|3.bits'.|
|00002260| 66 69 0a 69 66 20 74 65 | 73 74 20 2d 66 20 27 67 |fi.if te|st -f 'g|
|00002270| 6f 6c 64 64 69 67 32 2f | 62 69 74 6d 61 70 2f 63 |olddig2/|bitmap/c|
|00002280| 68 75 74 65 2e 62 69 74 | 73 27 20 2d 61 20 22 24 |hute.bit|s' -a "$|
|00002290| 7b 31 7d 22 20 21 3d 20 | 22 2d 63 22 20 3b 20 74 |{1}" != |"-c" ; t|
|000022a0| 68 65 6e 20 0a 20 20 65 | 63 68 6f 20 73 68 61 72 |hen . e|cho shar|
|000022b0| 3a 20 57 69 6c 6c 20 6e | 6f 74 20 63 6c 6f 62 62 |: Will n|ot clobb|
|000022c0| 65 72 20 65 78 69 73 74 | 69 6e 67 20 66 69 6c 65 |er exist|ing file|
|000022d0| 20 5c 22 27 67 6f 6c 64 | 64 69 67 32 2f 62 69 74 | \"'gold|dig2/bit|
|000022e0| 6d 61 70 2f 63 68 75 74 | 65 2e 62 69 74 73 27 5c |map/chut|e.bits'\|
|000022f0| 22 0a 65 6c 73 65 0a 65 | 63 68 6f 20 73 68 61 72 |".else.e|cho shar|
|00002300| 3a 20 45 78 74 72 61 63 | 74 69 6e 67 20 5c 22 27 |: Extrac|ting \"'|
|00002310| 67 6f 6c 64 64 69 67 32 | 2f 62 69 74 6d 61 70 2f |golddig2|/bitmap/|
|00002320| 63 68 75 74 65 2e 62 69 | 74 73 27 5c 22 20 5c 28 |chute.bi|ts'\" \(|
|00002330| 32 37 38 20 63 68 61 72 | 61 63 74 65 72 73 5c 29 |278 char|acters\)|
|00002340| 0a 73 65 64 20 22 73 2f | 5e 58 2f 2f 22 20 3e 27 |.sed "s/|^X//" >'|
|00002350| 67 6f 6c 64 64 69 67 32 | 2f 62 69 74 6d 61 70 2f |golddig2|/bitmap/|
|00002360| 63 68 75 74 65 2e 62 69 | 74 73 27 20 3c 3c 27 45 |chute.bi|ts' <<'E|
|00002370| 4e 44 5f 4f 46 5f 46 49 | 4c 45 27 0a 58 23 64 65 |ND_OF_FI|LE'.X#de|
|00002380| 66 69 6e 65 20 63 68 75 | 74 65 5f 77 69 64 74 68 |fine chu|te_width|
|00002390| 20 31 36 0a 58 23 64 65 | 66 69 6e 65 20 63 68 75 | 16.X#de|fine chu|
|000023a0| 74 65 5f 68 65 69 67 68 | 74 20 31 36 0a 58 73 74 |te_heigh|t 16.Xst|
|000023b0| 61 74 69 63 20 63 68 61 | 72 20 63 68 75 74 65 5f |atic cha|r chute_|
|000023c0| 62 69 74 73 5b 5d 20 3d | 20 7b 0a 58 20 20 20 30 |bits[] =| {.X 0|
|000023d0| 78 30 36 2c 20 30 78 65 | 30 2c 20 30 78 30 37 2c |x06, 0xe|0, 0x07,|
|000023e0| 20 30 78 36 30 2c 20 30 | 78 30 36 2c 20 30 78 65 | 0x60, 0|x06, 0xe|
|000023f0| 30 2c 20 30 78 30 37 2c | 20 30 78 36 30 2c 20 30 |0, 0x07,| 0x60, 0|
|00002400| 78 30 36 2c 20 30 78 65 | 30 2c 20 30 78 30 37 2c |x06, 0xe|0, 0x07,|
|00002410| 20 30 78 36 30 2c 0a 58 | 20 20 20 30 78 30 36 2c | 0x60,.X| 0x06,|
|00002420| 20 30 78 65 30 2c 20 30 | 78 30 37 2c 20 30 78 36 | 0xe0, 0|x07, 0x6|
|00002430| 30 2c 20 30 78 30 36 2c | 20 30 78 65 30 2c 20 30 |0, 0x06,| 0xe0, 0|
|00002440| 78 30 37 2c 20 30 78 36 | 30 2c 20 30 78 30 36 2c |x07, 0x6|0, 0x06,|
|00002450| 20 30 78 65 30 2c 20 30 | 78 30 37 2c 20 30 78 36 | 0xe0, 0|x07, 0x6|
|00002460| 30 2c 0a 58 20 20 20 30 | 78 30 36 2c 20 30 78 65 |0,.X 0|x06, 0xe|
|00002470| 30 2c 20 30 78 30 37 2c | 20 30 78 36 30 2c 20 30 |0, 0x07,| 0x60, 0|
|00002480| 78 30 36 2c 20 30 78 65 | 30 2c 20 30 78 30 37 2c |x06, 0xe|0, 0x07,|
|00002490| 20 30 78 36 30 7d 3b 0a | 45 4e 44 5f 4f 46 5f 46 | 0x60};.|END_OF_F|
|000024a0| 49 4c 45 0a 69 66 20 74 | 65 73 74 20 32 37 38 20 |ILE.if t|est 278 |
|000024b0| 2d 6e 65 20 60 77 63 20 | 2d 63 20 3c 27 67 6f 6c |-ne `wc |-c <'gol|
|000024c0| 64 64 69 67 32 2f 62 69 | 74 6d 61 70 2f 63 68 75 |ddig2/bi|tmap/chu|
|000024d0| 74 65 2e 62 69 74 73 27 | 60 3b 20 74 68 65 6e 0a |te.bits'|`; then.|
|000024e0| 20 20 20 20 65 63 68 6f | 20 73 68 61 72 3a 20 5c | echo| shar: \|
|000024f0| 22 27 67 6f 6c 64 64 69 | 67 32 2f 62 69 74 6d 61 |"'golddi|g2/bitma|
|00002500| 70 2f 63 68 75 74 65 2e | 62 69 74 73 27 5c 22 20 |p/chute.|bits'\" |
|00002510| 75 6e 70 61 63 6b 65 64 | 20 77 69 74 68 20 77 72 |unpacked| with wr|
|00002520| 6f 6e 67 20 73 69 7a 65 | 21 0a 66 69 0a 23 20 65 |ong size|!.fi.# e|
|00002530| 6e 64 20 6f 66 20 27 67 | 6f 6c 64 64 69 67 32 2f |nd of 'g|olddig2/|
|00002540| 62 69 74 6d 61 70 2f 63 | 68 75 74 65 2e 62 69 74 |bitmap/c|hute.bit|
|00002550| 73 27 0a 66 69 0a 69 66 | 20 74 65 73 74 20 2d 66 |s'.fi.if| test -f|
|00002560| 20 27 67 6f 6c 64 64 69 | 67 32 2f 62 69 74 6d 61 | 'golddi|g2/bitma|
|00002570| 70 2f 64 61 72 72 6f 77 | 2e 62 69 74 73 27 20 2d |p/darrow|.bits' -|
|00002580| 61 20 22 24 7b 31 7d 22 | 20 21 3d 20 22 2d 63 22 |a "${1}"| != "-c"|
|00002590| 20 3b 20 74 68 65 6e 20 | 0a 20 20 65 63 68 6f 20 | ; then |. echo |
|000025a0| 73 68 61 72 3a 20 57 69 | 6c 6c 20 6e 6f 74 20 63 |shar: Wi|ll not c|
|000025b0| 6c 6f 62 62 65 72 20 65 | 78 69 73 74 69 6e 67 20 |lobber e|xisting |
|000025c0| 66 69 6c 65 20 5c 22 27 | 67 6f 6c 64 64 69 67 32 |file \"'|golddig2|
|000025d0| 2f 62 69 74 6d 61 70 2f | 64 61 72 72 6f 77 2e 62 |/bitmap/|darrow.b|
|000025e0| 69 74 73 27 5c 22 0a 65 | 6c 73 65 0a 65 63 68 6f |its'\".e|lse.echo|
|000025f0| 20 73 68 61 72 3a 20 45 | 78 74 72 61 63 74 69 6e | shar: E|xtractin|
|00002600| 67 20 5c 22 27 67 6f 6c | 64 64 69 67 32 2f 62 69 |g \"'gol|ddig2/bi|
|00002610| 74 6d 61 70 2f 64 61 72 | 72 6f 77 2e 62 69 74 73 |tmap/dar|row.bits|
|00002620| 27 5c 22 20 5c 28 33 32 | 39 20 63 68 61 72 61 63 |'\" \(32|9 charac|
|00002630| 74 65 72 73 5c 29 0a 73 | 65 64 20 22 73 2f 5e 58 |ters\).s|ed "s/^X|
|00002640| 2f 2f 22 20 3e 27 67 6f | 6c 64 64 69 67 32 2f 62 |//" >'go|lddig2/b|
|00002650| 69 74 6d 61 70 2f 64 61 | 72 72 6f 77 2e 62 69 74 |itmap/da|rrow.bit|
|00002660| 73 27 20 3c 3c 27 45 4e | 44 5f 4f 46 5f 46 49 4c |s' <<'EN|D_OF_FIL|
|00002670| 45 27 0a 58 23 64 65 66 | 69 6e 65 20 64 61 72 72 |E'.X#def|ine darr|
|00002680| 6f 77 5f 77 69 64 74 68 | 20 31 36 0a 58 23 64 65 |ow_width| 16.X#de|
|00002690| 66 69 6e 65 20 64 61 72 | 72 6f 77 5f 68 65 69 67 |fine dar|row_heig|
|000026a0| 68 74 20 31 36 0a 58 23 | 64 65 66 69 6e 65 20 64 |ht 16.X#|define d|
|000026b0| 61 72 72 6f 77 5f 78 5f | 68 6f 74 20 2d 31 0a 58 |arrow_x_|hot -1.X|
|000026c0| 23 64 65 66 69 6e 65 20 | 64 61 72 72 6f 77 5f 79 |#define |darrow_y|
|000026d0| 5f 68 6f 74 20 2d 31 0a | 58 73 74 61 74 69 63 20 |_hot -1.|Xstatic |
|000026e0| 63 68 61 72 20 64 61 72 | 72 6f 77 5f 62 69 74 73 |char dar|row_bits|
|000026f0| 5b 5d 20 3d 20 7b 0a 58 | 20 20 20 30 78 30 30 2c |[] = {.X| 0x00,|
|00002700| 20 30 78 30 30 2c 20 30 | 78 63 30 2c 20 30 78 30 | 0x00, 0|xc0, 0x0|
|00002710| 33 2c 20 30 78 63 30 2c | 20 30 78 30 33 2c 20 30 |3, 0xc0,| 0x03, 0|
|00002720| 78 63 30 2c 20 30 78 30 | 33 2c 20 30 78 63 30 2c |xc0, 0x0|3, 0xc0,|
|00002730| 20 30 78 30 33 2c 20 30 | 78 63 30 2c 20 30 78 30 | 0x03, 0|xc0, 0x0|
|00002740| 33 2c 0a 58 20 20 20 30 | 78 63 30 2c 20 30 78 30 |3,.X 0|xc0, 0x0|
|00002750| 33 2c 20 30 78 63 30 2c | 20 30 78 30 33 2c 20 30 |3, 0xc0,| 0x03, 0|
|00002760| 78 63 30 2c 20 30 78 30 | 33 2c 20 30 78 66 63 2c |xc0, 0x0|3, 0xfc,|
|00002770| 20 30 78 33 66 2c 20 30 | 78 66 38 2c 20 30 78 31 | 0x3f, 0|xf8, 0x1|
|00002780| 66 2c 20 30 78 66 30 2c | 20 30 78 30 66 2c 0a 58 |f, 0xf0,| 0x0f,.X|
|00002790| 20 20 20 30 78 65 30 2c | 20 30 78 30 37 2c 20 30 | 0xe0,| 0x07, 0|
|000027a0| 78 63 30 2c 20 30 78 30 | 33 2c 20 30 78 38 30 2c |xc0, 0x0|3, 0x80,|
|000027b0| 20 30 78 30 31 2c 20 30 | 78 30 30 2c 20 30 78 30 | 0x01, 0|x00, 0x0|
|000027c0| 30 7d 3b 0a 45 4e 44 5f | 4f 46 5f 46 49 4c 45 0a |0};.END_|OF_FILE.|
|000027d0| 69 66 20 74 65 73 74 20 | 33 32 39 20 2d 6e 65 20 |if test |329 -ne |
|000027e0| 60 77 63 20 2d 63 20 3c | 27 67 6f 6c 64 64 69 67 |`wc -c <|'golddig|
|000027f0| 32 2f 62 69 74 6d 61 70 | 2f 64 61 72 72 6f 77 2e |2/bitmap|/darrow.|
|00002800| 62 69 74 73 27 60 3b 20 | 74 68 65 6e 0a 20 20 20 |bits'`; |then. |
|00002810| 20 65 63 68 6f 20 73 68 | 61 72 3a 20 5c 22 27 67 | echo sh|ar: \"'g|
|00002820| 6f 6c 64 64 69 67 32 2f | 62 69 74 6d 61 70 2f 64 |olddig2/|bitmap/d|
|00002830| 61 72 72 6f 77 2e 62 69 | 74 73 27 5c 22 20 75 6e |arrow.bi|ts'\" un|
|00002840| 70 61 63 6b 65 64 20 77 | 69 74 68 20 77 72 6f 6e |packed w|ith wron|
|00002850| 67 20 73 69 7a 65 21 0a | 66 69 0a 23 20 65 6e 64 |g size!.|fi.# end|
|00002860| 20 6f 66 20 27 67 6f 6c | 64 64 69 67 32 2f 62 69 | of 'gol|ddig2/bi|
|00002870| 74 6d 61 70 2f 64 61 72 | 72 6f 77 2e 62 69 74 73 |tmap/dar|row.bits|
|00002880| 27 0a 66 69 0a 69 66 20 | 74 65 73 74 20 2d 66 20 |'.fi.if |test -f |
|00002890| 27 67 6f 6c 64 64 69 67 | 32 2f 62 69 74 6d 61 70 |'golddig|2/bitmap|
|000028a0| 2f 65 73 63 61 70 65 2e | 62 69 74 73 27 20 2d 61 |/escape.|bits' -a|
|000028b0| 20 22 24 7b 31 7d 22 20 | 21 3d 20 22 2d 63 22 20 | "${1}" |!= "-c" |
|000028c0| 3b 20 74 68 65 6e 20 0a | 20 20 65 63 68 6f 20 73 |; then .| echo s|
|000028d0| 68 61 72 3a 20 57 69 6c | 6c 20 6e 6f 74 20 63 6c |har: Wil|l not cl|
|000028e0| 6f 62 62 65 72 20 65 78 | 69 73 74 69 6e 67 20 66 |obber ex|isting f|
|000028f0| 69 6c 65 20 5c 22 27 67 | 6f 6c 64 64 69 67 32 2f |ile \"'g|olddig2/|
|00002900| 62 69 74 6d 61 70 2f 65 | 73 63 61 70 65 2e 62 69 |bitmap/e|scape.bi|
|00002910| 74 73 27 5c 22 0a 65 6c | 73 65 0a 65 63 68 6f 20 |ts'\".el|se.echo |
|00002920| 73 68 61 72 3a 20 45 78 | 74 72 61 63 74 69 6e 67 |shar: Ex|tracting|
|00002930| 20 5c 22 27 67 6f 6c 64 | 64 69 67 32 2f 62 69 74 | \"'gold|dig2/bit|
|00002940| 6d 61 70 2f 65 73 63 61 | 70 65 2e 62 69 74 73 27 |map/esca|pe.bits'|
|00002950| 5c 22 20 5c 28 33 32 39 | 20 63 68 61 72 61 63 74 |\" \(329| charact|
|00002960| 65 72 73 5c 29 0a 73 65 | 64 20 22 73 2f 5e 58 2f |ers\).se|d "s/^X/|
|00002970| 2f 22 20 3e 27 67 6f 6c | 64 64 69 67 32 2f 62 69 |/" >'gol|ddig2/bi|
|00002980| 74 6d 61 70 2f 65 73 63 | 61 70 65 2e 62 69 74 73 |tmap/esc|ape.bits|
|00002990| 27 20 3c 3c 27 45 4e 44 | 5f 4f 46 5f 46 49 4c 45 |' <<'END|_OF_FILE|
|000029a0| 27 0a 58 23 64 65 66 69 | 6e 65 20 65 73 63 61 70 |'.X#defi|ne escap|
|000029b0| 65 5f 77 69 64 74 68 20 | 31 36 0a 58 23 64 65 66 |e_width |16.X#def|
|000029c0| 69 6e 65 20 65 73 63 61 | 70 65 5f 68 65 69 67 68 |ine esca|pe_heigh|
|000029d0| 74 20 31 36 0a 58 23 64 | 65 66 69 6e 65 20 65 73 |t 16.X#d|efine es|
|000029e0| 63 61 70 65 5f 78 5f 68 | 6f 74 20 2d 31 0a 58 23 |cape_x_h|ot -1.X#|
|000029f0| 64 65 66 69 6e 65 20 65 | 73 63 61 70 65 5f 79 5f |define e|scape_y_|
|00002a00| 68 6f 74 20 2d 31 0a 58 | 73 74 61 74 69 63 20 63 |hot -1.X|static c|
|00002a10| 68 61 72 20 65 73 63 61 | 70 65 5f 62 69 74 73 5b |har esca|pe_bits[|
|00002a20| 5d 20 3d 20 7b 0a 58 20 | 20 20 30 78 61 38 2c 20 |] = {.X | 0xa8, |
|00002a30| 30 78 32 61 2c 20 30 78 | 31 34 2c 20 30 78 30 30 |0x2a, 0x|14, 0x00|
|00002a40| 2c 20 30 78 30 30 2c 20 | 30 78 32 38 2c 20 30 78 |, 0x00, |0x28, 0x|
|00002a50| 31 34 2c 20 30 78 30 30 | 2c 20 30 78 61 30 2c 20 |14, 0x00|, 0xa0, |
|00002a60| 30 78 32 61 2c 20 30 78 | 31 34 2c 20 30 78 30 30 |0x2a, 0x|14, 0x00|
|00002a70| 2c 0a 58 20 20 20 30 78 | 30 30 2c 20 30 78 32 38 |,.X 0x|00, 0x28|
|00002a80| 2c 20 30 78 31 34 2c 20 | 30 78 30 30 2c 20 30 78 |, 0x14, |0x00, 0x|
|00002a90| 61 30 2c 20 30 78 32 61 | 2c 20 30 78 31 34 2c 20 |a0, 0x2a|, 0x14, |
|00002aa0| 30 78 30 30 2c 20 30 78 | 30 30 2c 20 30 78 32 38 |0x00, 0x|00, 0x28|
|00002ab0| 2c 20 30 78 31 34 2c 20 | 30 78 30 30 2c 0a 58 20 |, 0x14, |0x00,.X |
|00002ac0| 20 20 30 78 61 30 2c 20 | 30 78 32 61 2c 20 30 78 | 0xa0, |0x2a, 0x|
|00002ad0| 31 34 2c 20 30 78 30 30 | 2c 20 30 78 30 30 2c 20 |14, 0x00|, 0x00, |
|00002ae0| 30 78 32 38 2c 20 30 78 | 31 34 2c 20 30 78 31 30 |0x28, 0x|14, 0x10|
|00002af0| 7d 3b 0a 45 4e 44 5f 4f | 46 5f 46 49 4c 45 0a 69 |};.END_O|F_FILE.i|
|00002b00| 66 20 74 65 73 74 20 33 | 32 39 20 2d 6e 65 20 60 |f test 3|29 -ne `|
|00002b10| 77 63 20 2d 63 20 3c 27 | 67 6f 6c 64 64 69 67 32 |wc -c <'|golddig2|
|00002b20| 2f 62 69 74 6d 61 70 2f | 65 73 63 61 70 65 2e 62 |/bitmap/|escape.b|
|00002b30| 69 74 73 27 60 3b 20 74 | 68 65 6e 0a 20 20 20 20 |its'`; t|hen. |
|00002b40| 65 63 68 6f 20 73 68 61 | 72 3a 20 5c 22 27 67 6f |echo sha|r: \"'go|
|00002b50| 6c 64 64 69 67 32 2f 62 | 69 74 6d 61 70 2f 65 73 |lddig2/b|itmap/es|
|00002b60| 63 61 70 65 2e 62 69 74 | 73 27 5c 22 20 75 6e 70 |cape.bit|s'\" unp|
|00002b70| 61 63 6b 65 64 20 77 69 | 74 68 20 77 72 6f 6e 67 |acked wi|th wrong|
|00002b80| 20 73 69 7a 65 21 0a 66 | 69 0a 23 20 65 6e 64 20 | size!.f|i.# end |
|00002b90| 6f 66 20 27 67 6f 6c 64 | 64 69 67 32 2f 62 69 74 |of 'gold|dig2/bit|
|00002ba0| 6d 61 70 2f 65 73 63 61 | 70 65 2e 62 69 74 73 27 |map/esca|pe.bits'|
|00002bb0| 0a 66 69 0a 69 66 20 74 | 65 73 74 20 2d 66 20 27 |.fi.if t|est -f '|
|00002bc0| 67 6f 6c 64 64 69 67 32 | 2f 62 69 74 6d 61 70 2f |golddig2|/bitmap/|
|00002bd0| 66 6c 79 2e 62 69 74 73 | 27 20 2d 61 20 22 24 7b |fly.bits|' -a "${|
|00002be0| 31 7d 22 20 21 3d 20 22 | 2d 63 22 20 3b 20 74 68 |1}" != "|-c" ; th|
|00002bf0| 65 6e 20 0a 20 20 65 63 | 68 6f 20 73 68 61 72 3a |en . ec|ho shar:|
|00002c00| 20 57 69 6c 6c 20 6e 6f | 74 20 63 6c 6f 62 62 65 | Will no|t clobbe|
|00002c10| 72 20 65 78 69 73 74 69 | 6e 67 20 66 69 6c 65 20 |r existi|ng file |
|00002c20| 5c 22 27 67 6f 6c 64 64 | 69 67 32 2f 62 69 74 6d |\"'goldd|ig2/bitm|
|00002c30| 61 70 2f 66 6c 79 2e 62 | 69 74 73 27 5c 22 0a 65 |ap/fly.b|its'\".e|
|00002c40| 6c 73 65 0a 65 63 68 6f | 20 73 68 61 72 3a 20 45 |lse.echo| shar: E|
|00002c50| 78 74 72 61 63 74 69 6e | 67 20 5c 22 27 67 6f 6c |xtractin|g \"'gol|
|00002c60| 64 64 69 67 32 2f 62 69 | 74 6d 61 70 2f 66 6c 79 |ddig2/bi|tmap/fly|
|00002c70| 2e 62 69 74 73 27 5c 22 | 20 5c 28 33 31 34 20 63 |.bits'\"| \(314 c|
|00002c80| 68 61 72 61 63 74 65 72 | 73 5c 29 0a 73 65 64 20 |haracter|s\).sed |
|00002c90| 22 73 2f 5e 58 2f 2f 22 | 20 3e 27 67 6f 6c 64 64 |"s/^X//"| >'goldd|
|00002ca0| 69 67 32 2f 62 69 74 6d | 61 70 2f 66 6c 79 2e 62 |ig2/bitm|ap/fly.b|
|00002cb0| 69 74 73 27 20 3c 3c 27 | 45 4e 44 5f 4f 46 5f 46 |its' <<'|END_OF_F|
|00002cc0| 49 4c 45 27 0a 58 23 64 | 65 66 69 6e 65 20 66 6c |ILE'.X#d|efine fl|
|00002cd0| 79 5f 77 69 64 74 68 20 | 31 36 0a 58 23 64 65 66 |y_width |16.X#def|
|00002ce0| 69 6e 65 20 66 6c 79 5f | 68 65 69 67 68 74 20 31 |ine fly_|height 1|
|00002cf0| 36 0a 58 23 64 65 66 69 | 6e 65 20 66 6c 79 5f 78 |6.X#defi|ne fly_x|
|00002d00| 5f 68 6f 74 20 2d 31 0a | 58 23 64 65 66 69 6e 65 |_hot -1.|X#define|
|00002d10| 20 66 6c 79 5f 79 5f 68 | 6f 74 20 2d 31 0a 58 73 | fly_y_h|ot -1.Xs|
|00002d20| 74 61 74 69 63 20 63 68 | 61 72 20 66 6c 79 5f 62 |tatic ch|ar fly_b|
|00002d30| 69 74 73 5b 5d 20 3d 20 | 7b 0a 58 20 20 20 30 78 |its[] = |{.X 0x|
|00002d40| 63 30 2c 20 30 78 30 33 | 2c 20 30 78 65 30 2c 20 |c0, 0x03|, 0xe0, |
|00002d50| 30 78 30 37 2c 20 30 78 | 36 30 2c 20 30 78 30 36 |0x07, 0x|60, 0x06|
|00002d60| 2c 20 30 78 37 30 2c 20 | 30 78 30 65 2c 20 30 78 |, 0x70, |0x0e, 0x|
|00002d70| 33 38 2c 20 30 78 31 63 | 2c 20 30 78 31 63 2c 20 |38, 0x1c|, 0x1c, |
|00002d80| 30 78 33 38 2c 0a 58 20 | 20 20 30 78 30 30 2c 20 |0x38,.X | 0x00, |
|00002d90| 30 78 30 30 2c 20 30 78 | 30 30 2c 20 30 78 30 30 |0x00, 0x|00, 0x00|
|00002da0| 2c 20 30 78 30 30 2c 20 | 30 78 30 30 2c 20 30 78 |, 0x00, |0x00, 0x|
|00002db0| 38 30 2c 20 30 78 30 31 | 2c 20 30 78 63 34 2c 20 |80, 0x01|, 0xc4, |
|00002dc0| 30 78 32 33 2c 20 30 78 | 63 63 2c 20 30 78 33 33 |0x23, 0x|cc, 0x33|
|00002dd0| 2c 0a 58 20 20 20 30 78 | 39 38 2c 20 30 78 31 39 |,.X 0x|98, 0x19|
|00002de0| 2c 20 30 78 66 30 2c 20 | 30 78 30 66 2c 20 30 78 |, 0xf0, |0x0f, 0x|
|00002df0| 65 30 2c 20 30 78 30 37 | 2c 20 30 78 63 30 2c 20 |e0, 0x07|, 0xc0, |
|00002e00| 30 78 30 33 7d 3b 0a 45 | 4e 44 5f 4f 46 5f 46 49 |0x03};.E|ND_OF_FI|
|00002e10| 4c 45 0a 69 66 20 74 65 | 73 74 20 33 31 34 20 2d |LE.if te|st 314 -|
|00002e20| 6e 65 20 60 77 63 20 2d | 63 20 3c 27 67 6f 6c 64 |ne `wc -|c <'gold|
|00002e30| 64 69 67 32 2f 62 69 74 | 6d 61 70 2f 66 6c 79 2e |dig2/bit|map/fly.|
|00002e40| 62 69 74 73 27 60 3b 20 | 74 68 65 6e 0a 20 20 20 |bits'`; |then. |
|00002e50| 20 65 63 68 6f 20 73 68 | 61 72 3a 20 5c 22 27 67 | echo sh|ar: \"'g|
|00002e60| 6f 6c 64 64 69 67 32 2f | 62 69 74 6d 61 70 2f 66 |olddig2/|bitmap/f|
|00002e70| 6c 79 2e 62 69 74 73 27 | 5c 22 20 75 6e 70 61 63 |ly.bits'|\" unpac|
|00002e80| 6b 65 64 20 77 69 74 68 | 20 77 72 6f 6e 67 20 73 |ked with| wrong s|
|00002e90| 69 7a 65 21 0a 66 69 0a | 23 20 65 6e 64 20 6f 66 |ize!.fi.|# end of|
|00002ea0| 20 27 67 6f 6c 64 64 69 | 67 32 2f 62 69 74 6d 61 | 'golddi|g2/bitma|
|00002eb0| 70 2f 66 6c 79 2e 62 69 | 74 73 27 0a 66 69 0a 69 |p/fly.bi|ts'.fi.i|
|00002ec0| 66 20 74 65 73 74 20 2d | 66 20 27 67 6f 6c 64 64 |f test -|f 'goldd|
|00002ed0| 69 67 32 2f 62 69 74 6d | 61 70 2f 66 6f 67 2e 62 |ig2/bitm|ap/fog.b|
|00002ee0| 69 74 73 27 20 2d 61 20 | 22 24 7b 31 7d 22 20 21 |its' -a |"${1}" !|
|00002ef0| 3d 20 22 2d 63 22 20 3b | 20 74 68 65 6e 20 0a 20 |= "-c" ;| then . |
|00002f00| 20 65 63 68 6f 20 73 68 | 61 72 3a 20 57 69 6c 6c | echo sh|ar: Will|
|00002f10| 20 6e 6f 74 20 63 6c 6f | 62 62 65 72 20 65 78 69 | not clo|bber exi|
|00002f20| 73 74 69 6e 67 20 66 69 | 6c 65 20 5c 22 27 67 6f |sting fi|le \"'go|
|00002f30| 6c 64 64 69 67 32 2f 62 | 69 74 6d 61 70 2f 66 6f |lddig2/b|itmap/fo|
|00002f40| 67 2e 62 69 74 73 27 5c | 22 0a 65 6c 73 65 0a 65 |g.bits'\|".else.e|
|00002f50| 63 68 6f 20 73 68 61 72 | 3a 20 45 78 74 72 61 63 |cho shar|: Extrac|
|00002f60| 74 69 6e 67 20 5c 22 27 | 67 6f 6c 64 64 69 67 32 |ting \"'|golddig2|
|00002f70| 2f 62 69 74 6d 61 70 2f | 66 6f 67 2e 62 69 74 73 |/bitmap/|fog.bits|
|00002f80| 27 5c 22 20 5c 28 32 37 | 32 20 63 68 61 72 61 63 |'\" \(27|2 charac|
|00002f90| 74 65 72 73 5c 29 0a 73 | 65 64 20 22 73 2f 5e 58 |ters\).s|ed "s/^X|
|00002fa0| 2f 2f 22 20 3e 27 67 6f | 6c 64 64 69 67 32 2f 62 |//" >'go|lddig2/b|
|00002fb0| 69 74 6d 61 70 2f 66 6f | 67 2e 62 69 74 73 27 20 |itmap/fo|g.bits' |
|00002fc0| 3c 3c 27 45 4e 44 5f 4f | 46 5f 46 49 4c 45 27 0a |<<'END_O|F_FILE'.|
|00002fd0| 58 23 64 65 66 69 6e 65 | 20 66 6f 67 5f 77 69 64 |X#define| fog_wid|
|00002fe0| 74 68 20 31 36 0a 58 23 | 64 65 66 69 6e 65 20 66 |th 16.X#|define f|
|00002ff0| 6f 67 5f 68 65 69 67 68 | 74 20 31 36 0a 58 73 74 |og_heigh|t 16.Xst|
|00003000| 61 74 69 63 20 63 68 61 | 72 20 66 6f 67 5f 62 69 |atic cha|r fog_bi|
|00003010| 74 73 5b 5d 20 3d 20 7b | 0a 58 20 20 20 30 78 33 |ts[] = {|.X 0x3|
|00003020| 63 2c 20 30 78 37 65 2c | 20 30 78 37 65 2c 20 30 |c, 0x7e,| 0x7e, 0|
|00003030| 78 66 66 2c 20 30 78 66 | 66 2c 20 30 78 66 66 2c |xff, 0xf|f, 0xff,|
|00003040| 20 30 78 66 66 2c 20 30 | 78 66 66 2c 20 30 78 66 | 0xff, 0|xff, 0xf|
|00003050| 65 2c 20 30 78 37 66 2c | 20 30 78 65 65 2c 20 30 |e, 0x7f,| 0xee, 0|
|00003060| 78 37 66 2c 0a 58 20 20 | 20 30 78 66 66 2c 20 30 |x7f,.X | 0xff, 0|
|00003070| 78 66 64 2c 20 30 78 66 | 66 2c 20 30 78 66 38 2c |xfd, 0xf|f, 0xf8,|
|00003080| 20 30 78 66 66 2c 20 30 | 78 37 64 2c 20 30 78 66 | 0xff, 0|x7d, 0xf|
|00003090| 65 2c 20 30 78 33 66 2c | 20 30 78 62 66 2c 20 30 |e, 0x3f,| 0xbf, 0|
|000030a0| 78 37 66 2c 20 30 78 39 | 66 2c 20 30 78 66 66 2c |x7f, 0x9|f, 0xff,|
|000030b0| 0a 58 20 20 20 30 78 62 | 66 2c 20 30 78 66 66 2c |.X 0xb|f, 0xff,|
|000030c0| 20 30 78 66 65 2c 20 30 | 78 66 66 2c 20 30 78 66 | 0xfe, 0|xff, 0xf|
|000030d0| 65 2c 20 30 78 37 66 2c | 20 30 78 33 63 2c 20 30 |e, 0x7f,| 0x3c, 0|
|000030e0| 78 31 62 7d 3b 0a 45 4e | 44 5f 4f 46 5f 46 49 4c |x1b};.EN|D_OF_FIL|
|000030f0| 45 0a 69 66 20 74 65 73 | 74 20 32 37 32 20 2d 6e |E.if tes|t 272 -n|
|00003100| 65 20 60 77 63 20 2d 63 | 20 3c 27 67 6f 6c 64 64 |e `wc -c| <'goldd|
|00003110| 69 67 32 2f 62 69 74 6d | 61 70 2f 66 6f 67 2e 62 |ig2/bitm|ap/fog.b|
|00003120| 69 74 73 27 60 3b 20 74 | 68 65 6e 0a 20 20 20 20 |its'`; t|hen. |
|00003130| 65 63 68 6f 20 73 68 61 | 72 3a 20 5c 22 27 67 6f |echo sha|r: \"'go|
|00003140| 6c 64 64 69 67 32 2f 62 | 69 74 6d 61 70 2f 66 6f |lddig2/b|itmap/fo|
|00003150| 67 2e 62 69 74 73 27 5c | 22 20 75 6e 70 61 63 6b |g.bits'\|" unpack|
|00003160| 65 64 20 77 69 74 68 20 | 77 72 6f 6e 67 20 73 69 |ed with |wrong si|
|00003170| 7a 65 21 0a 66 69 0a 23 | 20 65 6e 64 20 6f 66 20 |ze!.fi.#| end of |
|00003180| 27 67 6f 6c 64 64 69 67 | 32 2f 62 69 74 6d 61 70 |'golddig|2/bitmap|
|00003190| 2f 66 6f 67 2e 62 69 74 | 73 27 0a 66 69 0a 69 66 |/fog.bit|s'.fi.if|
|000031a0| 20 74 65 73 74 20 2d 66 | 20 27 67 6f 6c 64 64 69 | test -f| 'golddi|
|000031b0| 67 32 2f 62 69 74 6d 61 | 70 2f 67 68 6f 73 74 2e |g2/bitma|p/ghost.|
|000031c0| 62 69 74 73 27 20 2d 61 | 20 22 24 7b 31 7d 22 20 |bits' -a| "${1}" |
|000031d0| 21 3d 20 22 2d 63 22 20 | 3b 20 74 68 65 6e 20 0a |!= "-c" |; then .|
|000031e0| 20 20 65 63 68 6f 20 73 | 68 61 72 3a 20 57 69 6c | echo s|har: Wil|
|000031f0| 6c 20 6e 6f 74 20 63 6c | 6f 62 62 65 72 20 65 78 |l not cl|obber ex|
|00003200| 69 73 74 69 6e 67 20 66 | 69 6c 65 20 5c 22 27 67 |isting f|ile \"'g|
|00003210| 6f 6c 64 64 69 67 32 2f | 62 69 74 6d 61 70 2f 67 |olddig2/|bitmap/g|
|00003220| 68 6f 73 74 2e 62 69 74 | 73 27 5c 22 0a 65 6c 73 |host.bit|s'\".els|
|00003230| 65 0a 65 63 68 6f 20 73 | 68 61 72 3a 20 45 78 74 |e.echo s|har: Ext|
|00003240| 72 61 63 74 69 6e 67 20 | 5c 22 27 67 6f 6c 64 64 |racting |\"'goldd|
|00003250| 69 67 32 2f 62 69 74 6d | 61 70 2f 67 68 6f 73 74 |ig2/bitm|ap/ghost|
|00003260| 2e 62 69 74 73 27 5c 22 | 20 5c 28 33 32 34 20 63 |.bits'\"| \(324 c|
|00003270| 68 61 72 61 63 74 65 72 | 73 5c 29 0a 73 65 64 20 |haracter|s\).sed |
|00003280| 22 73 2f 5e 58 2f 2f 22 | 20 3e 27 67 6f 6c 64 64 |"s/^X//"| >'goldd|
|00003290| 69 67 32 2f 62 69 74 6d | 61 70 2f 67 68 6f 73 74 |ig2/bitm|ap/ghost|
|000032a0| 2e 62 69 74 73 27 20 3c | 3c 27 45 4e 44 5f 4f 46 |.bits' <|<'END_OF|
|000032b0| 5f 46 49 4c 45 27 0a 58 | 23 64 65 66 69 6e 65 20 |_FILE'.X|#define |
|000032c0| 67 68 6f 73 74 5f 77 69 | 64 74 68 20 31 36 0a 58 |ghost_wi|dth 16.X|
|000032d0| 23 64 65 66 69 6e 65 20 | 67 68 6f 73 74 5f 68 65 |#define |ghost_he|
|000032e0| 69 67 68 74 20 31 36 0a | 58 23 64 65 66 69 6e 65 |ight 16.|X#define|
|000032f0| 20 67 68 6f 73 74 5f 78 | 5f 68 6f 74 20 2d 31 0a | ghost_x|_hot -1.|
|00003300| 58 23 64 65 66 69 6e 65 | 20 67 68 6f 73 74 5f 79 |X#define| ghost_y|
|00003310| 5f 68 6f 74 20 2d 31 0a | 58 73 74 61 74 69 63 20 |_hot -1.|Xstatic |
|00003320| 63 68 61 72 20 67 68 6f | 73 74 5f 62 69 74 73 5b |char gho|st_bits[|
|00003330| 5d 20 3d 20 7b 0a 58 20 | 20 20 30 78 37 66 2c 20 |] = {.X | 0x7f, |
|00003340| 30 78 66 65 2c 20 30 78 | 35 64 2c 20 30 78 35 34 |0xfe, 0x|5d, 0x54|
|00003350| 2c 20 30 78 33 61 2c 20 | 30 78 61 61 2c 20 30 78 |, 0x3a, |0xaa, 0x|
|00003360| 35 64 2c 20 30 78 35 34 | 2c 20 30 78 30 61 2c 20 |5d, 0x54|, 0x0a, |
|00003370| 30 78 61 30 2c 20 30 78 | 30 64 2c 20 30 78 35 30 |0xa0, 0x|0d, 0x50|
|00003380| 2c 0a 58 20 20 20 30 78 | 30 61 2c 20 30 78 61 30 |,.X 0x|0a, 0xa0|
|00003390| 2c 20 30 78 30 66 2c 20 | 30 78 66 30 2c 20 30 78 |, 0x0f, |0xf0, 0x|
|000033a0| 30 66 2c 20 30 78 66 30 | 2c 20 30 78 30 35 2c 20 |0f, 0xf0|, 0x05, |
|000033b0| 30 78 35 30 2c 20 30 78 | 30 61 2c 20 30 78 62 30 |0x50, 0x|0a, 0xb0|
|000033c0| 2c 20 30 78 30 35 2c 20 | 30 78 35 30 2c 0a 58 20 |, 0x05, |0x50,.X |
|000033d0| 20 20 30 78 32 61 2c 20 | 30 78 62 61 2c 20 30 78 | 0x2a, |0xba, 0x|
|000033e0| 35 35 2c 20 30 78 35 63 | 2c 20 30 78 32 61 2c 20 |55, 0x5c|, 0x2a, |
|000033f0| 30 78 62 61 2c 20 30 78 | 37 66 2c 20 30 78 66 65 |0xba, 0x|7f, 0xfe|
|00003400| 7d 3b 0a 45 4e 44 5f 4f | 46 5f 46 49 4c 45 0a 69 |};.END_O|F_FILE.i|
|00003410| 66 20 74 65 73 74 20 33 | 32 34 20 2d 6e 65 20 60 |f test 3|24 -ne `|
|00003420| 77 63 20 2d 63 20 3c 27 | 67 6f 6c 64 64 69 67 32 |wc -c <'|golddig2|
|00003430| 2f 62 69 74 6d 61 70 2f | 67 68 6f 73 74 2e 62 69 |/bitmap/|ghost.bi|
|00003440| 74 73 27 60 3b 20 74 68 | 65 6e 0a 20 20 20 20 65 |ts'`; th|en. e|
|00003450| 63 68 6f 20 73 68 61 72 | 3a 20 5c 22 27 67 6f 6c |cho shar|: \"'gol|
|00003460| 64 64 69 67 32 2f 62 69 | 74 6d 61 70 2f 67 68 6f |ddig2/bi|tmap/gho|
|00003470| 73 74 2e 62 69 74 73 27 | 5c 22 20 75 6e 70 61 63 |st.bits'|\" unpac|
|00003480| 6b 65 64 20 77 69 74 68 | 20 77 72 6f 6e 67 20 73 |ked with| wrong s|
|00003490| 69 7a 65 21 0a 66 69 0a | 23 20 65 6e 64 20 6f 66 |ize!.fi.|# end of|
|000034a0| 20 27 67 6f 6c 64 64 69 | 67 32 2f 62 69 74 6d 61 | 'golddi|g2/bitma|
|000034b0| 70 2f 67 68 6f 73 74 2e | 62 69 74 73 27 0a 66 69 |p/ghost.|bits'.fi|
|000034c0| 0a 69 66 20 74 65 73 74 | 20 2d 66 20 27 67 6f 6c |.if test| -f 'gol|
|000034d0| 64 64 69 67 32 2f 62 69 | 74 6d 61 70 2f 67 6f 6c |ddig2/bi|tmap/gol|
|000034e0| 64 2e 62 69 74 73 27 20 | 2d 61 20 22 24 7b 31 7d |d.bits' |-a "${1}|
|000034f0| 22 20 21 3d 20 22 2d 63 | 22 20 3b 20 74 68 65 6e |" != "-c|" ; then|
|00003500| 20 0a 20 20 65 63 68 6f | 20 73 68 61 72 3a 20 57 | . echo| shar: W|
|00003510| 69 6c 6c 20 6e 6f 74 20 | 63 6c 6f 62 62 65 72 20 |ill not |clobber |
|00003520| 65 78 69 73 74 69 6e 67 | 20 66 69 6c 65 20 5c 22 |existing| file \"|
|00003530| 27 67 6f 6c 64 64 69 67 | 32 2f 62 69 74 6d 61 70 |'golddig|2/bitmap|
|00003540| 2f 67 6f 6c 64 2e 62 69 | 74 73 27 5c 22 0a 65 6c |/gold.bi|ts'\".el|
|00003550| 73 65 0a 65 63 68 6f 20 | 73 68 61 72 3a 20 45 78 |se.echo |shar: Ex|
|00003560| 74 72 61 63 74 69 6e 67 | 20 5c 22 27 67 6f 6c 64 |tracting| \"'gold|
|00003570| 64 69 67 32 2f 62 69 74 | 6d 61 70 2f 67 6f 6c 64 |dig2/bit|map/gold|
|00003580| 2e 62 69 74 73 27 5c 22 | 20 5c 28 33 31 39 20 63 |.bits'\"| \(319 c|
|00003590| 68 61 72 61 63 74 65 72 | 73 5c 29 0a 73 65 64 20 |haracter|s\).sed |
|000035a0| 22 73 2f 5e 58 2f 2f 22 | 20 3e 27 67 6f 6c 64 64 |"s/^X//"| >'goldd|
|000035b0| 69 67 32 2f 62 69 74 6d | 61 70 2f 67 6f 6c 64 2e |ig2/bitm|ap/gold.|
|000035c0| 62 69 74 73 27 20 3c 3c | 27 45 4e 44 5f 4f 46 5f |bits' <<|'END_OF_|
|000035d0| 46 49 4c 45 27 0a 58 23 | 64 65 66 69 6e 65 20 67 |FILE'.X#|define g|
|000035e0| 6f 6c 64 5f 77 69 64 74 | 68 20 31 36 0a 58 23 64 |old_widt|h 16.X#d|
|000035f0| 65 66 69 6e 65 20 67 6f | 6c 64 5f 68 65 69 67 68 |efine go|ld_heigh|
|00003600| 74 20 31 36 0a 58 23 64 | 65 66 69 6e 65 20 67 6f |t 16.X#d|efine go|
|00003610| 6c 64 5f 78 5f 68 6f 74 | 20 2d 31 0a 58 23 64 65 |ld_x_hot| -1.X#de|
|00003620| 66 69 6e 65 20 67 6f 6c | 64 5f 79 5f 68 6f 74 20 |fine gol|d_y_hot |
|00003630| 2d 31 0a 58 73 74 61 74 | 69 63 20 63 68 61 72 20 |-1.Xstat|ic char |
|00003640| 67 6f 6c 64 5f 62 69 74 | 73 5b 5d 20 3d 20 7b 0a |gold_bit|s[] = {.|
|00003650| 58 20 20 20 30 78 30 30 | 2c 20 30 78 30 30 2c 20 |X 0x00|, 0x00, |
|00003660| 30 78 30 30 2c 20 30 78 | 30 30 2c 20 30 78 30 30 |0x00, 0x|00, 0x00|
|00003670| 2c 20 30 78 30 30 2c 20 | 30 78 30 30 2c 20 30 78 |, 0x00, |0x00, 0x|
|00003680| 30 30 2c 20 30 78 30 30 | 2c 20 30 78 30 30 2c 20 |00, 0x00|, 0x00, |
|00003690| 30 78 30 30 2c 20 30 78 | 30 30 2c 0a 58 20 20 20 |0x00, 0x|00,.X |
|000036a0| 30 78 30 30 2c 20 30 78 | 30 30 2c 20 30 78 30 30 |0x00, 0x|00, 0x00|
|000036b0| 2c 20 30 78 30 30 2c 20 | 30 78 63 30 2c 20 30 78 |, 0x00, |0xc0, 0x|
|000036c0| 30 31 2c 20 30 78 36 30 | 2c 20 30 78 30 33 2c 20 |01, 0x60|, 0x03, |
|000036d0| 30 78 62 30 2c 20 30 78 | 30 36 2c 20 30 78 35 30 |0xb0, 0x|06, 0x50|
|000036e0| 2c 20 30 78 30 35 2c 0a | 58 20 20 20 30 78 62 30 |, 0x05,.|X 0xb0|
|000036f0| 2c 20 30 78 30 36 2c 20 | 30 78 36 30 2c 20 30 78 |, 0x06, |0x60, 0x|
|00003700| 30 33 2c 20 30 78 63 30 | 2c 20 30 78 30 31 2c 20 |03, 0xc0|, 0x01, |
|00003710| 30 78 30 30 2c 20 30 78 | 30 30 7d 3b 0a 45 4e 44 |0x00, 0x|00};.END|
|00003720| 5f 4f 46 5f 46 49 4c 45 | 0a 69 66 20 74 65 73 74 |_OF_FILE|.if test|
|00003730| 20 33 31 39 20 2d 6e 65 | 20 60 77 63 20 2d 63 20 | 319 -ne| `wc -c |
|00003740| 3c 27 67 6f 6c 64 64 69 | 67 32 2f 62 69 74 6d 61 |<'golddi|g2/bitma|
|00003750| 70 2f 67 6f 6c 64 2e 62 | 69 74 73 27 60 3b 20 74 |p/gold.b|its'`; t|
|00003760| 68 65 6e 0a 20 20 20 20 | 65 63 68 6f 20 73 68 61 |hen. |echo sha|
|00003770| 72 3a 20 5c 22 27 67 6f | 6c 64 64 69 67 32 2f 62 |r: \"'go|lddig2/b|
|00003780| 69 74 6d 61 70 2f 67 6f | 6c 64 2e 62 69 74 73 27 |itmap/go|ld.bits'|
|00003790| 5c 22 20 75 6e 70 61 63 | 6b 65 64 20 77 69 74 68 |\" unpac|ked with|
|000037a0| 20 77 72 6f 6e 67 20 73 | 69 7a 65 21 0a 66 69 0a | wrong s|ize!.fi.|
|000037b0| 23 20 65 6e 64 20 6f 66 | 20 27 67 6f 6c 64 64 69 |# end of| 'golddi|
|000037c0| 67 32 2f 62 69 74 6d 61 | 70 2f 67 6f 6c 64 2e 62 |g2/bitma|p/gold.b|
|000037d0| 69 74 73 27 0a 66 69 0a | 69 66 20 74 65 73 74 20 |its'.fi.|if test |
|000037e0| 2d 66 20 27 67 6f 6c 64 | 64 69 67 32 2f 62 69 74 |-f 'gold|dig2/bit|
|000037f0| 6d 61 70 2f 68 61 6e 67 | 31 2e 62 69 74 73 27 20 |map/hang|1.bits' |
|00003800| 2d 61 20 22 24 7b 31 7d | 22 20 21 3d 20 22 2d 63 |-a "${1}|" != "-c|
|00003810| 22 20 3b 20 74 68 65 6e | 20 0a 20 20 65 63 68 6f |" ; then| . echo|
|00003820| 20 73 68 61 72 3a 20 57 | 69 6c 6c 20 6e 6f 74 20 | shar: W|ill not |
|00003830| 63 6c 6f 62 62 65 72 20 | 65 78 69 73 74 69 6e 67 |clobber |existing|
|00003840| 20 66 69 6c 65 20 5c 22 | 27 67 6f 6c 64 64 69 67 | file \"|'golddig|
|00003850| 32 2f 62 69 74 6d 61 70 | 2f 68 61 6e 67 31 2e 62 |2/bitmap|/hang1.b|
|00003860| 69 74 73 27 5c 22 0a 65 | 6c 73 65 0a 65 63 68 6f |its'\".e|lse.echo|
|00003870| 20 73 68 61 72 3a 20 45 | 78 74 72 61 63 74 69 6e | shar: E|xtractin|
|00003880| 67 20 5c 22 27 67 6f 6c | 64 64 69 67 32 2f 62 69 |g \"'gol|ddig2/bi|
|00003890| 74 6d 61 70 2f 68 61 6e | 67 31 2e 62 69 74 73 27 |tmap/han|g1.bits'|
|000038a0| 5c 22 20 5c 28 33 32 34 | 20 63 68 61 72 61 63 74 |\" \(324| charact|
|000038b0| 65 72 73 5c 29 0a 73 65 | 64 20 22 73 2f 5e 58 2f |ers\).se|d "s/^X/|
|000038c0| 2f 22 20 3e 27 67 6f 6c | 64 64 69 67 32 2f 62 69 |/" >'gol|ddig2/bi|
|000038d0| 74 6d 61 70 2f 68 61 6e | 67 31 2e 62 69 74 73 27 |tmap/han|g1.bits'|
|000038e0| 20 3c 3c 27 45 4e 44 5f | 4f 46 5f 46 49 4c 45 27 | <<'END_|OF_FILE'|
|000038f0| 0a 58 23 64 65 66 69 6e | 65 20 68 61 6e 67 31 5f |.X#defin|e hang1_|
|00003900| 77 69 64 74 68 20 31 36 | 0a 58 23 64 65 66 69 6e |width 16|.X#defin|
|00003910| 65 20 68 61 6e 67 31 5f | 68 65 69 67 68 74 20 31 |e hang1_|height 1|
|00003920| 36 0a 58 23 64 65 66 69 | 6e 65 20 68 61 6e 67 31 |6.X#defi|ne hang1|
|00003930| 5f 78 5f 68 6f 74 20 2d | 31 0a 58 23 64 65 66 69 |_x_hot -|1.X#defi|
|00003940| 6e 65 20 68 61 6e 67 31 | 5f 79 5f 68 6f 74 20 2d |ne hang1|_y_hot -|
|00003950| 31 0a 58 73 74 61 74 69 | 63 20 63 68 61 72 20 68 |1.Xstati|c char h|
|00003960| 61 6e 67 31 5f 62 69 74 | 73 5b 5d 20 3d 20 7b 0a |ang1_bit|s[] = {.|
|00003970| 58 20 20 20 30 78 31 38 | 2c 20 30 78 31 38 2c 20 |X 0x18|, 0x18, |
|00003980| 30 78 39 63 2c 20 30 78 | 33 39 2c 20 30 78 64 38 |0x9c, 0x|39, 0xd8|
|00003990| 2c 20 30 78 31 62 2c 20 | 30 78 64 38 2c 20 30 78 |, 0x1b, |0xd8, 0x|
|000039a0| 31 62 2c 20 30 78 62 38 | 2c 20 30 78 31 64 2c 20 |1b, 0xb8|, 0x1d, |
|000039b0| 30 78 66 30 2c 20 30 78 | 31 66 2c 0a 58 20 20 20 |0xf0, 0x|1f,.X |
|000039c0| 30 78 65 30 2c 20 30 78 | 30 37 2c 20 30 78 63 30 |0xe0, 0x|07, 0xc0|
|000039d0| 2c 20 30 78 30 33 2c 20 | 30 78 63 30 2c 20 30 78 |, 0x03, |0xc0, 0x|
|000039e0| 30 33 2c 20 30 78 65 30 | 2c 20 30 78 30 37 2c 20 |03, 0xe0|, 0x07, |
|000039f0| 30 78 36 30 2c 20 30 78 | 30 36 2c 20 30 78 36 30 |0x60, 0x|06, 0x60|
|00003a00| 2c 20 30 78 30 36 2c 0a | 58 20 20 20 30 78 36 30 |, 0x06,.|X 0x60|
|00003a10| 2c 20 30 78 30 36 2c 20 | 30 78 37 30 2c 20 30 78 |, 0x06, |0x70, 0x|
|00003a20| 30 65 2c 20 30 78 33 38 | 2c 20 30 78 31 63 2c 20 |0e, 0x38|, 0x1c, |
|00003a30| 30 78 30 30 2c 20 30 78 | 30 30 7d 3b 0a 45 4e 44 |0x00, 0x|00};.END|
|00003a40| 5f 4f 46 5f 46 49 4c 45 | 0a 69 66 20 74 65 73 74 |_OF_FILE|.if test|
|00003a50| 20 33 32 34 20 2d 6e 65 | 20 60 77 63 20 2d 63 20 | 324 -ne| `wc -c |
|00003a60| 3c 27 67 6f 6c 64 64 69 | 67 32 2f 62 69 74 6d 61 |<'golddi|g2/bitma|
|00003a70| 70 2f 68 61 6e 67 31 2e | 62 69 74 73 27 60 3b 20 |p/hang1.|bits'`; |
|00003a80| 74 68 65 6e 0a 20 20 20 | 20 65 63 68 6f 20 73 68 |then. | echo sh|
|00003a90| 61 72 3a 20 5c 22 27 67 | 6f 6c 64 64 69 67 32 2f |ar: \"'g|olddig2/|
|00003aa0| 62 69 74 6d 61 70 2f 68 | 61 6e 67 31 2e 62 69 74 |bitmap/h|ang1.bit|
|00003ab0| 73 27 5c 22 20 75 6e 70 | 61 63 6b 65 64 20 77 69 |s'\" unp|acked wi|
|00003ac0| 74 68 20 77 72 6f 6e 67 | 20 73 69 7a 65 21 0a 66 |th wrong| size!.f|
|00003ad0| 69 0a 23 20 65 6e 64 20 | 6f 66 20 27 67 6f 6c 64 |i.# end |of 'gold|
|00003ae0| 64 69 67 32 2f 62 69 74 | 6d 61 70 2f 68 61 6e 67 |dig2/bit|map/hang|
|00003af0| 31 2e 62 69 74 73 27 0a | 66 69 0a 69 66 20 74 65 |1.bits'.|fi.if te|
|00003b00| 73 74 20 2d 66 20 27 67 | 6f 6c 64 64 69 67 32 2f |st -f 'g|olddig2/|
|00003b10| 62 69 74 6d 61 70 2f 68 | 61 6e 67 32 2e 62 69 74 |bitmap/h|ang2.bit|
|00003b20| 73 27 20 2d 61 20 22 24 | 7b 31 7d 22 20 21 3d 20 |s' -a "$|{1}" != |
|00003b30| 22 2d 63 22 20 3b 20 74 | 68 65 6e 20 0a 20 20 65 |"-c" ; t|hen . e|
|00003b40| 63 68 6f 20 73 68 61 72 | 3a 20 57 69 6c 6c 20 6e |cho shar|: Will n|
|00003b50| 6f 74 20 63 6c 6f 62 62 | 65 72 20 65 78 69 73 74 |ot clobb|er exist|
|00003b60| 69 6e 67 20 66 69 6c 65 | 20 5c 22 27 67 6f 6c 64 |ing file| \"'gold|
|00003b70| 64 69 67 32 2f 62 69 74 | 6d 61 70 2f 68 61 6e 67 |dig2/bit|map/hang|
|00003b80| 32 2e 62 69 74 73 27 5c | 22 0a 65 6c 73 65 0a 65 |2.bits'\|".else.e|
|00003b90| 63 68 6f 20 73 68 61 72 | 3a 20 45 78 74 72 61 63 |cho shar|: Extrac|
|00003ba0| 74 69 6e 67 20 5c 22 27 | 67 6f 6c 64 64 69 67 32 |ting \"'|golddig2|
|00003bb0| 2f 62 69 74 6d 61 70 2f | 68 61 6e 67 32 2e 62 69 |/bitmap/|hang2.bi|
|00003bc0| 74 73 27 5c 22 20 5c 28 | 33 32 34 20 63 68 61 72 |ts'\" \(|324 char|
|00003bd0| 61 63 74 65 72 73 5c 29 | 0a 73 65 64 20 22 73 2f |acters\)|.sed "s/|
|00003be0| 5e 58 2f 2f 22 20 3e 27 | 67 6f 6c 64 64 69 67 32 |^X//" >'|golddig2|
|00003bf0| 2f 62 69 74 6d 61 70 2f | 68 61 6e 67 32 2e 62 69 |/bitmap/|hang2.bi|
|00003c00| 74 73 27 20 3c 3c 27 45 | 4e 44 5f 4f 46 5f 46 49 |ts' <<'E|ND_OF_FI|
|00003c10| 4c 45 27 0a 58 23 64 65 | 66 69 6e 65 20 68 61 6e |LE'.X#de|fine han|
|00003c20| 67 32 5f 77 69 64 74 68 | 20 31 36 0a 58 23 64 65 |g2_width| 16.X#de|
|00003c30| 66 69 6e 65 20 68 61 6e | 67 32 5f 68 65 69 67 68 |fine han|g2_heigh|
|00003c40| 74 20 31 36 0a 58 23 64 | 65 66 69 6e 65 20 68 61 |t 16.X#d|efine ha|
|00003c50| 6e 67 32 5f 78 5f 68 6f | 74 20 2d 31 0a 58 23 64 |ng2_x_ho|t -1.X#d|
|00003c60| 65 66 69 6e 65 20 68 61 | 6e 67 32 5f 79 5f 68 6f |efine ha|ng2_y_ho|
|00003c70| 74 20 2d 31 0a 58 73 74 | 61 74 69 63 20 63 68 61 |t -1.Xst|atic cha|
|00003c80| 72 20 68 61 6e 67 32 5f | 62 69 74 73 5b 5d 20 3d |r hang2_|bits[] =|
|00003c90| 20 7b 0a 58 20 20 20 30 | 78 33 30 2c 20 30 78 30 | {.X 0|x30, 0x0|
|00003ca0| 63 2c 20 30 78 37 31 2c | 20 30 78 38 65 2c 20 30 |c, 0x71,| 0x8e, 0|
|00003cb0| 78 33 62 2c 20 30 78 64 | 63 2c 20 30 78 31 62 2c |x3b, 0xd|c, 0x1b,|
|00003cc0| 20 30 78 64 38 2c 20 30 | 78 31 64 2c 20 30 78 62 | 0xd8, 0|x1d, 0xb|
|00003cd0| 38 2c 20 30 78 30 66 2c | 20 30 78 66 30 2c 0a 58 |8, 0x0f,| 0xf0,.X|
|00003ce0| 20 20 20 30 78 30 37 2c | 20 30 78 65 30 2c 20 30 | 0x07,| 0xe0, 0|
|00003cf0| 78 30 33 2c 20 30 78 63 | 30 2c 20 30 78 30 33 2c |x03, 0xc|0, 0x03,|
|00003d00| 20 30 78 63 30 2c 20 30 | 78 30 37 2c 20 30 78 65 | 0xc0, 0|x07, 0xe|
|00003d10| 30 2c 20 30 78 30 36 2c | 20 30 78 36 30 2c 20 30 |0, 0x06,| 0x60, 0|
|00003d20| 78 30 36 2c 20 30 78 36 | 30 2c 0a 58 20 20 20 30 |x06, 0x6|0,.X 0|
|00003d30| 78 30 36 2c 20 30 78 36 | 30 2c 20 30 78 30 65 2c |x06, 0x6|0, 0x0e,|
|00003d40| 20 30 78 37 30 2c 20 30 | 78 31 63 2c 20 30 78 33 | 0x70, 0|x1c, 0x3|
|00003d50| 38 2c 20 30 78 30 30 2c | 20 30 78 30 30 7d 3b 0a |8, 0x00,| 0x00};.|
|00003d60| 45 4e 44 5f 4f 46 5f 46 | 49 4c 45 0a 69 66 20 74 |END_OF_F|ILE.if t|
|00003d70| 65 73 74 20 33 32 34 20 | 2d 6e 65 20 60 77 63 20 |est 324 |-ne `wc |
|00003d80| 2d 63 20 3c 27 67 6f 6c | 64 64 69 67 32 2f 62 69 |-c <'gol|ddig2/bi|
|00003d90| 74 6d 61 70 2f 68 61 6e | 67 32 2e 62 69 74 73 27 |tmap/han|g2.bits'|
|00003da0| 60 3b 20 74 68 65 6e 0a | 20 20 20 20 65 63 68 6f |`; then.| echo|
|00003db0| 20 73 68 61 72 3a 20 5c | 22 27 67 6f 6c 64 64 69 | shar: \|"'golddi|
|00003dc0| 67 32 2f 62 69 74 6d 61 | 70 2f 68 61 6e 67 32 2e |g2/bitma|p/hang2.|
|00003dd0| 62 69 74 73 27 5c 22 20 | 75 6e 70 61 63 6b 65 64 |bits'\" |unpacked|
|00003de0| 20 77 69 74 68 20 77 72 | 6f 6e 67 20 73 69 7a 65 | with wr|ong size|
|00003df0| 21 0a 66 69 0a 23 20 65 | 6e 64 20 6f 66 20 27 67 |!.fi.# e|nd of 'g|
|00003e00| 6f 6c 64 64 69 67 32 2f | 62 69 74 6d 61 70 2f 68 |olddig2/|bitmap/h|
|00003e10| 61 6e 67 32 2e 62 69 74 | 73 27 0a 66 69 0a 69 66 |ang2.bit|s'.fi.if|
|00003e20| 20 74 65 73 74 20 2d 66 | 20 27 67 6f 6c 64 64 69 | test -f| 'golddi|
|00003e30| 67 32 2f 62 69 74 6d 61 | 70 2f 68 6f 6c 65 31 2e |g2/bitma|p/hole1.|
|00003e40| 62 69 74 73 27 20 2d 61 | 20 22 24 7b 31 7d 22 20 |bits' -a| "${1}" |
|00003e50| 21 3d 20 22 2d 63 22 20 | 3b 20 74 68 65 6e 20 0a |!= "-c" |; then .|
|00003e60| 20 20 65 63 68 6f 20 73 | 68 61 72 3a 20 57 69 6c | echo s|har: Wil|
|00003e70| 6c 20 6e 6f 74 20 63 6c | 6f 62 62 65 72 20 65 78 |l not cl|obber ex|
|00003e80| 69 73 74 69 6e 67 20 66 | 69 6c 65 20 5c 22 27 67 |isting f|ile \"'g|
|00003e90| 6f 6c 64 64 69 67 32 2f | 62 69 74 6d 61 70 2f 68 |olddig2/|bitmap/h|
|00003ea0| 6f 6c 65 31 2e 62 69 74 | 73 27 5c 22 0a 65 6c 73 |ole1.bit|s'\".els|
|00003eb0| 65 0a 65 63 68 6f 20 73 | 68 61 72 3a 20 45 78 74 |e.echo s|har: Ext|
|00003ec0| 72 61 63 74 69 6e 67 20 | 5c 22 27 67 6f 6c 64 64 |racting |\"'goldd|
|00003ed0| 69 67 32 2f 62 69 74 6d | 61 70 2f 68 6f 6c 65 31 |ig2/bitm|ap/hole1|
|00003ee0| 2e 62 69 74 73 27 5c 22 | 20 5c 28 33 32 34 20 63 |.bits'\"| \(324 c|
|00003ef0| 68 61 72 61 63 74 65 72 | 73 5c 29 0a 73 65 64 20 |haracter|s\).sed |
|00003f00| 22 73 2f 5e 58 2f 2f 22 | 20 3e 27 67 6f 6c 64 64 |"s/^X//"| >'goldd|
|00003f10| 69 67 32 2f 62 69 74 6d | 61 70 2f 68 6f 6c 65 31 |ig2/bitm|ap/hole1|
|00003f20| 2e 62 69 74 73 27 20 3c | 3c 27 45 4e 44 5f 4f 46 |.bits' <|<'END_OF|
|00003f30| 5f 46 49 4c 45 27 0a 58 | 23 64 65 66 69 6e 65 20 |_FILE'.X|#define |
|00003f40| 68 6f 6c 65 31 5f 77 69 | 64 74 68 20 31 36 0a 58 |hole1_wi|dth 16.X|
|00003f50| 23 64 65 66 69 6e 65 20 | 68 6f 6c 65 31 5f 68 65 |#define |hole1_he|
|00003f60| 69 67 68 74 20 31 36 0a | 58 23 64 65 66 69 6e 65 |ight 16.|X#define|
|00003f70| 20 68 6f 6c 65 31 5f 78 | 5f 68 6f 74 20 2d 31 0a | hole1_x|_hot -1.|
|00003f80| 58 23 64 65 66 69 6e 65 | 20 68 6f 6c 65 31 5f 79 |X#define| hole1_y|
|00003f90| 5f 68 6f 74 20 2d 31 0a | 58 73 74 61 74 69 63 20 |_hot -1.|Xstatic |
|00003fa0| 63 68 61 72 20 68 6f 6c | 65 31 5f 62 69 74 73 5b |char hol|e1_bits[|
|00003fb0| 5d 20 3d 20 7b 0a 58 20 | 20 20 30 78 66 37 2c 20 |] = {.X | 0xf7, |
|00003fc0| 30 78 61 64 2c 20 30 78 | 35 35 2c 20 30 78 30 35 |0xad, 0x|55, 0x05|
|00003fd0| 2c 20 30 78 62 32 2c 20 | 30 78 61 38 2c 20 30 78 |, 0xb2, |0xa8, 0x|
|00003fe0| 30 30 2c 20 30 78 30 30 | 2c 20 30 78 62 32 2c 20 |00, 0x00|, 0xb2, |
|00003ff0| 30 78 61 38 2c 20 30 78 | 35 35 2c 20 30 78 30 35 |0xa8, 0x|55, 0x05|
|00004000| 2c 0a 58 20 20 20 30 78 | 62 32 2c 20 30 78 61 38 |,.X 0x|b2, 0xa8|
|00004010| 2c 20 30 78 30 30 2c 20 | 30 78 30 30 2c 20 30 78 |, 0x00, |0x00, 0x|
|00004020| 66 37 2c 20 30 78 61 64 | 2c 20 30 78 30 30 2c 20 |f7, 0xad|, 0x00, |
|00004030| 30 78 30 30 2c 20 30 78 | 61 32 2c 20 30 78 61 38 |0x00, 0x|a2, 0xa8|
|00004040| 2c 20 30 78 35 35 2c 20 | 30 78 30 64 2c 0a 58 20 |, 0x55, |0x0d,.X |
|00004050| 20 20 30 78 61 32 2c 20 | 30 78 61 38 2c 20 30 78 | 0xa2, |0xa8, 0x|
|00004060| 30 30 2c 20 30 78 30 30 | 2c 20 30 78 61 32 2c 20 |00, 0x00|, 0xa2, |
|00004070| 30 78 61 38 2c 20 30 78 | 66 37 2c 20 30 78 61 64 |0xa8, 0x|f7, 0xad|
|00004080| 7d 3b 0a 45 4e 44 5f 4f | 46 5f 46 49 4c 45 0a 69 |};.END_O|F_FILE.i|
|00004090| 66 20 74 65 73 74 20 33 | 32 34 20 2d 6e 65 20 60 |f test 3|24 -ne `|
|000040a0| 77 63 20 2d 63 20 3c 27 | 67 6f 6c 64 64 69 67 32 |wc -c <'|golddig2|
|000040b0| 2f 62 69 74 6d 61 70 2f | 68 6f 6c 65 31 2e 62 69 |/bitmap/|hole1.bi|
|000040c0| 74 73 27 60 3b 20 74 68 | 65 6e 0a 20 20 20 20 65 |ts'`; th|en. e|
|000040d0| 63 68 6f 20 73 68 61 72 | 3a 20 5c 22 27 67 6f 6c |cho shar|: \"'gol|
|000040e0| 64 64 69 67 32 2f 62 69 | 74 6d 61 70 2f 68 6f 6c |ddig2/bi|tmap/hol|
|000040f0| 65 31 2e 62 69 74 73 27 | 5c 22 20 75 6e 70 61 63 |e1.bits'|\" unpac|
|00004100| 6b 65 64 20 77 69 74 68 | 20 77 72 6f 6e 67 20 73 |ked with| wrong s|
|00004110| 69 7a 65 21 0a 66 69 0a | 23 20 65 6e 64 20 6f 66 |ize!.fi.|# end of|
|00004120| 20 27 67 6f 6c 64 64 69 | 67 32 2f 62 69 74 6d 61 | 'golddi|g2/bitma|
|00004130| 70 2f 68 6f 6c 65 31 2e | 62 69 74 73 27 0a 66 69 |p/hole1.|bits'.fi|
|00004140| 0a 69 66 20 74 65 73 74 | 20 2d 66 20 27 67 6f 6c |.if test| -f 'gol|
|00004150| 64 64 69 67 32 2f 62 69 | 74 6d 61 70 2f 68 6f 6c |ddig2/bi|tmap/hol|
|00004160| 65 32 2e 62 69 74 73 27 | 20 2d 61 20 22 24 7b 31 |e2.bits'| -a "${1|
|00004170| 7d 22 20 21 3d 20 22 2d | 63 22 20 3b 20 74 68 65 |}" != "-|c" ; the|
|00004180| 6e 20 0a 20 20 65 63 68 | 6f 20 73 68 61 72 3a 20 |n . ech|o shar: |
|00004190| 57 69 6c 6c 20 6e 6f 74 | 20 63 6c 6f 62 62 65 72 |Will not| clobber|
|000041a0| 20 65 78 69 73 74 69 6e | 67 20 66 69 6c 65 20 5c | existin|g file \|
|000041b0| 22 27 67 6f 6c 64 64 69 | 67 32 2f 62 69 74 6d 61 |"'golddi|g2/bitma|
|000041c0| 70 2f 68 6f 6c 65 32 2e | 62 69 74 73 27 5c 22 0a |p/hole2.|bits'\".|
|000041d0| 65 6c 73 65 0a 65 63 68 | 6f 20 73 68 61 72 3a 20 |else.ech|o shar: |
|000041e0| 45 78 74 72 61 63 74 69 | 6e 67 20 5c 22 27 67 6f |Extracti|ng \"'go|
|000041f0| 6c 64 64 69 67 32 2f 62 | 69 74 6d 61 70 2f 68 6f |lddig2/b|itmap/ho|
|00004200| 6c 65 32 2e 62 69 74 73 | 27 5c 22 20 5c 28 33 32 |le2.bits|'\" \(32|
|00004210| 34 20 63 68 61 72 61 63 | 74 65 72 73 5c 29 0a 73 |4 charac|ters\).s|
|00004220| 65 64 20 22 73 2f 5e 58 | 2f 2f 22 20 3e 27 67 6f |ed "s/^X|//" >'go|
|00004230| 6c 64 64 69 67 32 2f 62 | 69 74 6d 61 70 2f 68 6f |lddig2/b|itmap/ho|
|00004240| 6c 65 32 2e 62 69 74 73 | 27 20 3c 3c 27 45 4e 44 |le2.bits|' <<'END|
|00004250| 5f 4f 46 5f 46 49 4c 45 | 27 0a 58 23 64 65 66 69 |_OF_FILE|'.X#defi|
|00004260| 6e 65 20 68 6f 6c 65 32 | 5f 77 69 64 74 68 20 31 |ne hole2|_width 1|
|00004270| 36 0a 58 23 64 65 66 69 | 6e 65 20 68 6f 6c 65 32 |6.X#defi|ne hole2|
|00004280| 5f 68 65 69 67 68 74 20 | 31 36 0a 58 23 64 65 66 |_height |16.X#def|
|00004290| 69 6e 65 20 68 6f 6c 65 | 32 5f 78 5f 68 6f 74 20 |ine hole|2_x_hot |
|000042a0| 2d 31 0a 58 23 64 65 66 | 69 6e 65 20 68 6f 6c 65 |-1.X#def|ine hole|
|000042b0| 32 5f 79 5f 68 6f 74 20 | 2d 31 0a 58 73 74 61 74 |2_y_hot |-1.Xstat|
|000042c0| 69 63 20 63 68 61 72 20 | 68 6f 6c 65 32 5f 62 69 |ic char |hole2_bi|
|000042d0| 74 73 5b 5d 20 3d 20 7b | 0a 58 20 20 20 30 78 35 |ts[] = {|.X 0x5|
|000042e0| 35 2c 20 30 78 38 64 2c | 20 30 78 35 35 2c 20 30 |5, 0x8d,| 0x55, 0|
|000042f0| 78 30 35 2c 20 30 78 31 | 30 2c 20 30 78 38 38 2c |x05, 0x1|0, 0x88,|
|00004300| 20 30 78 30 30 2c 20 30 | 78 30 30 2c 20 30 78 31 | 0x00, 0|x00, 0x1|
|00004310| 30 2c 20 30 78 38 38 2c | 20 30 78 35 35 2c 20 30 |0, 0x88,| 0x55, 0|
|00004320| 78 30 35 2c 0a 58 20 20 | 20 30 78 31 30 2c 20 30 |x05,.X | 0x10, 0|
|00004330| 78 38 38 2c 20 30 78 30 | 30 2c 20 30 78 30 30 2c |x88, 0x0|0, 0x00,|
|00004340| 20 30 78 35 35 2c 20 30 | 78 38 64 2c 20 30 78 30 | 0x55, 0|x8d, 0x0|
|00004350| 30 2c 20 30 78 30 30 2c | 20 30 78 30 30 2c 20 30 |0, 0x00,| 0x00, 0|
|00004360| 78 38 38 2c 20 30 78 30 | 30 2c 20 30 78 30 30 2c |x88, 0x0|0, 0x00,|
|00004370| 0a 58 20 20 20 30 78 30 | 30 2c 20 30 78 38 38 2c |.X 0x0|0, 0x88,|
|00004380| 20 30 78 30 30 2c 20 30 | 78 30 30 2c 20 30 78 30 | 0x00, 0|x00, 0x0|
|00004390| 30 2c 20 30 78 38 38 2c | 20 30 78 35 35 2c 20 30 |0, 0x88,| 0x55, 0|
|000043a0| 78 38 64 7d 3b 0a 45 4e | 44 5f 4f 46 5f 46 49 4c |x8d};.EN|D_OF_FIL|
|000043b0| 45 0a 69 66 20 74 65 73 | 74 20 33 32 34 20 2d 6e |E.if tes|t 324 -n|
|000043c0| 65 20 60 77 63 20 2d 63 | 20 3c 27 67 6f 6c 64 64 |e `wc -c| <'goldd|
|000043d0| 69 67 32 2f 62 69 74 6d | 61 70 2f 68 6f 6c 65 32 |ig2/bitm|ap/hole2|
|000043e0| 2e 62 69 74 73 27 60 3b | 20 74 68 65 6e 0a 20 20 |.bits'`;| then. |
|000043f0| 20 20 65 63 68 6f 20 73 | 68 61 72 3a 20 5c 22 27 | echo s|har: \"'|
|00004400| 67 6f 6c 64 64 69 67 32 | 2f 62 69 74 6d 61 70 2f |golddig2|/bitmap/|
|00004410| 68 6f 6c 65 32 2e 62 69 | 74 73 27 5c 22 20 75 6e |hole2.bi|ts'\" un|
|00004420| 70 61 63 6b 65 64 20 77 | 69 74 68 20 77 72 6f 6e |packed w|ith wron|
|00004430| 67 20 73 69 7a 65 21 0a | 66 69 0a 23 20 65 6e 64 |g size!.|fi.# end|
|00004440| 20 6f 66 20 27 67 6f 6c | 64 64 69 67 32 2f 62 69 | of 'gol|ddig2/bi|
|00004450| 74 6d 61 70 2f 68 6f 6c | 65 32 2e 62 69 74 73 27 |tmap/hol|e2.bits'|
|00004460| 0a 66 69 0a 69 66 20 74 | 65 73 74 20 2d 66 20 27 |.fi.if t|est -f '|
|00004470| 67 6f 6c 64 64 69 67 32 | 2f 62 69 74 6d 61 70 2f |golddig2|/bitmap/|
|00004480| 68 6f 6c 65 33 2e 62 69 | 74 73 27 20 2d 61 20 22 |hole3.bi|ts' -a "|
|00004490| 24 7b 31 7d 22 20 21 3d | 20 22 2d 63 22 20 3b 20 |${1}" !=| "-c" ; |
|000044a0| 74 68 65 6e 20 0a 20 20 | 65 63 68 6f 20 73 68 61 |then . |echo sha|
|000044b0| 72 3a 20 57 69 6c 6c 20 | 6e 6f 74 20 63 6c 6f 62 |r: Will |not clob|
|000044c0| 62 65 72 20 65 78 69 73 | 74 69 6e 67 20 66 69 6c |ber exis|ting fil|
|000044d0| 65 20 5c 22 27 67 6f 6c | 64 64 69 67 32 2f 62 69 |e \"'gol|ddig2/bi|
|000044e0| 74 6d 61 70 2f 68 6f 6c | 65 33 2e 62 69 74 73 27 |tmap/hol|e3.bits'|
|000044f0| 5c 22 0a 65 6c 73 65 0a | 65 63 68 6f 20 73 68 61 |\".else.|echo sha|
|00004500| 72 3a 20 45 78 74 72 61 | 63 74 69 6e 67 20 5c 22 |r: Extra|cting \"|
|00004510| 27 67 6f 6c 64 64 69 67 | 32 2f 62 69 74 6d 61 70 |'golddig|2/bitmap|
|00004520| 2f 68 6f 6c 65 33 2e 62 | 69 74 73 27 5c 22 20 5c |/hole3.b|its'\" \|
|00004530| 28 33 32 34 20 63 68 61 | 72 61 63 74 65 72 73 5c |(324 cha|racters\|
|00004540| 29 0a 73 65 64 20 22 73 | 2f 5e 58 2f 2f 22 20 3e |).sed "s|/^X//" >|
|00004550| 27 67 6f 6c 64 64 69 67 | 32 2f 62 69 74 6d 61 70 |'golddig|2/bitmap|
|00004560| 2f 68 6f 6c 65 33 2e 62 | 69 74 73 27 20 3c 3c 27 |/hole3.b|its' <<'|
|00004570| 45 4e 44 5f 4f 46 5f 46 | 49 4c 45 27 0a 58 23 64 |END_OF_F|ILE'.X#d|
|00004580| 65 66 69 6e 65 20 68 6f | 6c 65 33 5f 77 69 64 74 |efine ho|le3_widt|
|00004590| 68 20 31 36 0a 58 23 64 | 65 66 69 6e 65 20 68 6f |h 16.X#d|efine ho|
|000045a0| 6c 65 33 5f 68 65 69 67 | 68 74 20 31 36 0a 58 23 |le3_heig|ht 16.X#|
|000045b0| 64 65 66 69 6e 65 20 68 | 6f 6c 65 33 5f 78 5f 68 |define h|ole3_x_h|
|000045c0| 6f 74 20 2d 31 0a 58 23 | 64 65 66 69 6e 65 20 68 |ot -1.X#|define h|
|000045d0| 6f 6c 65 33 5f 79 5f 68 | 6f 74 20 2d 31 0a 58 73 |ole3_y_h|ot -1.Xs|
|000045e0| 74 61 74 69 63 20 63 68 | 61 72 20 68 6f 6c 65 33 |tatic ch|ar hole3|
|000045f0| 5f 62 69 74 73 5b 5d 20 | 3d 20 7b 0a 58 20 20 20 |_bits[] |= {.X |
|00004600| 30 78 30 30 2c 20 30 78 | 30 30 2c 20 30 78 30 30 |0x00, 0x|00, 0x00|
|00004610| 2c 20 30 78 30 30 2c 20 | 30 78 30 30 2c 20 30 78 |, 0x00, |0x00, 0x|
|00004620| 38 38 2c 20 30 78 30 30 | 2c 20 30 78 30 30 2c 20 |88, 0x00|, 0x00, |
|00004630| 30 78 30 30 2c 20 30 78 | 38 38 2c 20 30 78 34 35 |0x00, 0x|88, 0x45|
|00004640| 2c 20 30 78 30 35 2c 0a | 58 20 20 20 30 78 30 30 |, 0x05,.|X 0x00|
|00004650| 2c 20 30 78 38 38 2c 20 | 30 78 30 30 2c 20 30 78 |, 0x88, |0x00, 0x|
|00004660| 30 30 2c 20 30 78 34 35 | 2c 20 30 78 38 64 2c 20 |00, 0x45|, 0x8d, |
|00004670| 30 78 30 30 2c 20 30 78 | 30 30 2c 20 30 78 30 30 |0x00, 0x|00, 0x00|
|00004680| 2c 20 30 78 38 38 2c 20 | 30 78 30 30 2c 20 30 78 |, 0x88, |0x00, 0x|
|00004690| 30 30 2c 0a 58 20 20 20 | 30 78 30 30 2c 20 30 78 |00,.X |0x00, 0x|
|000046a0| 38 38 2c 20 30 78 30 30 | 2c 20 30 78 30 30 2c 20 |88, 0x00|, 0x00, |
|000046b0| 30 78 30 30 2c 20 30 78 | 38 38 2c 20 30 78 30 30 |0x00, 0x|88, 0x00|
|000046c0| 2c 20 30 78 30 30 7d 3b | 0a 45 4e 44 5f 4f 46 5f |, 0x00};|.END_OF_|
|000046d0| 46 49 4c 45 0a 69 66 20 | 74 65 73 74 20 33 32 34 |FILE.if |test 324|
|000046e0| 20 2d 6e 65 20 60 77 63 | 20 2d 63 20 3c 27 67 6f | -ne `wc| -c <'go|
|000046f0| 6c 64 64 69 67 32 2f 62 | 69 74 6d 61 70 2f 68 6f |lddig2/b|itmap/ho|
|00004700| 6c 65 33 2e 62 69 74 73 | 27 60 3b 20 74 68 65 6e |le3.bits|'`; then|
|00004710| 0a 20 20 20 20 65 63 68 | 6f 20 73 68 61 72 3a 20 |. ech|o shar: |
|00004720| 5c 22 27 67 6f 6c 64 64 | 69 67 32 2f 62 69 74 6d |\"'goldd|ig2/bitm|
|00004730| 61 70 2f 68 6f 6c 65 33 | 2e 62 69 74 73 27 5c 22 |ap/hole3|.bits'\"|
|00004740| 20 75 6e 70 61 63 6b 65 | 64 20 77 69 74 68 20 77 | unpacke|d with w|
|00004750| 72 6f 6e 67 20 73 69 7a | 65 21 0a 66 69 0a 23 20 |rong siz|e!.fi.# |
|00004760| 65 6e 64 20 6f 66 20 27 | 67 6f 6c 64 64 69 67 32 |end of '|golddig2|
|00004770| 2f 62 69 74 6d 61 70 2f | 68 6f 6c 65 33 2e 62 69 |/bitmap/|hole3.bi|
|00004780| 74 73 27 0a 66 69 0a 69 | 66 20 74 65 73 74 20 2d |ts'.fi.i|f test -|
|00004790| 66 20 27 67 6f 6c 64 64 | 69 67 32 2f 62 69 74 6d |f 'goldd|ig2/bitm|
|000047a0| 61 70 2f 68 6f 6c 65 34 | 2e 62 69 74 73 27 20 2d |ap/hole4|.bits' -|
|000047b0| 61 20 22 24 7b 31 7d 22 | 20 21 3d 20 22 2d 63 22 |a "${1}"| != "-c"|
|000047c0| 20 3b 20 74 68 65 6e 20 | 0a 20 20 65 63 68 6f 20 | ; then |. echo |
|000047d0| 73 68 61 72 3a 20 57 69 | 6c 6c 20 6e 6f 74 20 63 |shar: Wi|ll not c|
|000047e0| 6c 6f 62 62 65 72 20 65 | 78 69 73 74 69 6e 67 20 |lobber e|xisting |
|000047f0| 66 69 6c 65 20 5c 22 27 | 67 6f 6c 64 64 69 67 32 |file \"'|golddig2|
|00004800| 2f 62 69 74 6d 61 70 2f | 68 6f 6c 65 34 2e 62 69 |/bitmap/|hole4.bi|
|00004810| 74 73 27 5c 22 0a 65 6c | 73 65 0a 65 63 68 6f 20 |ts'\".el|se.echo |
|00004820| 73 68 61 72 3a 20 45 78 | 74 72 61 63 74 69 6e 67 |shar: Ex|tracting|
|00004830| 20 5c 22 27 67 6f 6c 64 | 64 69 67 32 2f 62 69 74 | \"'gold|dig2/bit|
|00004840| 6d 61 70 2f 68 6f 6c 65 | 34 2e 62 69 74 73 27 5c |map/hole|4.bits'\|
|00004850| 22 20 5c 28 33 32 34 20 | 63 68 61 72 61 63 74 65 |" \(324 |characte|
|00004860| 72 73 5c 29 0a 73 65 64 | 20 22 73 2f 5e 58 2f 2f |rs\).sed| "s/^X//|
|00004870| 22 20 3e 27 67 6f 6c 64 | 64 69 67 32 2f 62 69 74 |" >'gold|dig2/bit|
|00004880| 6d 61 70 2f 68 6f 6c 65 | 34 2e 62 69 74 73 27 20 |map/hole|4.bits' |
|00004890| 3c 3c 27 45 4e 44 5f 4f | 46 5f 46 49 4c 45 27 0a |<<'END_O|F_FILE'.|
|000048a0| 58 23 64 65 66 69 6e 65 | 20 68 6f 6c 65 34 5f 77 |X#define| hole4_w|
|000048b0| 69 64 74 68 20 31 36 0a | 58 23 64 65 66 69 6e 65 |idth 16.|X#define|
|000048c0| 20 68 6f 6c 65 34 5f 68 | 65 69 67 68 74 20 31 36 | hole4_h|eight 16|
|000048d0| 0a 58 23 64 65 66 69 6e | 65 20 68 6f 6c 65 34 5f |.X#defin|e hole4_|
|000048e0| 78 5f 68 6f 74 20 2d 31 | 0a 58 23 64 65 66 69 6e |x_hot -1|.X#defin|
|000048f0| 65 20 68 6f 6c 65 34 5f | 79 5f 68 6f 74 20 2d 31 |e hole4_|y_hot -1|
|00004900| 0a 58 73 74 61 74 69 63 | 20 63 68 61 72 20 68 6f |.Xstatic| char ho|
|00004910| 6c 65 34 5f 62 69 74 73 | 5b 5d 20 3d 20 7b 0a 58 |le4_bits|[] = {.X|
|00004920| 20 20 20 30 78 30 30 2c | 20 30 78 30 30 2c 20 30 | 0x00,| 0x00, 0|
|00004930| 78 30 30 2c 20 30 78 30 | 30 2c 20 30 78 30 30 2c |x00, 0x0|0, 0x00,|
|00004940| 20 30 78 30 30 2c 20 30 | 78 30 30 2c 20 30 78 30 | 0x00, 0|x00, 0x0|
|00004950| 30 2c 20 30 78 30 30 2c | 20 30 78 38 30 2c 20 30 |0, 0x00,| 0x80, 0|
|00004960| 78 30 30 2c 20 30 78 30 | 30 2c 0a 58 20 20 20 30 |x00, 0x0|0,.X 0|
|00004970| 78 30 30 2c 20 30 78 30 | 38 2c 20 30 78 30 30 2c |x00, 0x0|8, 0x00,|
|00004980| 20 30 78 30 30 2c 20 30 | 78 30 34 2c 20 30 78 30 | 0x00, 0|x04, 0x0|
|00004990| 30 2c 20 30 78 30 30 2c | 20 30 78 30 30 2c 20 30 |0, 0x00,| 0x00, 0|
|000049a0| 78 30 30 2c 20 30 78 30 | 38 2c 20 30 78 30 30 2c |x00, 0x0|8, 0x00,|
|000049b0| 20 30 78 30 30 2c 0a 58 | 20 20 20 30 78 30 30 2c | 0x00,.X| 0x00,|
|000049c0| 20 30 78 30 30 2c 20 30 | 78 30 30 2c 20 30 78 30 | 0x00, 0|x00, 0x0|
|000049d0| 30 2c 20 30 78 30 30 2c | 20 30 78 30 30 2c 20 30 |0, 0x00,| 0x00, 0|
|000049e0| 78 30 30 2c 20 30 78 30 | 30 7d 3b 0a 45 4e 44 5f |x00, 0x0|0};.END_|
|000049f0| 4f 46 5f 46 49 4c 45 0a | 69 66 20 74 65 73 74 20 |OF_FILE.|if test |
|00004a00| 33 32 34 20 2d 6e 65 20 | 60 77 63 20 2d 63 20 3c |324 -ne |`wc -c <|
|00004a10| 27 67 6f 6c 64 64 69 67 | 32 2f 62 69 74 6d 61 70 |'golddig|2/bitmap|
|00004a20| 2f 68 6f 6c 65 34 2e 62 | 69 74 73 27 60 3b 20 74 |/hole4.b|its'`; t|
|00004a30| 68 65 6e 0a 20 20 20 20 | 65 63 68 6f 20 73 68 61 |hen. |echo sha|
|00004a40| 72 3a 20 5c 22 27 67 6f | 6c 64 64 69 67 32 2f 62 |r: \"'go|lddig2/b|
|00004a50| 69 74 6d 61 70 2f 68 6f | 6c 65 34 2e 62 69 74 73 |itmap/ho|le4.bits|
|00004a60| 27 5c 22 20 75 6e 70 61 | 63 6b 65 64 20 77 69 74 |'\" unpa|cked wit|
|00004a70| 68 20 77 72 6f 6e 67 20 | 73 69 7a 65 21 0a 66 69 |h wrong |size!.fi|
|00004a80| 0a 23 20 65 6e 64 20 6f | 66 20 27 67 6f 6c 64 64 |.# end o|f 'goldd|
|00004a90| 69 67 32 2f 62 69 74 6d | 61 70 2f 68 6f 6c 65 34 |ig2/bitm|ap/hole4|
|00004aa0| 2e 62 69 74 73 27 0a 66 | 69 0a 69 66 20 74 65 73 |.bits'.f|i.if tes|
|00004ab0| 74 20 2d 66 20 27 67 6f | 6c 64 64 69 67 32 2f 62 |t -f 'go|lddig2/b|
|00004ac0| 69 74 6d 61 70 2f 68 6f | 6c 65 35 2e 62 69 74 73 |itmap/ho|le5.bits|
|00004ad0| 27 20 2d 61 20 22 24 7b | 31 7d 22 20 21 3d 20 22 |' -a "${|1}" != "|
|00004ae0| 2d 63 22 20 3b 20 74 68 | 65 6e 20 0a 20 20 65 63 |-c" ; th|en . ec|
|00004af0| 68 6f 20 73 68 61 72 3a | 20 57 69 6c 6c 20 6e 6f |ho shar:| Will no|
|00004b00| 74 20 63 6c 6f 62 62 65 | 72 20 65 78 69 73 74 69 |t clobbe|r existi|
|00004b10| 6e 67 20 66 69 6c 65 20 | 5c 22 27 67 6f 6c 64 64 |ng file |\"'goldd|
|00004b20| 69 67 32 2f 62 69 74 6d | 61 70 2f 68 6f 6c 65 35 |ig2/bitm|ap/hole5|
|00004b30| 2e 62 69 74 73 27 5c 22 | 0a 65 6c 73 65 0a 65 63 |.bits'\"|.else.ec|
|00004b40| 68 6f 20 73 68 61 72 3a | 20 45 78 74 72 61 63 74 |ho shar:| Extract|
|00004b50| 69 6e 67 20 5c 22 27 67 | 6f 6c 64 64 69 67 32 2f |ing \"'g|olddig2/|
|00004b60| 62 69 74 6d 61 70 2f 68 | 6f 6c 65 35 2e 62 69 74 |bitmap/h|ole5.bit|
|00004b70| 73 27 5c 22 20 5c 28 33 | 32 34 20 63 68 61 72 61 |s'\" \(3|24 chara|
|00004b80| 63 74 65 72 73 5c 29 0a | 73 65 64 20 22 73 2f 5e |cters\).|sed "s/^|
|00004b90| 58 2f 2f 22 20 3e 27 67 | 6f 6c 64 64 69 67 32 2f |X//" >'g|olddig2/|
|00004ba0| 62 69 74 6d 61 70 2f 68 | 6f 6c 65 35 2e 62 69 74 |bitmap/h|ole5.bit|
|00004bb0| 73 27 20 3c 3c 27 45 4e | 44 5f 4f 46 5f 46 49 4c |s' <<'EN|D_OF_FIL|
|00004bc0| 45 27 0a 58 23 64 65 66 | 69 6e 65 20 68 6f 6c 65 |E'.X#def|ine hole|
|00004bd0| 35 5f 77 69 64 74 68 20 | 31 36 0a 58 23 64 65 66 |5_width |16.X#def|
|00004be0| 69 6e 65 20 68 6f 6c 65 | 35 5f 68 65 69 67 68 74 |ine hole|5_height|
|00004bf0| 20 31 36 0a 58 23 64 65 | 66 69 6e 65 20 68 6f 6c | 16.X#de|fine hol|
|00004c00| 65 35 5f 78 5f 68 6f 74 | 20 2d 31 0a 58 23 64 65 |e5_x_hot| -1.X#de|
|00004c10| 66 69 6e 65 20 68 6f 6c | 65 35 5f 79 5f 68 6f 74 |fine hol|e5_y_hot|
|00004c20| 20 2d 31 0a 58 73 74 61 | 74 69 63 20 63 68 61 72 | -1.Xsta|tic char|
|00004c30| 20 68 6f 6c 65 35 5f 62 | 69 74 73 5b 5d 20 3d 20 | hole5_b|its[] = |
|00004c40| 7b 0a 58 20 20 20 30 78 | 30 33 2c 20 30 78 63 30 |{.X 0x|03, 0xc0|
|00004c50| 2c 20 30 78 30 31 2c 20 | 30 78 34 30 2c 20 30 78 |, 0x01, |0x40, 0x|
|00004c60| 30 32 2c 20 30 78 38 30 | 2c 20 30 78 30 31 2c 20 |02, 0x80|, 0x01, |
|00004c70| 30 78 34 30 2c 20 30 78 | 30 32 2c 20 30 78 38 30 |0x40, 0x|02, 0x80|
|00004c80| 2c 20 30 78 30 31 2c 20 | 30 78 34 30 2c 0a 58 20 |, 0x01, |0x40,.X |
|00004c90| 20 20 30 78 30 32 2c 20 | 30 78 38 30 2c 20 30 78 | 0x02, |0x80, 0x|
|00004ca0| 30 33 2c 20 30 78 63 30 | 2c 20 30 78 30 33 2c 20 |03, 0xc0|, 0x03, |
|00004cb0| 30 78 63 30 2c 20 30 78 | 30 31 2c 20 30 78 34 30 |0xc0, 0x|01, 0x40|
|00004cc0| 2c 20 30 78 30 32 2c 20 | 30 78 38 30 2c 20 30 78 |, 0x02, |0x80, 0x|
|00004cd0| 30 31 2c 20 30 78 34 30 | 2c 0a 58 20 20 20 30 78 |01, 0x40|,.X 0x|
|00004ce0| 30 32 2c 20 30 78 38 30 | 2c 20 30 78 30 31 2c 20 |02, 0x80|, 0x01, |
|00004cf0| 30 78 34 30 2c 20 30 78 | 61 61 2c 20 30 78 62 61 |0x40, 0x|aa, 0xba|
|00004d00| 2c 20 30 78 66 66 2c 20 | 30 78 66 66 7d 3b 0a 45 |, 0xff, |0xff};.E|
|00004d10| 4e 44 5f 4f 46 5f 46 49 | 4c 45 0a 69 66 20 74 65 |ND_OF_FI|LE.if te|
|00004d20| 73 74 20 33 32 34 20 2d | 6e 65 20 60 77 63 20 2d |st 324 -|ne `wc -|
|00004d30| 63 20 3c 27 67 6f 6c 64 | 64 69 67 32 2f 62 69 74 |c <'gold|dig2/bit|
|00004d40| 6d 61 70 2f 68 6f 6c 65 | 35 2e 62 69 74 73 27 60 |map/hole|5.bits'`|
|00004d50| 3b 20 74 68 65 6e 0a 20 | 20 20 20 65 63 68 6f 20 |; then. | echo |
|00004d60| 73 68 61 72 3a 20 5c 22 | 27 67 6f 6c 64 64 69 67 |shar: \"|'golddig|
|00004d70| 32 2f 62 69 74 6d 61 70 | 2f 68 6f 6c 65 35 2e 62 |2/bitmap|/hole5.b|
|00004d80| 69 74 73 27 5c 22 20 75 | 6e 70 61 63 6b 65 64 20 |its'\" u|npacked |
|00004d90| 77 69 74 68 20 77 72 6f | 6e 67 20 73 69 7a 65 21 |with wro|ng size!|
|00004da0| 0a 66 69 0a 23 20 65 6e | 64 20 6f 66 20 27 67 6f |.fi.# en|d of 'go|
|00004db0| 6c 64 64 69 67 32 2f 62 | 69 74 6d 61 70 2f 68 6f |lddig2/b|itmap/ho|
|00004dc0| 6c 65 35 2e 62 69 74 73 | 27 0a 66 69 0a 69 66 20 |le5.bits|'.fi.if |
|00004dd0| 74 65 73 74 20 2d 66 20 | 27 67 6f 6c 64 64 69 67 |test -f |'golddig|
|00004de0| 32 2f 62 69 74 6d 61 70 | 2f 68 6f 6c 65 36 2e 62 |2/bitmap|/hole6.b|
|00004df0| 69 74 73 27 20 2d 61 20 | 22 24 7b 31 7d 22 20 21 |its' -a |"${1}" !|
|00004e00| 3d 20 22 2d 63 22 20 3b | 20 74 68 65 6e 20 0a 20 |= "-c" ;| then . |
|00004e10| 20 65 63 68 6f 20 73 68 | 61 72 3a 20 57 69 6c 6c | echo sh|ar: Will|
|00004e20| 20 6e 6f 74 20 63 6c 6f | 62 62 65 72 20 65 78 69 | not clo|bber exi|
|00004e30| 73 74 69 6e 67 20 66 69 | 6c 65 20 5c 22 27 67 6f |sting fi|le \"'go|
|00004e40| 6c 64 64 69 67 32 2f 62 | 69 74 6d 61 70 2f 68 6f |lddig2/b|itmap/ho|
|00004e50| 6c 65 36 2e 62 69 74 73 | 27 5c 22 0a 65 6c 73 65 |le6.bits|'\".else|
|00004e60| 0a 65 63 68 6f 20 73 68 | 61 72 3a 20 45 78 74 72 |.echo sh|ar: Extr|
|00004e70| 61 63 74 69 6e 67 20 5c | 22 27 67 6f 6c 64 64 69 |acting \|"'golddi|
|00004e80| 67 32 2f 62 69 74 6d 61 | 70 2f 68 6f 6c 65 36 2e |g2/bitma|p/hole6.|
|00004e90| 62 69 74 73 27 5c 22 20 | 5c 28 33 32 34 20 63 68 |bits'\" |\(324 ch|
|00004ea0| 61 72 61 63 74 65 72 73 | 5c 29 0a 73 65 64 20 22 |aracters|\).sed "|
|00004eb0| 73 2f 5e 58 2f 2f 22 20 | 3e 27 67 6f 6c 64 64 69 |s/^X//" |>'golddi|
|00004ec0| 67 32 2f 62 69 74 6d 61 | 70 2f 68 6f 6c 65 36 2e |g2/bitma|p/hole6.|
|00004ed0| 62 69 74 73 27 20 3c 3c | 27 45 4e 44 5f 4f 46 5f |bits' <<|'END_OF_|
|00004ee0| 46 49 4c 45 27 0a 58 23 | 64 65 66 69 6e 65 20 68 |FILE'.X#|define h|
|00004ef0| 6f 6c 65 36 5f 77 69 64 | 74 68 20 31 36 0a 58 23 |ole6_wid|th 16.X#|
|00004f00| 64 65 66 69 6e 65 20 68 | 6f 6c 65 36 5f 68 65 69 |define h|ole6_hei|
|00004f10| 67 68 74 20 31 36 0a 58 | 23 64 65 66 69 6e 65 20 |ght 16.X|#define |
|00004f20| 68 6f 6c 65 36 5f 78 5f | 68 6f 74 20 2d 31 0a 58 |hole6_x_|hot -1.X|
|00004f30| 23 64 65 66 69 6e 65 20 | 68 6f 6c 65 36 5f 79 5f |#define |hole6_y_|
|00004f40| 68 6f 74 20 2d 31 0a 58 | 73 74 61 74 69 63 20 63 |hot -1.X|static c|
|00004f50| 68 61 72 20 68 6f 6c 65 | 36 5f 62 69 74 73 5b 5d |har hole|6_bits[]|
|00004f60| 20 3d 20 7b 0a 58 20 20 | 20 30 78 30 66 2c 20 30 | = {.X | 0x0f, 0|
|00004f70| 78 66 30 2c 20 30 78 30 | 64 2c 20 30 78 35 30 2c |xf0, 0x0|d, 0x50,|
|00004f80| 20 30 78 30 61 2c 20 30 | 78 61 30 2c 20 30 78 30 | 0x0a, 0|xa0, 0x0|
|00004f90| 64 2c 20 30 78 35 30 2c | 20 30 78 30 61 2c 20 30 |d, 0x50,| 0x0a, 0|
|00004fa0| 78 61 30 2c 20 30 78 30 | 64 2c 20 30 78 35 30 2c |xa0, 0x0|d, 0x50,|
|00004fb0| 0a 58 20 20 20 30 78 30 | 61 2c 20 30 78 61 30 2c |.X 0x0|a, 0xa0,|
|00004fc0| 20 30 78 30 66 2c 20 30 | 78 66 30 2c 20 30 78 30 | 0x0f, 0|xf0, 0x0|
|00004fd0| 66 2c 20 30 78 66 30 2c | 20 30 78 30 35 2c 20 30 |f, 0xf0,| 0x05, 0|
|00004fe0| 78 35 30 2c 20 30 78 30 | 61 2c 20 30 78 62 30 2c |x50, 0x0|a, 0xb0,|
|00004ff0| 20 30 78 30 35 2c 20 30 | 78 35 30 2c 0a 58 20 20 | 0x05, 0|x50,.X |
|00005000| 20 30 78 61 61 2c 20 30 | 78 62 61 2c 20 30 78 35 | 0xaa, 0|xba, 0x5|
|00005010| 35 2c 20 30 78 35 64 2c | 20 30 78 61 61 2c 20 30 |5, 0x5d,| 0xaa, 0|
|00005020| 78 62 61 2c 20 30 78 66 | 66 2c 20 30 78 66 66 7d |xba, 0xf|f, 0xff}|
|00005030| 3b 0a 45 4e 44 5f 4f 46 | 5f 46 49 4c 45 0a 69 66 |;.END_OF|_FILE.if|
|00005040| 20 74 65 73 74 20 33 32 | 34 20 2d 6e 65 20 60 77 | test 32|4 -ne `w|
|00005050| 63 20 2d 63 20 3c 27 67 | 6f 6c 64 64 69 67 32 2f |c -c <'g|olddig2/|
|00005060| 62 69 74 6d 61 70 2f 68 | 6f 6c 65 36 2e 62 69 74 |bitmap/h|ole6.bit|
|00005070| 73 27 60 3b 20 74 68 65 | 6e 0a 20 20 20 20 65 63 |s'`; the|n. ec|
|00005080| 68 6f 20 73 68 61 72 3a | 20 5c 22 27 67 6f 6c 64 |ho shar:| \"'gold|
|00005090| 64 69 67 32 2f 62 69 74 | 6d 61 70 2f 68 6f 6c 65 |dig2/bit|map/hole|
|000050a0| 36 2e 62 69 74 73 27 5c | 22 20 75 6e 70 61 63 6b |6.bits'\|" unpack|
|000050b0| 65 64 20 77 69 74 68 20 | 77 72 6f 6e 67 20 73 69 |ed with |wrong si|
|000050c0| 7a 65 21 0a 66 69 0a 23 | 20 65 6e 64 20 6f 66 20 |ze!.fi.#| end of |
|000050d0| 27 67 6f 6c 64 64 69 67 | 32 2f 62 69 74 6d 61 70 |'golddig|2/bitmap|
|000050e0| 2f 68 6f 6c 65 36 2e 62 | 69 74 73 27 0a 66 69 0a |/hole6.b|its'.fi.|
|000050f0| 69 66 20 74 65 73 74 20 | 2d 66 20 27 67 6f 6c 64 |if test |-f 'gold|
|00005100| 64 69 67 32 2f 62 69 74 | 6d 61 70 2f 68 6f 6c 65 |dig2/bit|map/hole|
|00005110| 37 2e 62 69 74 73 27 20 | 2d 61 20 22 24 7b 31 7d |7.bits' |-a "${1}|
|00005120| 22 20 21 3d 20 22 2d 63 | 22 20 3b 20 74 68 65 6e |" != "-c|" ; then|
|00005130| 20 0a 20 20 65 63 68 6f | 20 73 68 61 72 3a 20 57 | . echo| shar: W|
|00005140| 69 6c 6c 20 6e 6f 74 20 | 63 6c 6f 62 62 65 72 20 |ill not |clobber |
|00005150| 65 78 69 73 74 69 6e 67 | 20 66 69 6c 65 20 5c 22 |existing| file \"|
|00005160| 27 67 6f 6c 64 64 69 67 | 32 2f 62 69 74 6d 61 70 |'golddig|2/bitmap|
|00005170| 2f 68 6f 6c 65 37 2e 62 | 69 74 73 27 5c 22 0a 65 |/hole7.b|its'\".e|
|00005180| 6c 73 65 0a 65 63 68 6f | 20 73 68 61 72 3a 20 45 |lse.echo| shar: E|
|00005190| 78 74 72 61 63 74 69 6e | 67 20 5c 22 27 67 6f 6c |xtractin|g \"'gol|
|000051a0| 64 64 69 67 32 2f 62 69 | 74 6d 61 70 2f 68 6f 6c |ddig2/bi|tmap/hol|
|000051b0| 65 37 2e 62 69 74 73 27 | 5c 22 20 5c 28 33 32 34 |e7.bits'|\" \(324|
|000051c0| 20 63 68 61 72 61 63 74 | 65 72 73 5c 29 0a 73 65 | charact|ers\).se|
|000051d0| 64 20 22 73 2f 5e 58 2f | 2f 22 20 3e 27 67 6f 6c |d "s/^X/|/" >'gol|
|000051e0| 64 64 69 67 32 2f 62 69 | 74 6d 61 70 2f 68 6f 6c |ddig2/bi|tmap/hol|
|000051f0| 65 37 2e 62 69 74 73 27 | 20 3c 3c 27 45 4e 44 5f |e7.bits'| <<'END_|
|00005200| 4f 46 5f 46 49 4c 45 27 | 0a 58 23 64 65 66 69 6e |OF_FILE'|.X#defin|
|00005210| 65 20 68 6f 6c 65 37 5f | 77 69 64 74 68 20 31 36 |e hole7_|width 16|
|00005220| 0a 58 23 64 65 66 69 6e | 65 20 68 6f 6c 65 37 5f |.X#defin|e hole7_|
|00005230| 68 65 69 67 68 74 20 31 | 36 0a 58 23 64 65 66 69 |height 1|6.X#defi|
|00005240| 6e 65 20 68 6f 6c 65 37 | 5f 78 5f 68 6f 74 20 2d |ne hole7|_x_hot -|
|00005250| 31 0a 58 23 64 65 66 69 | 6e 65 20 68 6f 6c 65 37 |1.X#defi|ne hole7|
|00005260| 5f 79 5f 68 6f 74 20 2d | 31 0a 58 73 74 61 74 69 |_y_hot -|1.Xstati|
|00005270| 63 20 63 68 61 72 20 68 | 6f 6c 65 37 5f 62 69 74 |c char h|ole7_bit|
|00005280| 73 5b 5d 20 3d 20 7b 0a | 58 20 20 20 30 78 33 66 |s[] = {.|X 0x3f|
|00005290| 2c 20 30 78 66 63 2c 20 | 30 78 31 64 2c 20 30 78 |, 0xfc, |0x1d, 0x|
|000052a0| 35 34 2c 20 30 78 33 61 | 2c 20 30 78 61 38 2c 20 |54, 0x3a|, 0xa8, |
|000052b0| 30 78 31 64 2c 20 30 78 | 35 34 2c 20 30 78 33 61 |0x1d, 0x|54, 0x3a|
|000052c0| 2c 20 30 78 61 38 2c 20 | 30 78 35 64 2c 20 30 78 |, 0xa8, |0x5d, 0x|
|000052d0| 35 35 2c 0a 58 20 20 20 | 30 78 62 61 2c 20 30 78 |55,.X |0xba, 0x|
|000052e0| 61 61 2c 20 30 78 66 66 | 2c 20 30 78 66 66 2c 20 |aa, 0xff|, 0xff, |
|000052f0| 30 78 66 66 2c 20 30 78 | 66 66 2c 20 30 78 35 35 |0xff, 0x|ff, 0x55|
|00005300| 2c 20 30 78 35 64 2c 20 | 30 78 61 61 2c 20 30 78 |, 0x5d, |0xaa, 0x|
|00005310| 62 61 2c 20 30 78 35 35 | 2c 20 30 78 35 64 2c 0a |ba, 0x55|, 0x5d,.|
|00005320| 58 20 20 20 30 78 61 61 | 2c 20 30 78 62 61 2c 20 |X 0xaa|, 0xba, |
|00005330| 30 78 35 35 2c 20 30 78 | 35 64 2c 20 30 78 61 61 |0x55, 0x|5d, 0xaa|
|00005340| 2c 20 30 78 62 61 2c 20 | 30 78 66 66 2c 20 30 78 |, 0xba, |0xff, 0x|
|00005350| 66 66 7d 3b 0a 45 4e 44 | 5f 4f 46 5f 46 49 4c 45 |ff};.END|_OF_FILE|
|00005360| 0a 69 66 20 74 65 73 74 | 20 33 32 34 20 2d 6e 65 |.if test| 324 -ne|
|00005370| 20 60 77 63 20 2d 63 20 | 3c 27 67 6f 6c 64 64 69 | `wc -c |<'golddi|
|00005380| 67 32 2f 62 69 74 6d 61 | 70 2f 68 6f 6c 65 37 2e |g2/bitma|p/hole7.|
|00005390| 62 69 74 73 27 60 3b 20 | 74 68 65 6e 0a 20 20 20 |bits'`; |then. |
|000053a0| 20 65 63 68 6f 20 73 68 | 61 72 3a 20 5c 22 27 67 | echo sh|ar: \"'g|
|000053b0| 6f 6c 64 64 69 67 32 2f | 62 69 74 6d 61 70 2f 68 |olddig2/|bitmap/h|
|000053c0| 6f 6c 65 37 2e 62 69 74 | 73 27 5c 22 20 75 6e 70 |ole7.bit|s'\" unp|
|000053d0| 61 63 6b 65 64 20 77 69 | 74 68 20 77 72 6f 6e 67 |acked wi|th wrong|
|000053e0| 20 73 69 7a 65 21 0a 66 | 69 0a 23 20 65 6e 64 20 | size!.f|i.# end |
|000053f0| 6f 66 20 27 67 6f 6c 64 | 64 69 67 32 2f 62 69 74 |of 'gold|dig2/bit|
|00005400| 6d 61 70 2f 68 6f 6c 65 | 37 2e 62 69 74 73 27 0a |map/hole|7.bits'.|
|00005410| 66 69 0a 69 66 20 74 65 | 73 74 20 2d 66 20 27 67 |fi.if te|st -f 'g|
|00005420| 6f 6c 64 64 69 67 32 2f | 62 69 74 6d 61 70 2f 68 |olddig2/|bitmap/h|
|00005430| 6f 75 72 67 6c 2e 62 69 | 74 73 27 20 2d 61 20 22 |ourgl.bi|ts' -a "|
|00005440| 24 7b 31 7d 22 20 21 3d | 20 22 2d 63 22 20 3b 20 |${1}" !=| "-c" ; |
|00005450| 74 68 65 6e 20 0a 20 20 | 65 63 68 6f 20 73 68 61 |then . |echo sha|
|00005460| 72 3a 20 57 69 6c 6c 20 | 6e 6f 74 20 63 6c 6f 62 |r: Will |not clob|
|00005470| 62 65 72 20 65 78 69 73 | 74 69 6e 67 20 66 69 6c |ber exis|ting fil|
|00005480| 65 20 5c 22 27 67 6f 6c | 64 64 69 67 32 2f 62 69 |e \"'gol|ddig2/bi|
|00005490| 74 6d 61 70 2f 68 6f 75 | 72 67 6c 2e 62 69 74 73 |tmap/hou|rgl.bits|
|000054a0| 27 5c 22 0a 65 6c 73 65 | 0a 65 63 68 6f 20 73 68 |'\".else|.echo sh|
|000054b0| 61 72 3a 20 45 78 74 72 | 61 63 74 69 6e 67 20 5c |ar: Extr|acting \|
|000054c0| 22 27 67 6f 6c 64 64 69 | 67 32 2f 62 69 74 6d 61 |"'golddi|g2/bitma|
|000054d0| 70 2f 68 6f 75 72 67 6c | 2e 62 69 74 73 27 5c 22 |p/hourgl|.bits'\"|
|000054e0| 20 5c 28 32 38 31 20 63 | 68 61 72 61 63 74 65 72 | \(281 c|haracter|
|000054f0| 73 5c 29 0a 73 65 64 20 | 22 73 2f 5e 58 2f 2f 22 |s\).sed |"s/^X//"|
|00005500| 20 3e 27 67 6f 6c 64 64 | 69 67 32 2f 62 69 74 6d | >'goldd|ig2/bitm|
|00005510| 61 70 2f 68 6f 75 72 67 | 6c 2e 62 69 74 73 27 20 |ap/hourg|l.bits' |
|00005520| 3c 3c 27 45 4e 44 5f 4f | 46 5f 46 49 4c 45 27 0a |<<'END_O|F_FILE'.|
|00005530| 58 23 64 65 66 69 6e 65 | 20 68 6f 75 72 67 6c 5f |X#define| hourgl_|
|00005540| 77 69 64 74 68 20 31 36 | 0a 58 23 64 65 66 69 6e |width 16|.X#defin|
|00005550| 65 20 68 6f 75 72 67 6c | 5f 68 65 69 67 68 74 20 |e hourgl|_height |
|00005560| 31 36 0a 58 73 74 61 74 | 69 63 20 63 68 61 72 20 |16.Xstat|ic char |
|00005570| 68 6f 75 72 67 6c 5f 62 | 69 74 73 5b 5d 20 3d 20 |hourgl_b|its[] = |
|00005580| 7b 0a 58 20 20 20 30 78 | 30 30 2c 20 30 78 30 30 |{.X 0x|00, 0x00|
|00005590| 2c 20 30 78 66 63 2c 20 | 30 78 33 66 2c 20 30 78 |, 0xfc, |0x3f, 0x|
|000055a0| 30 34 2c 20 30 78 32 30 | 2c 20 30 78 30 38 2c 20 |04, 0x20|, 0x08, |
|000055b0| 30 78 31 30 2c 20 30 78 | 37 30 2c 20 30 78 30 65 |0x10, 0x|70, 0x0e|
|000055c0| 2c 20 30 78 65 30 2c 20 | 30 78 30 37 2c 0a 58 20 |, 0xe0, |0x07,.X |
|000055d0| 20 20 30 78 63 30 2c 20 | 30 78 30 33 2c 20 30 78 | 0xc0, |0x03, 0x|
|000055e0| 38 30 2c 20 30 78 30 31 | 2c 20 30 78 38 30 2c 20 |80, 0x01|, 0x80, |
|000055f0| 30 78 30 31 2c 20 30 78 | 34 30 2c 20 30 78 30 32 |0x01, 0x|40, 0x02|
|00005600| 2c 20 30 78 32 30 2c 20 | 30 78 30 34 2c 20 30 78 |, 0x20, |0x04, 0x|
|00005610| 33 30 2c 20 30 78 30 63 | 2c 0a 58 20 20 20 30 78 |30, 0x0c|,.X 0x|
|00005620| 37 38 2c 20 30 78 31 65 | 2c 20 30 78 66 63 2c 20 |78, 0x1e|, 0xfc, |
|00005630| 30 78 33 66 2c 20 30 78 | 66 63 2c 20 30 78 33 66 |0x3f, 0x|fc, 0x3f|
|00005640| 2c 20 30 78 30 30 2c 20 | 30 78 30 30 7d 3b 0a 45 |, 0x00, |0x00};.E|
|00005650| 4e 44 5f 4f 46 5f 46 49 | 4c 45 0a 69 66 20 74 65 |ND_OF_FI|LE.if te|
|00005660| 73 74 20 32 38 31 20 2d | 6e 65 20 60 77 63 20 2d |st 281 -|ne `wc -|
|00005670| 63 20 3c 27 67 6f 6c 64 | 64 69 67 32 2f 62 69 74 |c <'gold|dig2/bit|
|00005680| 6d 61 70 2f 68 6f 75 72 | 67 6c 2e 62 69 74 73 27 |map/hour|gl.bits'|
|00005690| 60 3b 20 74 68 65 6e 0a | 20 20 20 20 65 63 68 6f |`; then.| echo|
|000056a0| 20 73 68 61 72 3a 20 5c | 22 27 67 6f 6c 64 64 69 | shar: \|"'golddi|
|000056b0| 67 32 2f 62 69 74 6d 61 | 70 2f 68 6f 75 72 67 6c |g2/bitma|p/hourgl|
|000056c0| 2e 62 69 74 73 27 5c 22 | 20 75 6e 70 61 63 6b 65 |.bits'\"| unpacke|
|000056d0| 64 20 77 69 74 68 20 77 | 72 6f 6e 67 20 73 69 7a |d with w|rong siz|
|000056e0| 65 21 0a 66 69 0a 23 20 | 65 6e 64 20 6f 66 20 27 |e!.fi.# |end of '|
|000056f0| 67 6f 6c 64 64 69 67 32 | 2f 62 69 74 6d 61 70 2f |golddig2|/bitmap/|
|00005700| 68 6f 75 72 67 6c 2e 62 | 69 74 73 27 0a 66 69 0a |hourgl.b|its'.fi.|
|00005710| 69 66 20 74 65 73 74 20 | 2d 66 20 27 67 6f 6c 64 |if test |-f 'gold|
|00005720| 64 69 67 32 2f 62 69 74 | 6d 61 70 2f 69 6e 76 69 |dig2/bit|map/invi|
|00005730| 73 2e 62 69 74 73 27 20 | 2d 61 20 22 24 7b 31 7d |s.bits' |-a "${1}|
|00005740| 22 20 21 3d 20 22 2d 63 | 22 20 3b 20 74 68 65 6e |" != "-c|" ; then|
|00005750| 20 0a 20 20 65 63 68 6f | 20 73 68 61 72 3a 20 57 | . echo| shar: W|
|00005760| 69 6c 6c 20 6e 6f 74 20 | 63 6c 6f 62 62 65 72 20 |ill not |clobber |
|00005770| 65 78 69 73 74 69 6e 67 | 20 66 69 6c 65 20 5c 22 |existing| file \"|
|00005780| 27 67 6f 6c 64 64 69 67 | 32 2f 62 69 74 6d 61 70 |'golddig|2/bitmap|
|00005790| 2f 69 6e 76 69 73 2e 62 | 69 74 73 27 5c 22 0a 65 |/invis.b|its'\".e|
|000057a0| 6c 73 65 0a 65 63 68 6f | 20 73 68 61 72 3a 20 45 |lse.echo| shar: E|
|000057b0| 78 74 72 61 63 74 69 6e | 67 20 5c 22 27 67 6f 6c |xtractin|g \"'gol|
|000057c0| 64 64 69 67 32 2f 62 69 | 74 6d 61 70 2f 69 6e 76 |ddig2/bi|tmap/inv|
|000057d0| 69 73 2e 62 69 74 73 27 | 5c 22 20 5c 28 33 32 34 |is.bits'|\" \(324|
|000057e0| 20 63 68 61 72 61 63 74 | 65 72 73 5c 29 0a 73 65 | charact|ers\).se|
|000057f0| 64 20 22 73 2f 5e 58 2f | 2f 22 20 3e 27 67 6f 6c |d "s/^X/|/" >'gol|
|00005800| 64 64 69 67 32 2f 62 69 | 74 6d 61 70 2f 69 6e 76 |ddig2/bi|tmap/inv|
|00005810| 69 73 2e 62 69 74 73 27 | 20 3c 3c 27 45 4e 44 5f |is.bits'| <<'END_|
|00005820| 4f 46 5f 46 49 4c 45 27 | 0a 58 23 64 65 66 69 6e |OF_FILE'|.X#defin|
|00005830| 65 20 69 6e 76 69 73 5f | 77 69 64 74 68 20 31 36 |e invis_|width 16|
|00005840| 0a 58 23 64 65 66 69 6e | 65 20 69 6e 76 69 73 5f |.X#defin|e invis_|
|00005850| 68 65 69 67 68 74 20 31 | 36 0a 58 23 64 65 66 69 |height 1|6.X#defi|
|00005860| 6e 65 20 69 6e 76 69 73 | 5f 78 5f 68 6f 74 20 2d |ne invis|_x_hot -|
|00005870| 31 0a 58 23 64 65 66 69 | 6e 65 20 69 6e 76 69 73 |1.X#defi|ne invis|
|00005880| 5f 79 5f 68 6f 74 20 2d | 31 0a 58 73 74 61 74 69 |_y_hot -|1.Xstati|
|00005890| 63 20 63 68 61 72 20 69 | 6e 76 69 73 5f 62 69 74 |c char i|nvis_bit|
|000058a0| 73 5b 5d 20 3d 20 7b 0a | 58 20 20 20 30 78 30 61 |s[] = {.|X 0x0a|
|000058b0| 2c 20 30 78 35 30 2c 20 | 30 78 36 66 2c 20 30 78 |, 0x50, |0x6f, 0x|
|000058c0| 66 36 2c 20 30 78 36 65 | 2c 20 30 78 37 36 2c 20 |f6, 0x6e|, 0x76, |
|000058d0| 30 78 30 37 2c 20 30 78 | 65 30 2c 20 30 78 30 30 |0x07, 0x|e0, 0x00|
|000058e0| 2c 20 30 78 30 30 2c 20 | 30 78 30 36 2c 20 30 78 |, 0x00, |0x06, 0x|
|000058f0| 36 30 2c 0a 58 20 20 20 | 30 78 30 36 2c 20 30 78 |60,.X |0x06, 0x|
|00005900| 36 30 2c 20 30 78 30 30 | 2c 20 30 78 30 30 2c 20 |60, 0x00|, 0x00, |
|00005910| 30 78 30 30 2c 20 30 78 | 30 30 2c 20 30 78 30 36 |0x00, 0x|00, 0x06|
|00005920| 2c 20 30 78 36 30 2c 20 | 30 78 30 36 2c 20 30 78 |, 0x60, |0x06, 0x|
|00005930| 36 30 2c 20 30 78 30 30 | 2c 20 30 78 30 30 2c 0a |60, 0x00|, 0x00,.|
|00005940| 58 20 20 20 30 78 30 37 | 2c 20 30 78 36 30 2c 20 |X 0x07|, 0x60, |
|00005950| 30 78 36 65 2c 20 30 78 | 66 36 2c 20 30 78 36 66 |0x6e, 0x|f6, 0x6f|
|00005960| 2c 20 30 78 37 36 2c 20 | 30 78 30 61 2c 20 30 78 |, 0x76, |0x0a, 0x|
|00005970| 64 30 7d 3b 0a 45 4e 44 | 5f 4f 46 5f 46 49 4c 45 |d0};.END|_OF_FILE|
|00005980| 0a 69 66 20 74 65 73 74 | 20 33 32 34 20 2d 6e 65 |.if test| 324 -ne|
|00005990| 20 60 77 63 20 2d 63 20 | 3c 27 67 6f 6c 64 64 69 | `wc -c |<'golddi|
|000059a0| 67 32 2f 62 69 74 6d 61 | 70 2f 69 6e 76 69 73 2e |g2/bitma|p/invis.|
|000059b0| 62 69 74 73 27 60 3b 20 | 74 68 65 6e 0a 20 20 20 |bits'`; |then. |
|000059c0| 20 65 63 68 6f 20 73 68 | 61 72 3a 20 5c 22 27 67 | echo sh|ar: \"'g|
|000059d0| 6f 6c 64 64 69 67 32 2f | 62 69 74 6d 61 70 2f 69 |olddig2/|bitmap/i|
|000059e0| 6e 76 69 73 2e 62 69 74 | 73 27 5c 22 20 75 6e 70 |nvis.bit|s'\" unp|
|000059f0| 61 63 6b 65 64 20 77 69 | 74 68 20 77 72 6f 6e 67 |acked wi|th wrong|
|00005a00| 20 73 69 7a 65 21 0a 66 | 69 0a 23 20 65 6e 64 20 | size!.f|i.# end |
|00005a10| 6f 66 20 27 67 6f 6c 64 | 64 69 67 32 2f 62 69 74 |of 'gold|dig2/bit|
|00005a20| 6d 61 70 2f 69 6e 76 69 | 73 2e 62 69 74 73 27 0a |map/invi|s.bits'.|
|00005a30| 66 69 0a 69 66 20 74 65 | 73 74 20 2d 66 20 27 67 |fi.if te|st -f 'g|
|00005a40| 6f 6c 64 64 69 67 32 2f | 62 69 74 6d 61 70 2f 6a |olddig2/|bitmap/j|
|00005a50| 75 6d 70 2e 62 69 74 73 | 27 20 2d 61 20 22 24 7b |ump.bits|' -a "${|
|00005a60| 31 7d 22 20 21 3d 20 22 | 2d 63 22 20 3b 20 74 68 |1}" != "|-c" ; th|
|00005a70| 65 6e 20 0a 20 20 65 63 | 68 6f 20 73 68 61 72 3a |en . ec|ho shar:|
|00005a80| 20 57 69 6c 6c 20 6e 6f | 74 20 63 6c 6f 62 62 65 | Will no|t clobbe|
|00005a90| 72 20 65 78 69 73 74 69 | 6e 67 20 66 69 6c 65 20 |r existi|ng file |
|00005aa0| 5c 22 27 67 6f 6c 64 64 | 69 67 32 2f 62 69 74 6d |\"'goldd|ig2/bitm|
|00005ab0| 61 70 2f 6a 75 6d 70 2e | 62 69 74 73 27 5c 22 0a |ap/jump.|bits'\".|
|00005ac0| 65 6c 73 65 0a 65 63 68 | 6f 20 73 68 61 72 3a 20 |else.ech|o shar: |
|00005ad0| 45 78 74 72 61 63 74 69 | 6e 67 20 5c 22 27 67 6f |Extracti|ng \"'go|
|00005ae0| 6c 64 64 69 67 32 2f 62 | 69 74 6d 61 70 2f 6a 75 |lddig2/b|itmap/ju|
|00005af0| 6d 70 2e 62 69 74 73 27 | 5c 22 20 5c 28 32 37 35 |mp.bits'|\" \(275|
|00005b00| 20 63 68 61 72 61 63 74 | 65 72 73 5c 29 0a 73 65 | charact|ers\).se|
|00005b10| 64 20 22 73 2f 5e 58 2f | 2f 22 20 3e 27 67 6f 6c |d "s/^X/|/" >'gol|
|00005b20| 64 64 69 67 32 2f 62 69 | 74 6d 61 70 2f 6a 75 6d |ddig2/bi|tmap/jum|
|00005b30| 70 2e 62 69 74 73 27 20 | 3c 3c 27 45 4e 44 5f 4f |p.bits' |<<'END_O|
|00005b40| 46 5f 46 49 4c 45 27 0a | 58 23 64 65 66 69 6e 65 |F_FILE'.|X#define|
|00005b50| 20 6a 75 6d 70 5f 77 69 | 64 74 68 20 31 36 0a 58 | jump_wi|dth 16.X|
|00005b60| 23 64 65 66 69 6e 65 20 | 6a 75 6d 70 5f 68 65 69 |#define |jump_hei|
|00005b70| 67 68 74 20 31 36 0a 58 | 73 74 61 74 69 63 20 63 |ght 16.X|static c|
|00005b80| 68 61 72 20 6a 75 6d 70 | 5f 62 69 74 73 5b 5d 20 |har jump|_bits[] |
|00005b90| 3d 20 7b 0a 58 20 20 20 | 30 78 30 30 2c 20 30 78 |= {.X |0x00, 0x|
|00005ba0| 30 30 2c 20 30 78 30 30 | 2c 20 30 78 30 30 2c 20 |00, 0x00|, 0x00, |
|00005bb0| 30 78 30 30 2c 20 30 78 | 30 30 2c 20 30 78 30 30 |0x00, 0x|00, 0x00|
|00005bc0| 2c 20 30 78 30 30 2c 20 | 30 78 30 30 2c 20 30 78 |, 0x00, |0x00, 0x|
|00005bd0| 30 30 2c 20 30 78 30 30 | 2c 20 30 78 30 30 2c 0a |00, 0x00|, 0x00,.|
|00005be0| 58 20 20 20 30 78 30 30 | 2c 20 30 78 30 30 2c 20 |X 0x00|, 0x00, |
|00005bf0| 30 78 30 30 2c 20 30 78 | 30 30 2c 20 30 78 66 65 |0x00, 0x|00, 0xfe|
|00005c00| 2c 20 30 78 37 66 2c 20 | 30 78 66 63 2c 20 30 78 |, 0x7f, |0xfc, 0x|
|00005c10| 33 66 2c 20 30 78 30 30 | 2c 20 30 78 30 36 2c 20 |3f, 0x00|, 0x06, |
|00005c20| 30 78 63 30 2c 20 30 78 | 30 31 2c 0a 58 20 20 20 |0xc0, 0x|01,.X |
|00005c30| 30 78 33 30 2c 20 30 78 | 30 30 2c 20 30 78 63 30 |0x30, 0x|00, 0xc0|
|00005c40| 2c 20 30 78 30 33 2c 20 | 30 78 30 30 2c 20 30 78 |, 0x03, |0x00, 0x|
|00005c50| 30 63 2c 20 30 78 65 30 | 2c 20 30 78 30 33 7d 3b |0c, 0xe0|, 0x03};|
|00005c60| 0a 45 4e 44 5f 4f 46 5f | 46 49 4c 45 0a 69 66 20 |.END_OF_|FILE.if |
|00005c70| 74 65 73 74 20 32 37 35 | 20 2d 6e 65 20 60 77 63 |test 275| -ne `wc|
|00005c80| 20 2d 63 20 3c 27 67 6f | 6c 64 64 69 67 32 2f 62 | -c <'go|lddig2/b|
|00005c90| 69 74 6d 61 70 2f 6a 75 | 6d 70 2e 62 69 74 73 27 |itmap/ju|mp.bits'|
|00005ca0| 60 3b 20 74 68 65 6e 0a | 20 20 20 20 65 63 68 6f |`; then.| echo|
|00005cb0| 20 73 68 61 72 3a 20 5c | 22 27 67 6f 6c 64 64 69 | shar: \|"'golddi|
|00005cc0| 67 32 2f 62 69 74 6d 61 | 70 2f 6a 75 6d 70 2e 62 |g2/bitma|p/jump.b|
|00005cd0| 69 74 73 27 5c 22 20 75 | 6e 70 61 63 6b 65 64 20 |its'\" u|npacked |
|00005ce0| 77 69 74 68 20 77 72 6f | 6e 67 20 73 69 7a 65 21 |with wro|ng size!|
|00005cf0| 0a 66 69 0a 23 20 65 6e | 64 20 6f 66 20 27 67 6f |.fi.# en|d of 'go|
|00005d00| 6c 64 64 69 67 32 2f 62 | 69 74 6d 61 70 2f 6a 75 |lddig2/b|itmap/ju|
|00005d10| 6d 70 2e 62 69 74 73 27 | 0a 66 69 0a 69 66 20 74 |mp.bits'|.fi.if t|
|00005d20| 65 73 74 20 2d 66 20 27 | 67 6f 6c 64 64 69 67 32 |est -f '|golddig2|
|00005d30| 2f 62 69 74 6d 61 70 2f | 6b 69 6c 6c 2e 62 69 74 |/bitmap/|kill.bit|
|00005d40| 73 27 20 2d 61 20 22 24 | 7b 31 7d 22 20 21 3d 20 |s' -a "$|{1}" != |
|00005d50| 22 2d 63 22 20 3b 20 74 | 68 65 6e 20 0a 20 20 65 |"-c" ; t|hen . e|
|00005d60| 63 68 6f 20 73 68 61 72 | 3a 20 57 69 6c 6c 20 6e |cho shar|: Will n|
|00005d70| 6f 74 20 63 6c 6f 62 62 | 65 72 20 65 78 69 73 74 |ot clobb|er exist|
|00005d80| 69 6e 67 20 66 69 6c 65 | 20 5c 22 27 67 6f 6c 64 |ing file| \"'gold|
|00005d90| 64 69 67 32 2f 62 69 74 | 6d 61 70 2f 6b 69 6c 6c |dig2/bit|map/kill|
|00005da0| 2e 62 69 74 73 27 5c 22 | 0a 65 6c 73 65 0a 65 63 |.bits'\"|.else.ec|
|00005db0| 68 6f 20 73 68 61 72 3a | 20 45 78 74 72 61 63 74 |ho shar:| Extract|
|00005dc0| 69 6e 67 20 5c 22 27 67 | 6f 6c 64 64 69 67 32 2f |ing \"'g|olddig2/|
|00005dd0| 62 69 74 6d 61 70 2f 6b | 69 6c 6c 2e 62 69 74 73 |bitmap/k|ill.bits|
|00005de0| 27 5c 22 20 5c 28 32 37 | 35 20 63 68 61 72 61 63 |'\" \(27|5 charac|
|00005df0| 74 65 72 73 5c 29 0a 73 | 65 64 20 22 73 2f 5e 58 |ters\).s|ed "s/^X|
|00005e00| 2f 2f 22 20 3e 27 67 6f | 6c 64 64 69 67 32 2f 62 |//" >'go|lddig2/b|
|00005e10| 69 74 6d 61 70 2f 6b 69 | 6c 6c 2e 62 69 74 73 27 |itmap/ki|ll.bits'|
|00005e20| 20 3c 3c 27 45 4e 44 5f | 4f 46 5f 46 49 4c 45 27 | <<'END_|OF_FILE'|
|00005e30| 0a 58 23 64 65 66 69 6e | 65 20 6b 69 6c 6c 5f 77 |.X#defin|e kill_w|
|00005e40| 69 64 74 68 20 31 36 0a | 58 23 64 65 66 69 6e 65 |idth 16.|X#define|
|00005e50| 20 6b 69 6c 6c 5f 68 65 | 69 67 68 74 20 31 36 0a | kill_he|ight 16.|
|00005e60| 58 73 74 61 74 69 63 20 | 63 68 61 72 20 6b 69 6c |Xstatic |char kil|
|00005e70| 6c 5f 62 69 74 73 5b 5d | 20 3d 20 7b 0a 58 20 20 |l_bits[]| = {.X |
|00005e80| 20 30 78 30 30 2c 20 30 | 78 30 30 2c 20 30 78 33 | 0x00, 0|x00, 0x3|
|00005e90| 30 2c 20 30 78 30 34 2c | 20 30 78 63 30 2c 20 30 |0, 0x04,| 0xc0, 0|
|00005ea0| 78 30 38 2c 20 30 78 30 | 30 2c 20 30 78 30 39 2c |x08, 0x0|0, 0x09,|
|00005eb0| 20 30 78 64 63 2c 20 30 | 78 34 62 2c 20 30 78 65 | 0xdc, 0|x4b, 0xe|
|00005ec0| 32 2c 20 30 78 34 37 2c | 0a 58 20 20 20 30 78 66 |2, 0x47,|.X 0xf|
|00005ed0| 30 2c 20 30 78 32 65 2c | 20 30 78 33 38 2c 20 30 |0, 0x2e,| 0x38, 0|
|00005ee0| 78 32 65 2c 20 30 78 37 | 34 2c 20 30 78 31 63 2c |x2e, 0x7|4, 0x1c,|
|00005ef0| 20 30 78 37 34 2c 20 30 | 78 30 66 2c 20 30 78 65 | 0x74, 0|x0f, 0xe|
|00005f00| 32 2c 20 30 78 34 37 2c | 20 30 78 64 32 2c 20 30 |2, 0x47,| 0xd2, 0|
|00005f10| 78 33 62 2c 0a 58 20 20 | 20 30 78 39 30 2c 20 30 |x3b,.X | 0x90, 0|
|00005f20| 78 30 30 2c 20 30 78 31 | 30 2c 20 30 78 30 33 2c |x00, 0x1|0, 0x03,|
|00005f30| 20 30 78 32 30 2c 20 30 | 78 30 63 2c 20 30 78 30 | 0x20, 0|x0c, 0x0|
|00005f40| 30 2c 20 30 78 30 30 7d | 3b 0a 45 4e 44 5f 4f 46 |0, 0x00}|;.END_OF|
|00005f50| 5f 46 49 4c 45 0a 69 66 | 20 74 65 73 74 20 32 37 |_FILE.if| test 27|
|00005f60| 35 20 2d 6e 65 20 60 77 | 63 20 2d 63 20 3c 27 67 |5 -ne `w|c -c <'g|
|00005f70| 6f 6c 64 64 69 67 32 2f | 62 69 74 6d 61 70 2f 6b |olddig2/|bitmap/k|
|00005f80| 69 6c 6c 2e 62 69 74 73 | 27 60 3b 20 74 68 65 6e |ill.bits|'`; then|
|00005f90| 0a 20 20 20 20 65 63 68 | 6f 20 73 68 61 72 3a 20 |. ech|o shar: |
|00005fa0| 5c 22 27 67 6f 6c 64 64 | 69 67 32 2f 62 69 74 6d |\"'goldd|ig2/bitm|
|00005fb0| 61 70 2f 6b 69 6c 6c 2e | 62 69 74 73 27 5c 22 20 |ap/kill.|bits'\" |
|00005fc0| 75 6e 70 61 63 6b 65 64 | 20 77 69 74 68 20 77 72 |unpacked| with wr|
|00005fd0| 6f 6e 67 20 73 69 7a 65 | 21 0a 66 69 0a 23 20 65 |ong size|!.fi.# e|
|00005fe0| 6e 64 20 6f 66 20 27 67 | 6f 6c 64 64 69 67 32 2f |nd of 'g|olddig2/|
|00005ff0| 62 69 74 6d 61 70 2f 6b | 69 6c 6c 2e 62 69 74 73 |bitmap/k|ill.bits|
|00006000| 27 0a 66 69 0a 69 66 20 | 74 65 73 74 20 2d 66 20 |'.fi.if |test -f |
|00006010| 27 67 6f 6c 64 64 69 67 | 32 2f 62 69 74 6d 61 70 |'golddig|2/bitmap|
|00006020| 2f 6c 61 64 64 65 72 2e | 62 69 74 73 27 20 2d 61 |/ladder.|bits' -a|
|00006030| 20 22 24 7b 31 7d 22 20 | 21 3d 20 22 2d 63 22 20 | "${1}" |!= "-c" |
|00006040| 3b 20 74 68 65 6e 20 0a | 20 20 65 63 68 6f 20 73 |; then .| echo s|
|00006050| 68 61 72 3a 20 57 69 6c | 6c 20 6e 6f 74 20 63 6c |har: Wil|l not cl|
|00006060| 6f 62 62 65 72 20 65 78 | 69 73 74 69 6e 67 20 66 |obber ex|isting f|
|00006070| 69 6c 65 20 5c 22 27 67 | 6f 6c 64 64 69 67 32 2f |ile \"'g|olddig2/|
|00006080| 62 69 74 6d 61 70 2f 6c | 61 64 64 65 72 2e 62 69 |bitmap/l|adder.bi|
|00006090| 74 73 27 5c 22 0a 65 6c | 73 65 0a 65 63 68 6f 20 |ts'\".el|se.echo |
|000060a0| 73 68 61 72 3a 20 45 78 | 74 72 61 63 74 69 6e 67 |shar: Ex|tracting|
|000060b0| 20 5c 22 27 67 6f 6c 64 | 64 69 67 32 2f 62 69 74 | \"'gold|dig2/bit|
|000060c0| 6d 61 70 2f 6c 61 64 64 | 65 72 2e 62 69 74 73 27 |map/ladd|er.bits'|
|000060d0| 5c 22 20 5c 28 32 38 31 | 20 63 68 61 72 61 63 74 |\" \(281| charact|
|000060e0| 65 72 73 5c 29 0a 73 65 | 64 20 22 73 2f 5e 58 2f |ers\).se|d "s/^X/|
|000060f0| 2f 22 20 3e 27 67 6f 6c | 64 64 69 67 32 2f 62 69 |/" >'gol|ddig2/bi|
|00006100| 74 6d 61 70 2f 6c 61 64 | 64 65 72 2e 62 69 74 73 |tmap/lad|der.bits|
|00006110| 27 20 3c 3c 27 45 4e 44 | 5f 4f 46 5f 46 49 4c 45 |' <<'END|_OF_FILE|
|00006120| 27 0a 58 23 64 65 66 69 | 6e 65 20 6c 61 64 64 65 |'.X#defi|ne ladde|
|00006130| 72 5f 77 69 64 74 68 20 | 31 36 0a 58 23 64 65 66 |r_width |16.X#def|
|00006140| 69 6e 65 20 6c 61 64 64 | 65 72 5f 68 65 69 67 68 |ine ladd|er_heigh|
|00006150| 74 20 31 36 0a 58 73 74 | 61 74 69 63 20 63 68 61 |t 16.Xst|atic cha|
|00006160| 72 20 6c 61 64 64 65 72 | 5f 62 69 74 73 5b 5d 20 |r ladder|_bits[] |
|00006170| 3d 20 7b 0a 58 20 20 20 | 30 78 66 63 2c 20 30 78 |= {.X |0xfc, 0x|
|00006180| 33 66 2c 20 30 78 31 34 | 2c 20 30 78 32 38 2c 20 |3f, 0x14|, 0x28, |
|00006190| 30 78 31 34 2c 20 30 78 | 32 38 2c 20 30 78 31 34 |0x14, 0x|28, 0x14|
|000061a0| 2c 20 30 78 32 38 2c 20 | 30 78 66 34 2c 20 30 78 |, 0x28, |0xf4, 0x|
|000061b0| 32 66 2c 20 30 78 31 34 | 2c 20 30 78 32 38 2c 0a |2f, 0x14|, 0x28,.|
|000061c0| 58 20 20 20 30 78 31 34 | 2c 20 30 78 32 38 2c 20 |X 0x14|, 0x28, |
|000061d0| 30 78 31 34 2c 20 30 78 | 32 38 2c 20 30 78 66 34 |0x14, 0x|28, 0xf4|
|000061e0| 2c 20 30 78 32 66 2c 20 | 30 78 31 34 2c 20 30 78 |, 0x2f, |0x14, 0x|
|000061f0| 32 38 2c 20 30 78 31 34 | 2c 20 30 78 32 38 2c 20 |28, 0x14|, 0x28, |
|00006200| 30 78 31 34 2c 20 30 78 | 32 38 2c 0a 58 20 20 20 |0x14, 0x|28,.X |
|00006210| 30 78 66 34 2c 20 30 78 | 32 66 2c 20 30 78 31 34 |0xf4, 0x|2f, 0x14|
|00006220| 2c 20 30 78 32 38 2c 20 | 30 78 31 34 2c 20 30 78 |, 0x28, |0x14, 0x|
|00006230| 32 38 2c 20 30 78 31 63 | 2c 20 30 78 33 38 7d 3b |28, 0x1c|, 0x38};|
|00006240| 0a 45 4e 44 5f 4f 46 5f | 46 49 4c 45 0a 69 66 20 |.END_OF_|FILE.if |
|00006250| 74 65 73 74 20 32 38 31 | 20 2d 6e 65 20 60 77 63 |test 281| -ne `wc|
|00006260| 20 2d 63 20 3c 27 67 6f | 6c 64 64 69 67 32 2f 62 | -c <'go|lddig2/b|
|00006270| 69 74 6d 61 70 2f 6c 61 | 64 64 65 72 2e 62 69 74 |itmap/la|dder.bit|
|00006280| 73 27 60 3b 20 74 68 65 | 6e 0a 20 20 20 20 65 63 |s'`; the|n. ec|
|00006290| 68 6f 20 73 68 61 72 3a | 20 5c 22 27 67 6f 6c 64 |ho shar:| \"'gold|
|000062a0| 64 69 67 32 2f 62 69 74 | 6d 61 70 2f 6c 61 64 64 |dig2/bit|map/ladd|
|000062b0| 65 72 2e 62 69 74 73 27 | 5c 22 20 75 6e 70 61 63 |er.bits'|\" unpac|
|000062c0| 6b 65 64 20 77 69 74 68 | 20 77 72 6f 6e 67 20 73 |ked with| wrong s|
|000062d0| 69 7a 65 21 0a 66 69 0a | 23 20 65 6e 64 20 6f 66 |ize!.fi.|# end of|
|000062e0| 20 27 67 6f 6c 64 64 69 | 67 32 2f 62 69 74 6d 61 | 'golddi|g2/bitma|
|000062f0| 70 2f 6c 61 64 64 65 72 | 2e 62 69 74 73 27 0a 66 |p/ladder|.bits'.f|
|00006300| 69 0a 69 66 20 74 65 73 | 74 20 2d 66 20 27 67 6f |i.if tes|t -f 'go|
|00006310| 6c 64 64 69 67 32 2f 62 | 69 74 6d 61 70 2f 6c 61 |lddig2/b|itmap/la|
|00006320| 72 72 6f 77 2e 62 69 74 | 73 27 20 2d 61 20 22 24 |rrow.bit|s' -a "$|
|00006330| 7b 31 7d 22 20 21 3d 20 | 22 2d 63 22 20 3b 20 74 |{1}" != |"-c" ; t|
|00006340| 68 65 6e 20 0a 20 20 65 | 63 68 6f 20 73 68 61 72 |hen . e|cho shar|
|00006350| 3a 20 57 69 6c 6c 20 6e | 6f 74 20 63 6c 6f 62 62 |: Will n|ot clobb|
|00006360| 65 72 20 65 78 69 73 74 | 69 6e 67 20 66 69 6c 65 |er exist|ing file|
|00006370| 20 5c 22 27 67 6f 6c 64 | 64 69 67 32 2f 62 69 74 | \"'gold|dig2/bit|
|00006380| 6d 61 70 2f 6c 61 72 72 | 6f 77 2e 62 69 74 73 27 |map/larr|ow.bits'|
|00006390| 5c 22 0a 65 6c 73 65 0a | 65 63 68 6f 20 73 68 61 |\".else.|echo sha|
|000063a0| 72 3a 20 45 78 74 72 61 | 63 74 69 6e 67 20 5c 22 |r: Extra|cting \"|
|000063b0| 27 67 6f 6c 64 64 69 67 | 32 2f 62 69 74 6d 61 70 |'golddig|2/bitmap|
|000063c0| 2f 6c 61 72 72 6f 77 2e | 62 69 74 73 27 5c 22 20 |/larrow.|bits'\" |
|000063d0| 5c 28 33 32 39 20 63 68 | 61 72 61 63 74 65 72 73 |\(329 ch|aracters|
|000063e0| 5c 29 0a 73 65 64 20 22 | 73 2f 5e 58 2f 2f 22 20 |\).sed "|s/^X//" |
|000063f0| 3e 27 67 6f 6c 64 64 69 | 67 32 2f 62 69 74 6d 61 |>'golddi|g2/bitma|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.