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: part18
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 7a 65 70 68 |Path: uu|net!zeph|
|00000010| 79 72 2e 65 6e 73 2e 74 | 65 6b 2e 63 6f 6d 21 74 |yr.ens.t|ek.com!t|
|00000020| 65 6b 72 65 64 21 73 61 | 61 62 21 62 69 6c 6c 72 |ekred!sa|ab!billr|
|00000030| 0a 46 72 6f 6d 3a 20 62 | 69 6c 6c 72 40 73 61 61 |.From: b|illr@saa|
|00000040| 62 2e 43 4e 41 2e 54 45 | 4b 2e 43 4f 4d 20 28 42 |b.CNA.TE|K.COM (B|
|00000050| 69 6c 6c 20 52 61 6e 64 | 6c 65 29 0a 4e 65 77 73 |ill Rand|le).News|
|00000060| 67 72 6f 75 70 73 3a 20 | 63 6f 6d 70 2e 73 6f 75 |groups: |comp.sou|
|00000070| 72 63 65 73 2e 67 61 6d | 65 73 0a 53 75 62 6a 65 |rces.gam|es.Subje|
|00000080| 63 74 3a 20 76 30 39 69 | 30 37 33 3a 20 20 75 6d |ct: v09i|073: um|
|00000090| 6f 72 69 61 33 20 2d 20 | 73 69 6e 67 6c 65 20 70 |oria3 - |single p|
|000000a0| 6c 61 79 65 72 20 64 75 | 6e 67 65 6f 6e 20 73 69 |layer du|ngeon si|
|000000b0| 6d 75 6c 61 74 69 6f 6e | 20 28 76 65 72 2e 20 35 |mulation| (ver. 5|
|000000c0| 2e 32 29 2c 20 50 61 72 | 74 31 38 2f 33 31 0a 4d |.2), Par|t18/31.M|
|000000d0| 65 73 73 61 67 65 2d 49 | 44 3a 20 3c 35 36 30 38 |essage-I|D: <5608|
|000000e0| 40 74 65 6b 72 65 64 2e | 43 4e 41 2e 54 45 4b 2e |@tekred.|CNA.TEK.|
|000000f0| 43 4f 4d 3e 0a 44 61 74 | 65 3a 20 31 37 20 4d 61 |COM>.Dat|e: 17 Ma|
|00000100| 79 20 39 30 20 31 36 3a | 32 33 3a 31 33 20 47 4d |y 90 16:|23:13 GM|
|00000110| 54 0a 53 65 6e 64 65 72 | 3a 20 6e 65 77 73 40 74 |T.Sender|: news@t|
|00000120| 65 6b 72 65 64 2e 43 4e | 41 2e 54 45 4b 2e 43 4f |ekred.CN|A.TEK.CO|
|00000130| 4d 0a 4c 69 6e 65 73 3a | 20 31 33 39 34 0a 41 70 |M.Lines:| 1394.Ap|
|00000140| 70 72 6f 76 65 64 3a 20 | 62 69 6c 6c 72 40 73 61 |proved: |billr@sa|
|00000150| 61 62 2e 43 4e 41 2e 54 | 45 4b 2e 43 4f 4d 0a 0a |ab.CNA.T|EK.COM..|
|00000160| 53 75 62 6d 69 74 74 65 | 64 2d 62 79 3a 20 77 69 |Submitte|d-by: wi|
|00000170| 6c 73 6f 6e 40 65 72 6e | 69 65 2e 42 65 72 6b 65 |lson@ern|ie.Berke|
|00000180| 6c 65 79 2e 45 44 55 20 | 28 4a 69 6d 20 57 69 6c |ley.EDU |(Jim Wil|
|00000190| 73 6f 6e 29 0a 50 6f 73 | 74 69 6e 67 2d 6e 75 6d |son).Pos|ting-num|
|000001a0| 62 65 72 3a 20 56 6f 6c | 75 6d 65 20 39 2c 20 49 |ber: Vol|ume 9, I|
|000001b0| 73 73 75 65 20 37 33 0a | 41 72 63 68 69 76 65 2d |ssue 73.|Archive-|
|000001c0| 6e 61 6d 65 3a 20 75 6d | 6f 72 69 61 33 2f 50 61 |name: um|oria3/Pa|
|000001d0| 72 74 31 38 0a 53 75 70 | 65 72 73 65 64 65 73 3a |rt18.Sup|ersedes:|
|000001e0| 20 75 6d 6f 72 69 61 32 | 3a 20 56 6f 6c 75 6d 65 | umoria2|: Volume|
|000001f0| 20 35 2c 20 49 73 73 75 | 65 20 33 32 2d 33 37 2c | 5, Issu|e 32-37,|
|00000200| 34 31 2d 35 32 2c 38 37 | 0a 0a 0a 0a 23 21 20 2f |41-52,87|....#! /|
|00000210| 62 69 6e 2f 73 68 0a 23 | 20 54 68 69 73 20 69 73 |bin/sh.#| This is|
|00000220| 20 61 20 73 68 65 6c 6c | 20 61 72 63 68 69 76 65 | a shell| archive|
|00000230| 2e 20 20 52 65 6d 6f 76 | 65 20 61 6e 79 74 68 69 |. Remov|e anythi|
|00000240| 6e 67 20 62 65 66 6f 72 | 65 20 74 68 69 73 20 6c |ng befor|e this l|
|00000250| 69 6e 65 2c 20 74 68 65 | 6e 20 75 6e 70 61 63 6b |ine, the|n unpack|
|00000260| 0a 23 20 69 74 20 62 79 | 20 73 61 76 69 6e 67 20 |.# it by| saving |
|00000270| 69 74 20 69 6e 74 6f 20 | 61 20 66 69 6c 65 20 61 |it into |a file a|
|00000280| 6e 64 20 74 79 70 69 6e | 67 20 22 73 68 20 66 69 |nd typin|g "sh fi|
|00000290| 6c 65 22 2e 20 20 54 6f | 20 6f 76 65 72 77 72 69 |le". To| overwri|
|000002a0| 74 65 20 65 78 69 73 74 | 69 6e 67 0a 23 20 66 69 |te exist|ing.# fi|
|000002b0| 6c 65 73 2c 20 74 79 70 | 65 20 22 73 68 20 66 69 |les, typ|e "sh fi|
|000002c0| 6c 65 20 2d 63 22 2e 20 | 20 59 6f 75 20 63 61 6e |le -c". | You can|
|000002d0| 20 61 6c 73 6f 20 66 65 | 65 64 20 74 68 69 73 20 | also fe|ed this |
|000002e0| 61 73 20 73 74 61 6e 64 | 61 72 64 20 69 6e 70 75 |as stand|ard inpu|
|000002f0| 74 20 76 69 61 0a 23 20 | 75 6e 73 68 61 72 2c 20 |t via.# |unshar, |
|00000300| 6f 72 20 62 79 20 74 79 | 70 69 6e 67 20 22 73 68 |or by ty|ping "sh|
|00000310| 20 3c 66 69 6c 65 22 2c | 20 65 2e 67 2e 2e 20 20 | <file",| e.g.. |
|00000320| 49 66 20 74 68 69 73 20 | 61 72 63 68 69 76 65 20 |If this |archive |
|00000330| 69 73 20 63 6f 6d 70 6c | 65 74 65 2c 20 79 6f 75 |is compl|ete, you|
|00000340| 0a 23 20 77 69 6c 6c 20 | 73 65 65 20 74 68 65 20 |.# will |see the |
|00000350| 66 6f 6c 6c 6f 77 69 6e | 67 20 6d 65 73 73 61 67 |followin|g messag|
|00000360| 65 20 61 74 20 74 68 65 | 20 65 6e 64 3a 0a 23 09 |e at the| end:.#.|
|00000370| 09 22 45 6e 64 20 6f 66 | 20 61 72 63 68 69 76 65 |."End of| archive|
|00000380| 20 31 38 20 28 6f 66 20 | 33 31 29 2e 22 0a 23 20 | 18 (of |31).".# |
|00000390| 43 6f 6e 74 65 6e 74 73 | 3a 20 20 43 48 41 4e 47 |Contents|: CHANG|
|000003a0| 45 53 20 64 6f 63 2f 6d | 6f 72 69 61 2e 6d 61 6e |ES doc/m|oria.man|
|000003b0| 20 73 6f 75 72 63 65 2f | 63 6f 6e 73 74 61 6e 74 | source/|constant|
|000003c0| 2e 68 0a 23 20 57 72 61 | 70 70 65 64 20 62 79 20 |.h.# Wra|pped by |
|000003d0| 62 69 6c 6c 72 40 73 61 | 61 62 20 6f 6e 20 57 65 |billr@sa|ab on We|
|000003e0| 64 20 4d 61 79 20 31 36 | 20 31 31 3a 35 34 3a 33 |d May 16| 11:54:3|
|000003f0| 31 20 31 39 39 30 0a 50 | 41 54 48 3d 2f 62 69 6e |1 1990.P|ATH=/bin|
|00000400| 3a 2f 75 73 72 2f 62 69 | 6e 3a 2f 75 73 72 2f 75 |:/usr/bi|n:/usr/u|
|00000410| 63 62 20 3b 20 65 78 70 | 6f 72 74 20 50 41 54 48 |cb ; exp|ort PATH|
|00000420| 0a 69 66 20 74 65 73 74 | 20 2d 66 20 27 43 48 41 |.if test| -f 'CHA|
|00000430| 4e 47 45 53 27 20 2d 61 | 20 22 24 7b 31 7d 22 20 |NGES' -a| "${1}" |
|00000440| 21 3d 20 22 2d 63 22 20 | 3b 20 74 68 65 6e 20 0a |!= "-c" |; then .|
|00000450| 20 20 65 63 68 6f 20 73 | 68 61 72 3a 20 57 69 6c | echo s|har: Wil|
|00000460| 6c 20 6e 6f 74 20 63 6c | 6f 62 62 65 72 20 65 78 |l not cl|obber ex|
|00000470| 69 73 74 69 6e 67 20 66 | 69 6c 65 20 5c 22 27 43 |isting f|ile \"'C|
|00000480| 48 41 4e 47 45 53 27 5c | 22 0a 65 6c 73 65 0a 65 |HANGES'\|".else.e|
|00000490| 63 68 6f 20 73 68 61 72 | 3a 20 45 78 74 72 61 63 |cho shar|: Extrac|
|000004a0| 74 69 6e 67 20 5c 22 27 | 43 48 41 4e 47 45 53 27 |ting \"'|CHANGES'|
|000004b0| 5c 22 20 5c 28 33 33 36 | 30 31 20 63 68 61 72 61 |\" \(336|01 chara|
|000004c0| 63 74 65 72 73 5c 29 0a | 73 65 64 20 22 73 2f 5e |cters\).|sed "s/^|
|000004d0| 58 2f 2f 22 20 3e 27 43 | 48 41 4e 47 45 53 27 20 |X//" >'C|HANGES' |
|000004e0| 3c 3c 27 45 4e 44 5f 4f | 46 5f 46 49 4c 45 27 0a |<<'END_O|F_FILE'.|
|000004f0| 58 3a 3a 3a 3a 3a 3a 3a | 20 31 39 39 30 20 3a 3a |X:::::::| 1990 ::|
|00000500| 3a 3a 3a 3a 3a 3a 0a 58 | 2d 2d 2d 2d 2d 2d 2d 2d |::::::.X|--------|
|00000510| 2d 2d 2d 2d 20 31 2f 31 | 0a 58 63 72 65 61 74 75 |---- 1/1|.Xcreatu|
|00000520| 72 65 73 2e 63 3a 20 69 | 6e 20 6d 6f 6e 5f 63 61 |res.c: i|n mon_ca|
|00000530| 73 74 5f 73 70 65 6c 6c | 28 29 2c 20 6d 75 73 74 |st_spell|(), must|
|00000540| 20 75 70 64 61 74 65 5f | 6d 6f 6e 28 29 20 74 6f | update_|mon() to|
|00000550| 20 6c 69 67 68 74 20 6d | 6f 6e 73 74 65 72 73 20 | light m|onsters |
|00000560| 62 65 66 6f 72 65 0a 58 | 09 74 68 65 79 20 63 61 |before.X|.they ca|
|00000570| 73 74 20 61 20 73 70 65 | 6c 6c 0a 58 2d 2d 2d 2d |st a spe|ll.X----|
|00000580| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 20 31 2f 32 0a 58 6d |--------|- 1/2.Xm|
|00000590| 6f 72 69 61 31 2e 63 3a | 20 69 6e 76 65 6e 5f 63 |oria1.c:| inven_c|
|000005a0| 6f 6d 6d 61 6e 64 28 29 | 2c 20 63 6f 75 6c 64 20 |ommand()|, could |
|000005b0| 6e 6f 74 20 77 65 61 72 | 20 69 74 65 6d 20 77 68 |not wear| item wh|
|000005c0| 69 63 68 20 72 65 70 6c | 61 63 65 64 20 65 71 75 |ich repl|aced equ|
|000005d0| 69 70 20 69 74 65 6d 20 | 69 66 0a 58 09 69 6e 76 |ip item |if.X.inv|
|000005e0| 65 6e 20 66 75 6c 6c 2c | 20 6f 6e 6c 79 20 66 61 |en full,| only fa|
|000005f0| 69 6c 20 69 66 20 69 6e | 76 65 6e 5f 63 68 65 63 |il if in|ven_chec|
|00000600| 6b 5f 6e 75 6d 20 66 61 | 69 6c 73 20 66 6f 72 20 |k_num fa|ils for |
|00000610| 74 6f 72 63 68 65 73 0a | 58 6d 69 73 63 32 2e 63 |torches.|Xmisc2.c|
|00000620| 3a 20 63 68 61 6e 67 65 | 20 73 70 61 63 69 6e 67 |: change| spacing|
|00000630| 20 66 6f 72 20 73 74 61 | 74 73 20 6f 6e 20 63 68 | for sta|ts on ch|
|00000640| 61 6e 67 65 5f 63 68 61 | 72 61 63 74 65 72 20 70 |ange_cha|racter p|
|00000650| 61 67 65 2c 20 77 61 73 | 20 70 72 69 6e 74 69 6e |age, was| printin|
|00000660| 67 20 69 6e 0a 58 09 6c | 61 73 74 20 63 6f 6c 75 |g in.X.l|ast colu|
|00000670| 6d 6e 20 66 6f 72 20 6d | 61 78 20 73 74 61 74 0a |mn for m|ax stat.|
|00000680| 58 6d 6f 72 69 61 32 2e | 63 3a 20 74 75 6e 6e 65 |Xmoria2.|c: tunne|
|00000690| 6c 28 29 2c 20 69 66 20 | 6e 6f 20 73 68 6f 76 65 |l(), if |no shove|
|000006a0| 6c 2f 70 69 63 6b 2c 20 | 64 69 76 69 64 65 20 74 |l/pick, |divide t|
|000006b0| 6f 74 61 6c 20 74 61 62 | 69 6c 20 63 68 61 6e 63 |otal tab|il chanc|
|000006c0| 65 20 62 79 20 74 77 6f | 0a 58 6d 6f 6e 73 74 65 |e by two|.Xmonste|
|000006d0| 72 73 2e 63 3a 20 63 68 | 61 6e 67 65 20 65 79 65 |rs.c: ch|ange eye|
|000006e0| 2d 73 69 67 68 74 20 61 | 6e 64 20 73 6c 65 65 70 |-sight a|nd sleep|
|000006f0| 20 76 61 6c 75 65 73 20 | 66 6f 72 20 63 6f 6e 73 | values |for cons|
|00000700| 69 73 74 65 6e 63 79 2c | 20 61 73 20 6e 6f 74 65 |istency,| as note|
|00000710| 64 20 62 79 0a 58 09 64 | 6a 67 72 61 62 69 6e 0a |d by.X.d|jgrabin.|
|00000720| 58 68 65 6c 70 2e 63 3a | 20 63 68 61 6e 67 65 20 |Xhelp.c:| change |
|00000730| 74 68 65 20 6d 6f 6e 73 | 74 65 72 20 72 65 63 61 |the mons|ter reca|
|00000740| 6c 6c 20 73 6f 20 74 68 | 61 74 20 69 74 20 6c 69 |ll so th|at it li|
|00000750| 73 74 73 20 68 69 67 68 | 20 6c 65 76 65 6c 20 6d |sts high| level m|
|00000760| 6f 6e 73 74 65 72 73 20 | 66 69 72 73 74 0a 58 63 |onsters |first.Xc|
|00000770| 72 65 61 74 75 72 65 2e | 63 3a 20 77 68 65 6e 20 |reature.|c: when |
|00000780| 6d 6f 6e 73 74 65 72 20 | 62 61 73 68 65 73 20 64 |monster |bashes d|
|00000790| 6f 77 6e 20 61 20 64 6f | 6f 72 2c 20 63 61 6c 6c |own a do|or, call|
|000007a0| 20 64 69 73 74 75 72 62 | 28 29 20 74 6f 20 68 61 | disturb|() to ha|
|000007b0| 6c 74 20 72 65 73 74 69 | 6e 67 0a 58 69 6f 2e 63 |lt resti|ng.Xio.c|
|000007c0| 3a 20 66 69 78 20 6d 73 | 67 5f 70 72 69 6e 74 28 |: fix ms|g_print(|
|000007d0| 29 20 73 6f 20 74 68 61 | 74 20 2d 6d 6f 72 65 2d |) so tha|t -more-|
|000007e0| 20 69 73 20 61 6c 77 61 | 79 73 20 70 72 69 6e 74 | is alwa|ys print|
|000007f0| 65 64 20 6f 6e 20 73 63 | 72 65 65 6e 2c 20 66 69 |ed on sc|reen, fi|
|00000800| 78 0a 58 09 70 75 74 5f | 62 75 66 66 65 72 28 29 |x.X.put_|buffer()|
|00000810| 20 73 6f 20 74 68 61 74 | 20 64 6f 65 73 20 6e 6f | so that| does no|
|00000820| 74 20 66 61 69 6c 20 69 | 66 20 63 6f 6c 20 61 72 |t fail i|f col ar|
|00000830| 67 75 6d 65 6e 74 20 67 | 72 65 61 74 65 72 20 74 |gument g|reater t|
|00000840| 68 61 6e 20 37 39 2f 38 | 30 0a 58 6d 69 73 63 31 |han 79/8|0.Xmisc1|
|00000850| 2e 63 3a 20 63 68 61 6e | 67 65 20 63 68 61 6e 63 |.c: chan|ge chanc|
|00000860| 65 20 66 6f 72 20 65 67 | 6f 20 77 65 61 70 6f 6e |e for eg|o weapon|
|00000870| 73 2f 6d 69 73 73 69 6c | 65 73 20 74 6f 20 33 2a |s/missil|es to 3*|
|00000880| 73 70 65 63 69 61 6c 2f | 32 20 69 6e 73 74 65 61 |special/|2 instea|
|00000890| 64 20 6f 66 0a 58 09 6a | 75 73 74 20 73 70 65 63 |d of.X.j|ust spec|
|000008a0| 69 61 6c 2c 20 6e 65 65 | 64 65 64 20 62 65 63 61 |ial, nee|ded beca|
|000008b0| 75 73 65 20 74 72 65 61 | 73 75 72 65 20 64 69 73 |use trea|sure dis|
|000008c0| 74 72 69 62 75 74 69 6f | 6e 20 63 68 61 6e 67 65 |tributio|n change|
|000008d0| 20 68 61 73 20 6d 61 64 | 65 0a 58 09 65 67 6f 20 | has mad|e.X.ego |
|000008e0| 77 65 61 70 6f 6e 73 20 | 6e 6f 74 20 61 73 20 63 |weapons |not as c|
|000008f0| 6f 6d 6d 6f 6e 20 61 73 | 20 62 65 66 6f 72 65 0a |ommon as| before.|
|00000900| 58 2d 2d 2d 2d 2d 2d 2d | 2d 2d 20 31 2f 31 31 0a |X-------|-- 1/11.|
|00000910| 58 6d 6f 6e 73 74 65 72 | 73 2e 63 3a 20 6c 65 74 |Xmonster|s.c: let|
|00000920| 20 6e 65 74 68 65 72 20 | 77 72 61 69 74 68 20 70 | nether |wraith p|
|00000930| 68 61 73 65 2c 20 73 65 | 74 20 42 6c 61 63 6b 2f |hase, se|t Black/|
|00000940| 52 65 64 2f 4d 75 6c 74 | 69 20 61 6e 63 69 65 6e |Red/Mult|i ancien|
|00000950| 74 20 64 72 61 67 6f 6e | 73 0a 58 09 74 6f 20 61 |t dragon|s.X.to a|
|00000960| 20 73 6c 65 65 70 20 76 | 61 6c 75 65 20 6f 66 20 | sleep v|alue of |
|00000970| 37 30 30 0a 58 63 72 65 | 61 74 75 72 65 2e 63 3a |700.Xcre|ature.c:|
|00000980| 20 69 6e 63 72 65 61 73 | 65 20 72 5f 61 74 74 61 | increas|e r_atta|
|00000990| 63 6b 73 20 69 66 20 65 | 69 74 68 65 72 20 6e 6f |cks if e|ither no|
|000009a0| 74 69 63 65 20 74 72 75 | 65 20 6f 72 20 72 5f 61 |tice tru|e or r_a|
|000009b0| 74 74 61 63 6b 73 20 69 | 73 0a 58 09 6e 6f 6e 7a |ttacks i|s.X.nonz|
|000009c0| 65 72 6f 20 28 69 2e 65 | 2e 20 69 74 20 68 61 73 |ero (i.e|. it has|
|000009d0| 20 62 65 65 6e 20 6e 6f | 74 69 63 65 64 20 62 65 | been no|ticed be|
|000009e0| 66 6f 72 65 29 0a 58 6d | 6f 72 69 61 32 2e 63 3a |fore).Xm|oria2.c:|
|000009f0| 20 6d 6f 76 65 5f 63 68 | 61 72 28 29 2c 20 77 68 | move_ch|ar(), wh|
|00000a00| 65 6e 20 73 74 65 70 20 | 62 61 63 6b 20 61 66 74 |en step |back aft|
|00000a10| 65 72 20 73 65 74 74 69 | 6e 67 20 6f 66 66 20 61 |er setti|ng off a|
|00000a20| 20 66 61 6c 6c 69 6e 67 | 20 72 6f 63 6b 20 74 72 | falling| rock tr|
|00000a30| 61 70 2c 0a 58 09 63 68 | 65 63 6b 20 74 6f 20 73 |ap,.X.ch|eck to s|
|00000a40| 65 65 20 69 66 20 68 61 | 76 65 20 73 74 65 70 70 |ee if ha|ve stepp|
|00000a50| 65 64 20 62 61 63 6b 20 | 6f 6e 74 6f 20 61 6e 6f |ed back |onto ano|
|00000a60| 74 68 65 72 20 74 72 61 | 70 0a 58 6d 6f 72 69 61 |ther tra|p.Xmoria|
|00000a70| 31 2e 63 3a 20 69 6e 76 | 65 6e 5f 63 6f 6d 6d 61 |1.c: inv|en_comma|
|00000a80| 6e 64 28 29 2c 20 77 68 | 65 6e 20 72 65 73 74 61 |nd(), wh|en resta|
|00000a90| 72 74 20 69 74 20 61 66 | 74 65 72 20 74 61 6b 69 |rt it af|ter taki|
|00000aa0| 6e 67 20 6f 66 66 20 61 | 6e 20 69 74 65 6d 2c 20 |ng off a|n item, |
|00000ab0| 64 6f 6e 27 74 0a 58 09 | 70 72 69 6e 74 20 74 68 |don't.X.|print th|
|00000ac0| 65 20 27 68 61 76 65 20 | 74 6f 20 64 72 6f 70 20 |e 'have |to drop |
|00000ad0| 73 6f 6d 65 74 68 69 6e | 67 27 20 6d 65 73 73 61 |somethin|g' messa|
|00000ae0| 67 65 20 62 65 63 61 75 | 73 65 20 74 68 61 74 20 |ge becau|se that |
|00000af0| 69 73 20 63 6f 6e 66 75 | 73 69 6e 67 0a 58 6d 69 |is confu|sing.Xmi|
|00000b00| 73 63 32 2e 63 3a 20 6d | 6f 64 69 66 79 5f 73 74 |sc2.c: m|odify_st|
|00000b10| 61 74 28 29 2c 20 63 6f | 75 6c 64 20 6f 76 65 72 |at(), co|uld over|
|00000b20| 66 6c 6f 77 20 31 31 38 | 20 77 68 65 6e 20 69 6e |flow 118| when in|
|00000b30| 63 72 65 61 73 69 6e 67 | 20 73 74 61 74 73 2c 20 |creasing| stats, |
|00000b40| 61 64 64 20 65 78 74 72 | 61 0a 58 09 63 61 73 65 |add extr|a.X.case|
|00000b50| 20 74 6f 20 65 6e 66 6f | 72 63 65 20 6d 61 78 20 | to enfo|rce max |
|00000b60| 6f 66 20 31 31 38 0a 58 | 2d 2d 2d 2d 2d 2d 2d 2d |of 118.X|--------|
|00000b70| 2d 20 31 2f 31 32 0a 58 | 61 6c 6c 3a 20 61 70 70 |- 1/12.X|all: app|
|00000b80| 6c 79 20 77 69 6c 6c 69 | 61 6d 20 73 65 74 7a 65 |ly willi|am setze|
|00000b90| 72 27 73 20 6f 62 6a 64 | 65 73 28 29 20 64 69 66 |r's objd|es() dif|
|00000ba0| 66 73 2c 20 35 30 30 4b | 20 70 61 74 63 68 20 66 |fs, 500K| patch f|
|00000bb0| 69 6c 65 2c 20 63 68 61 | 6e 67 65 20 76 65 72 73 |ile, cha|nge vers|
|00000bc0| 69 6f 6e 0a 58 09 6e 75 | 6d 62 65 72 20 74 6f 20 |ion.X.nu|mber to |
|00000bd0| 35 2e 30 2e 31 30 20 61 | 6e 64 20 64 69 73 74 72 |5.0.10 a|nd distr|
|00000be0| 69 62 75 74 65 0a 58 64 | 65 73 63 2e 63 2c 20 6d |ibute.Xd|esc.c, m|
|00000bf0| 69 73 63 32 2e 63 2c 20 | 73 74 6f 72 65 31 2e 63 |isc2.c, |store1.c|
|00000c00| 3a 20 72 65 6d 6f 76 65 | 20 73 65 76 65 72 61 6c |: remove| several|
|00000c10| 20 6f 62 73 6f 6c 65 74 | 65 20 75 73 65 73 20 6f | obsolet|e uses o|
|00000c20| 66 20 69 6e 64 65 78 28 | 29 2c 0a 58 09 69 6e 73 |f index(|),.X.ins|
|00000c30| 65 72 74 5f 6e 75 6d 28 | 29 20 6e 6f 20 6c 6f 6e |ert_num(|) no lon|
|00000c40| 67 65 72 20 75 73 65 64 | 20 61 6e 79 77 68 65 72 |ger used| anywher|
|00000c50| 65 0a 58 63 6f 6e 73 74 | 61 6e 74 2e 68 2c 20 64 |e.Xconst|ant.h, d|
|00000c60| 65 73 63 2e 63 3a 20 63 | 68 61 6e 67 65 20 49 44 |esc.c: c|hange ID|
|00000c70| 5f 54 52 49 45 44 2c 49 | 44 5f 4b 4e 4f 57 4e 31 |_TRIED,I|D_KNOWN1|
|00000c80| 20 74 6f 20 4f 44 5f 54 | 52 49 45 44 2c 4f 44 5f | to OD_T|RIED,OD_|
|00000c90| 4b 4e 4f 57 4e 31 0a 58 | 64 65 73 63 2e 63 3a 20 |KNOWN1.X|desc.c: |
|00000ca0| 65 6c 69 6d 69 6e 61 74 | 65 20 74 69 74 6c 65 73 |eliminat|e titles|
|00000cb0| 5b 5d 2c 20 72 65 6e 61 | 6d 65 20 74 69 74 6c 65 |[], rena|me title|
|00000cc0| 5f 73 70 61 63 65 5b 5d | 20 74 6f 20 74 69 74 6c |_space[]| to titl|
|00000cd0| 65 73 5b 5d 0a 58 61 6c | 6c 3a 20 66 69 78 65 64 |es[].Xal|l: fixed|
|00000ce0| 20 6c 69 6e 74 20 65 72 | 72 6f 72 73 0a 58 61 6c | lint er|rors.Xal|
|00000cf0| 6c 3a 20 6d 61 6b 65 20 | 73 75 72 65 20 74 68 61 |l: make |sure tha|
|00000d00| 74 20 61 6c 6c 20 6f 62 | 6a 64 65 73 28 29 20 73 |t all ob|jdes() s|
|00000d10| 74 72 69 6e 67 73 20 61 | 72 65 20 62 69 67 76 74 |trings a|re bigvt|
|00000d20| 79 70 65 0a 58 64 65 73 | 63 2e 63 3a 20 66 69 78 |ype.Xdes|c.c: fix|
|00000d30| 20 70 72 69 6e 74 69 6e | 67 20 6f 66 20 62 6f 77 | printin|g of bow|
|00000d40| 73 2f 61 72 72 6f 77 73 | 2f 70 69 63 6b 73 2c 20 |s/arrows|/picks, |
|00000d50| 6e 65 65 64 65 64 20 6e | 65 77 20 70 31 5f 75 73 |needed n|ew p1_us|
|00000d60| 65 20 64 65 66 69 6e 65 | 2c 20 61 6e 64 0a 58 09 |e define|, and.X.|
|00000d70| 72 65 61 72 72 61 6e 67 | 65 20 63 6f 64 65 20 69 |rearrang|e code i|
|00000d80| 6e 20 6f 62 6a 64 65 73 | 28 29 20 73 77 69 74 63 |n objdes|() switc|
|00000d90| 68 20 73 74 61 74 65 6d | 65 6e 74 0a 58 74 72 65 |h statem|ent.Xtre|
|00000da0| 61 73 75 72 31 2e 63 2c | 20 74 72 65 61 73 75 72 |asur1.c,| treasur|
|00000db0| 32 2e 63 3a 20 72 65 6d | 6f 76 65 20 2d 31 30 30 |2.c: rem|ove -100|
|00000dc0| 20 74 6f 68 69 74 20 66 | 72 6f 6d 20 62 6f 6f 6b | tohit f|rom book|
|00000dd0| 73 2c 20 77 61 73 20 62 | 65 69 6e 67 20 70 72 69 |s, was b|eing pri|
|00000de0| 6e 74 65 64 2c 20 61 6e | 64 0a 58 09 69 73 20 73 |nted, an|d.X.is s|
|00000df0| 69 6c 6c 79 20 61 6e 79 | 77 61 79 73 0a 58 63 6f |illy any|ways.Xco|
|00000e00| 6e 73 74 61 6e 74 2e 68 | 2c 20 65 78 74 65 72 6e |nstant.h|, extern|
|00000e10| 73 2e 68 2c 20 73 61 76 | 65 2e 63 2c 20 74 72 65 |s.h, sav|e.c, tre|
|00000e20| 61 73 75 72 32 2e 63 3a | 20 63 68 61 6e 67 65 20 |asur2.c:| change |
|00000e30| 6f 62 6a 65 63 74 5f 69 | 64 65 6e 74 5b 5d 20 66 |object_i|dent[] f|
|00000e40| 72 6f 6d 0a 58 09 4d 41 | 58 5f 4f 42 4a 45 43 54 |rom.X.MA|X_OBJECT|
|00000e50| 53 20 74 6f 20 4f 42 4a | 45 43 54 5f 49 44 45 4e |S to OBJ|ECT_IDEN|
|00000e60| 54 5f 53 49 5a 45 20 3d | 20 37 2a 36 34 2c 20 73 |T_SIZE =| 7*64, s|
|00000e70| 65 65 20 6f 62 6a 65 63 | 74 5f 6f 66 66 73 65 74 |ee objec|t_offset|
|00000e80| 28 29 20 69 6e 20 64 65 | 73 63 2e 63 0a 58 09 74 |() in de|sc.c.X.t|
|00000e90| 6f 20 73 65 65 20 77 68 | 79 20 74 68 69 73 20 69 |o see wh|y this i|
|00000ea0| 73 20 6e 65 63 65 73 73 | 61 72 79 0a 58 2d 2d 2d |s necess|ary.X---|
|00000eb0| 2d 2d 2d 2d 2d 2d 2d 20 | 31 2f 31 33 0a 58 65 78 |------- |1/13.Xex|
|00000ec0| 74 65 72 6e 73 2e 68 2c | 20 6d 69 73 63 32 2e 63 |terns.h,| misc2.c|
|00000ed0| 2c 20 73 74 6f 72 65 31 | 2e 63 3a 20 64 65 6c 65 |, store1|.c: dele|
|00000ee0| 74 65 64 20 6f 62 73 6f | 6c 65 74 65 20 72 65 66 |ted obso|lete ref|
|00000ef0| 65 72 65 6e 63 65 73 20 | 74 6f 20 74 72 65 61 73 |erences |to treas|
|00000f00| 75 72 65 5f 74 79 70 65 | 0a 58 64 65 73 63 2e 63 |ure_type|.Xdesc.c|
|00000f10| 3a 20 61 6c 77 61 79 73 | 20 70 72 69 6e 74 20 74 |: always| print t|
|00000f20| 6f 61 63 20 66 69 65 6c | 64 20 69 66 20 6b 6e 6f |oac fiel|d if kno|
|00000f30| 77 6e 32 20 61 6e 64 20 | 6e 6f 6e 2d 6e 65 67 61 |wn2 and |non-nega|
|00000f40| 74 69 76 65 0a 58 63 6f | 6e 66 69 67 2e 68 2c 20 |tive.Xco|nfig.h, |
|00000f50| 69 6f 2e 63 2c 20 6d 69 | 73 63 31 2e 63 3a 20 65 |io.c, mi|sc1.c: e|
|00000f60| 6c 69 6d 69 6e 61 74 65 | 64 20 42 55 47 47 59 5f |liminate|d BUGGY_|
|00000f70| 43 55 52 53 45 53 20 64 | 65 66 69 6e 65 2c 20 63 |CURSES d|efine, c|
|00000f80| 61 75 73 65 64 20 74 6f | 6f 20 6d 75 63 68 0a 58 |aused to|o much.X|
|00000f90| 09 74 72 6f 75 62 6c 65 | 2c 20 6a 75 73 74 20 61 |.trouble|, just a|
|00000fa0| 73 73 75 6d 65 20 74 68 | 61 74 20 63 61 6e 20 6e |ssume th|at can n|
|00000fb0| 65 76 65 72 20 70 72 69 | 6e 74 20 69 6e 20 6c 61 |ever pri|nt in la|
|00000fc0| 73 74 20 63 6f 6c 75 6d | 6e 20 6f 66 20 73 63 72 |st colum|n of scr|
|00000fd0| 65 65 6e 0a 58 63 6f 6e | 73 74 61 6e 74 2e 68 2c |een.Xcon|stant.h,|
|00000fe0| 20 64 65 73 63 2e 63 2c | 20 6d 69 73 63 31 2e 63 | desc.c,| misc1.c|
|00000ff0| 2c 20 6d 6f 72 69 61 32 | 2e 63 2c 20 73 70 65 6c |, moria2|.c, spel|
|00001000| 6c 73 2e 63 2c 20 74 72 | 65 61 73 75 72 31 2e 63 |ls.c, tr|easur1.c|
|00001010| 2c 20 74 79 70 65 73 2e | 68 3a 0a 58 09 63 72 65 |, types.|h:.X.cre|
|00001020| 61 74 65 64 20 73 70 65 | 63 69 61 6c 5f 6e 61 6d |ated spe|cial_nam|
|00001030| 65 73 20 74 61 62 6c 65 | 20 74 6f 20 68 6f 6c 64 |es table| to hold|
|00001040| 20 61 6c 6c 20 70 6f 73 | 73 69 62 6c 65 20 6e 61 | all pos|sible na|
|00001050| 6d 65 32 20 73 74 72 69 | 6e 67 73 2c 0a 58 09 6e |me2 stri|ngs,.X.n|
|00001060| 61 6d 65 32 20 63 68 61 | 6e 67 65 64 20 74 6f 20 |ame2 cha|nged to |
|00001070| 61 6e 20 69 6e 74 38 75 | 20 77 68 69 63 68 20 68 |an int8u| which h|
|00001080| 6f 6c 64 73 20 69 6e 64 | 65 78 20 74 6f 20 73 70 |olds ind|ex to sp|
|00001090| 65 63 69 61 6c 5f 6e 61 | 6d 65 73 20 74 61 62 6c |ecial_na|mes tabl|
|000010a0| 65 0a 58 65 78 74 65 72 | 6e 73 2e 68 2c 20 6d 61 |e.Xexter|ns.h, ma|
|000010b0| 69 6e 2e 63 2c 20 74 72 | 65 61 73 75 72 65 31 2e |in.c, tr|easure1.|
|000010c0| 63 3a 20 73 6f 72 74 5f | 6f 62 6a 65 63 74 73 28 |c: sort_|objects(|
|000010d0| 29 20 66 75 6e 63 74 69 | 6f 6e 20 64 65 6c 65 74 |) functi|on delet|
|000010e0| 65 64 2c 20 73 6f 72 74 | 69 6e 67 20 6e 6f 77 0a |ed, sort|ing now.|
|000010f0| 58 09 64 6f 6e 65 20 62 | 79 20 69 6e 69 74 5f 74 |X.done b|y init_t|
|00001100| 5f 6c 65 76 65 6c 20 75 | 73 69 6e 67 20 4f 28 6e |_level u|sing O(n|
|00001110| 29 20 62 69 6e 20 73 6f | 72 74 2c 20 69 6e 74 6f |) bin so|rt, into|
|00001120| 20 73 6f 72 74 65 64 5f | 6f 62 6a 65 63 74 73 5b | sorted_|objects[|
|00001130| 5d 20 61 72 72 61 79 0a | 58 66 69 6c 65 73 2e 63 |] array.|Xfiles.c|
|00001140| 2c 20 6d 69 73 63 32 2e | 63 3a 20 6f 62 6a 65 63 |, misc2.|c: objec|
|00001150| 74 5f 6c 69 73 74 5b 5d | 20 72 65 66 65 72 65 6e |t_list[]| referen|
|00001160| 63 65 73 20 74 68 61 74 | 20 61 73 73 75 6d 65 64 |ces that| assumed|
|00001170| 20 69 74 20 77 61 73 20 | 73 6f 72 74 65 64 20 6e | it was |sorted n|
|00001180| 6f 77 0a 58 09 69 6e 64 | 69 72 65 63 74 20 74 68 |ow.X.ind|irect th|
|00001190| 72 6f 75 67 68 20 73 6f | 72 74 65 64 5f 6f 62 6a |rough so|rted_obj|
|000011a0| 65 63 74 73 5b 5d 20 61 | 72 72 61 79 0a 58 6d 61 |ects[] a|rray.Xma|
|000011b0| 69 6e 2e 63 2c 20 76 61 | 72 69 61 62 6c 65 2e 63 |in.c, va|riable.c|
|000011c0| 3a 20 70 6c 61 79 65 72 | 5f 69 6e 69 74 20 69 6e |: player|_init in|
|000011d0| 64 65 78 65 73 20 6e 6f | 77 20 70 6f 69 6e 74 20 |dexes no|w point |
|000011e0| 69 6e 74 6f 20 6f 62 6a | 65 63 74 5f 6c 69 73 74 |into obj|ect_list|
|000011f0| 20 69 6e 73 74 65 61 64 | 0a 58 09 6f 66 20 69 6e | instead|.X.of in|
|00001200| 76 65 6e 74 6f 72 79 5f | 69 6e 69 74 0a 58 2d 2d |ventory_|init.X--|
|00001210| 2d 2d 2d 2d 2d 20 31 2f | 31 34 0a 58 63 6f 6e 73 |----- 1/|14.Xcons|
|00001220| 74 61 6e 74 2e 68 2c 20 | 65 78 74 65 72 6e 73 2e |tant.h, |externs.|
|00001230| 68 2c 20 6d 61 69 6e 2e | 63 2c 20 73 74 6f 72 65 |h, main.|c, store|
|00001240| 31 2e 63 2c 20 74 72 65 | 61 73 75 72 31 2e 63 2c |1.c, tre|asur1.c,|
|00001250| 20 74 72 65 61 73 75 72 | 32 2e 63 2c 20 76 61 72 | treasur|2.c, var|
|00001260| 69 61 62 6c 65 2e 63 3a | 0a 58 09 64 65 6c 65 74 |iable.c:|.X.delet|
|00001270| 65 64 20 69 6e 76 65 6e | 74 6f 72 79 5f 69 6e 69 |ed inven|tory_ini|
|00001280| 74 20 61 72 72 61 79 2c | 20 73 74 6f 72 65 73 20 |t array,| stores |
|00001290| 6f 62 6a 65 63 74 73 20 | 6e 6f 77 20 69 6e 20 6f |objects |now in o|
|000012a0| 62 6a 65 63 74 5f 6c 69 | 73 74 2c 0a 58 09 4d 41 |bject_li|st,.X.MA|
|000012b0| 58 5f 4f 42 4a 45 43 54 | 20 61 64 6a 75 73 74 65 |X_OBJECT| adjuste|
|000012c0| 64 2c 20 4d 41 58 5f 44 | 55 4e 47 45 4f 4e 5f 4f |d, MAX_D|UNGEON_O|
|000012d0| 42 4a 20 64 65 66 69 6e | 65 64 2c 20 73 74 6f 72 |BJ defin|ed, stor|
|000012e0| 65 5f 63 68 6f 69 63 65 | 5b 5d 20 66 69 78 65 64 |e_choice|[] fixed|
|000012f0| 0a 58 61 6c 6c 3a 20 70 | 75 74 20 61 6c 6c 20 6f |.Xall: p|ut all o|
|00001300| 62 6a 65 63 74 73 20 69 | 6e 20 6f 62 6a 65 63 74 |bjects i|n object|
|00001310| 5f 6c 69 73 74 2c 20 74 | 72 61 70 5f 6c 69 73 74 |_list, t|rap_list|
|00001320| 2c 20 64 6f 6f 72 5f 6c | 69 73 74 2c 20 73 74 6f |, door_l|ist, sto|
|00001330| 72 65 5f 64 6f 6f 72 2c | 0a 58 09 67 6f 6c 64 5f |re_door,|.X.gold_|
|00001340| 6c 69 73 74 2c 20 75 70 | 5f 73 74 61 69 72 2c 20 |list, up|_stair, |
|00001350| 64 6f 77 6e 5f 73 74 61 | 69 72 2c 20 72 75 62 62 |down_sta|ir, rubb|
|00001360| 6c 65 2c 20 6d 75 63 68 | 2c 20 62 6c 61 6e 6b 5f |le, much|, blank_|
|00001370| 74 72 65 61 73 75 72 65 | 2c 0a 58 09 73 63 61 72 |treasure|,.X.scar|
|00001380| 65 5f 6d 6f 6e 73 74 65 | 72 20 61 72 65 20 6e 6f |e_monste|r are no|
|00001390| 74 20 73 65 70 61 72 61 | 74 65 20 76 61 72 69 61 |t separa|te varia|
|000013a0| 62 6c 65 73 20 61 6e 79 | 6d 6f 72 65 0a 58 61 6c |bles any|more.Xal|
|000013b0| 6c 3a 20 69 6e 76 63 6f | 70 79 20 6e 6f 77 20 74 |l: invco|py now t|
|000013c0| 61 6b 65 73 20 61 6e 20 | 6f 62 6a 65 63 74 5f 6c |akes an |object_l|
|000013d0| 69 73 74 20 69 6e 64 65 | 78 20 61 73 20 73 65 63 |ist inde|x as sec|
|000013e0| 6f 6e 64 20 70 61 72 61 | 6d 65 74 65 72 2c 20 6e |ond para|meter, n|
|000013f0| 61 6d 65 20 66 69 65 6c | 64 0a 58 09 64 65 6c 65 |ame fiel|d.X.dele|
|00001400| 74 65 64 20 66 72 6f 6d | 20 69 6e 76 65 6e 5f 74 |ted from| inven_t|
|00001410| 79 70 65 20 61 6e 64 20 | 66 69 65 6c 64 73 20 72 |ype and |fields r|
|00001420| 65 61 72 72 61 6e 67 65 | 64 0a 58 2d 2d 2d 2d 2d |earrange|d.X-----|
|00001430| 2d 2d 2d 2d 2d 2d 20 31 | 2f 31 35 0a 58 73 74 6f |------ 1|/15.Xsto|
|00001440| 72 65 31 2e 63 3a 20 73 | 65 61 72 63 68 5f 6c 69 |re1.c: s|earch_li|
|00001450| 73 74 28 29 20 64 65 6c | 65 74 65 64 2c 20 75 73 |st() del|eted, us|
|00001460| 65 20 69 5f 70 74 72 2d | 3e 69 6e 64 65 78 20 69 |e i_ptr-|>index i|
|00001470| 6e 73 74 65 61 64 20 74 | 6f 20 67 65 74 20 72 61 |nstead t|o get ra|
|00001480| 77 20 69 74 65 6d 20 63 | 6f 73 74 0a 58 73 61 76 |w item c|ost.Xsav|
|00001490| 65 2e 63 3a 20 6f 62 73 | 6f 6c 65 74 65 20 74 72 |e.c: obs|olete tr|
|000014a0| 65 61 73 75 72 65 5f 74 | 79 70 65 20 72 65 66 65 |easure_t|ype refe|
|000014b0| 72 65 6e 63 65 73 20 64 | 65 6c 65 74 65 64 2c 20 |rences d|eleted, |
|000014c0| 73 61 76 65 20 66 69 6c | 65 73 20 77 6f 72 6b 20 |save fil|es work |
|000014d0| 61 67 61 69 6e 0a 58 63 | 72 65 61 74 75 72 65 2e |again.Xc|reature.|
|000014e0| 63 2c 20 6d 61 67 69 63 | 2e 63 2c 20 6d 69 73 63 |c, magic|.c, misc|
|000014f0| 32 2e 63 2c 20 70 72 61 | 79 65 72 2e 63 2c 20 73 |2.c, pra|yer.c, s|
|00001500| 61 76 65 2e 63 2c 20 77 | 61 6e 64 73 2e 63 3a 20 |ave.c, w|ands.c: |
|00001510| 66 69 78 65 64 20 6c 6f | 6e 67 2f 73 68 6f 72 74 |fixed lo|ng/short|
|00001520| 0a 58 09 70 72 6f 62 6c | 65 6d 73 20 77 69 74 68 |.X.probl|ems with|
|00001530| 20 73 68 69 66 74 2c 20 | 6d 6f 73 74 6c 79 20 63 | shift, |mostly c|
|00001540| 68 61 6e 67 65 20 28 31 | 20 3c 3c 20 69 29 20 74 |hange (1| << i) t|
|00001550| 6f 20 28 31 4c 20 3c 3c | 20 69 29 0a 58 61 6c 6c |o (1L <<| i).Xall|
|00001560| 3a 20 61 64 64 20 6e 65 | 77 20 72 65 67 69 73 74 |: add ne|w regist|
|00001570| 65 72 20 64 65 63 6c 61 | 72 61 74 69 6f 6e 2c 20 |er decla|ration, |
|00001580| 63 68 65 63 6b 20 69 6e | 64 65 6e 74 61 74 69 6f |check in|dentatio|
|00001590| 6e 2c 20 66 69 78 20 33 | 32 2f 31 36 62 69 74 20 |n, fix 3|2/16bit |
|000015a0| 69 6e 74 20 70 72 6f 62 | 6c 65 6d 73 0a 58 63 6f |int prob|lems.Xco|
|000015b0| 6e 73 74 61 6e 74 2e 68 | 3a 20 63 68 61 6e 67 65 |nstant.h|: change|
|000015c0| 20 76 65 72 73 69 6f 6e | 20 6e 75 6d 62 65 72 20 | version| number |
|000015d0| 74 6f 20 35 2e 30 2e 31 | 31 0a 58 2d 2d 2d 2d 2d |to 5.0.1|1.X-----|
|000015e0| 2d 2d 2d 2d 2d 2d 2d 2d | 20 31 2f 31 37 0a 58 73 |--------| 1/17.Xs|
|000015f0| 70 65 6c 6c 73 2e 63 3a | 20 61 67 67 72 61 76 61 |pells.c:| aggrava|
|00001600| 74 65 20 77 61 73 20 6e | 6f 74 20 69 6e 69 74 69 |te was n|ot initi|
|00001610| 61 6c 6c 69 7a 65 64 20 | 69 6e 20 61 67 67 72 61 |allized |in aggra|
|00001620| 76 61 74 65 5f 6d 6f 6e | 73 74 65 72 28 29 0a 58 |vate_mon|ster().X|
|00001630| 6d 6f 6e 73 74 65 72 73 | 2e 63 3a 20 6e 6f 76 69 |monsters|.c: novi|
|00001640| 63 65 20 72 6f 67 75 65 | 20 6e 6f 77 20 65 76 69 |ce rogue| now evi|
|00001650| 6c 20 6c 69 6b 65 20 6f | 74 68 65 72 20 72 6f 67 |l like o|ther rog|
|00001660| 75 65 73 0a 58 6d 69 73 | 63 32 2e 63 3a 20 32 20 |ues.Xmis|c2.c: 2 |
|00001670| 22 2e 2e 2e 20 6c 65 61 | 72 6e 20 2e 2e 2e 20 6e |"... lea|rn ... n|
|00001680| 65 77 20 73 70 65 6c 6c | 73 20 2e 2e 2e 22 20 6d |ew spell|s ..." m|
|00001690| 65 73 73 61 67 65 73 20 | 63 68 61 6e 67 65 64 20 |essages |changed |
|000016a0| 74 6f 20 70 72 69 6e 74 | 20 70 72 61 79 65 72 73 |to print| prayers|
|000016b0| 0a 58 09 69 6e 73 74 65 | 61 64 20 66 6f 72 20 70 |.X.inste|ad for p|
|000016c0| 72 69 65 73 74 73 0a 58 | 6d 6f 72 69 61 32 2e 63 |riests.X|moria2.c|
|000016d0| 3a 20 64 72 6f 70 5f 74 | 68 72 6f 77 28 29 2c 20 |: drop_t|hrow(), |
|000016e0| 22 54 68 65 20 25 73 20 | 68 69 74 73 20 25 73 22 |"The %s |hits %s"|
|000016f0| 20 63 68 61 6e 67 65 64 | 20 74 6f 20 22 54 68 65 | changed| to "The|
|00001700| 20 25 73 20 68 69 74 73 | 20 74 68 65 20 25 73 2e | %s hits| the %s.|
|00001710| 22 0a 58 6d 61 6e 79 3a | 20 66 69 78 65 64 20 70 |".Xmany:| fixed p|
|00001720| 72 6f 62 6c 65 6d 73 20 | 77 69 74 68 20 73 65 74 |roblems |with set|
|00001730| 74 69 6e 67 20 6f 66 20 | 66 72 65 65 5f 74 75 72 |ting of |free_tur|
|00001740| 6e 5f 66 6c 61 67 0a 58 | 2d 2d 2d 2d 2d 2d 2d 2d |n_flag.X|--------|
|00001750| 2d 2d 2d 20 31 2f 31 39 | 0a 58 6d 69 73 63 32 2e |--- 1/19|.Xmisc2.|
|00001760| 63 3a 20 66 69 78 20 69 | 6e 76 65 6e 5f 63 61 72 |c: fix i|nven_car|
|00001770| 72 79 28 29 2c 20 74 6f | 20 73 74 61 63 6b 20 73 |ry(), to| stack s|
|00001780| 74 6f 72 65 2f 64 75 6e | 67 65 6f 6e 20 69 74 65 |tore/dun|geon ite|
|00001790| 6d 73 20 70 72 6f 70 65 | 72 6c 79 0a 58 64 65 73 |ms prope|rly.Xdes|
|000017a0| 63 2e 63 3a 20 6f 62 6a | 64 65 73 28 29 2c 20 73 |c.c: obj|des(), s|
|000017b0| 65 74 20 70 31 5f 75 73 | 65 20 3d 20 49 47 4e 4f |et p1_us|e = IGNO|
|000017c0| 52 45 44 20 66 6f 72 20 | 66 6f 6f 64 20 61 6e 64 |RED for |food and|
|000017d0| 20 70 6f 74 69 6f 6e 73 | 2c 20 63 68 61 6e 67 65 | potions|, change|
|000017e0| 64 0a 58 09 69 73 5f 61 | 5f 76 6f 77 65 6c 28 74 |d.X.is_a|_vowel(t|
|000017f0| 6d 70 5f 76 61 6c 5b 31 | 5d 29 20 74 6f 20 5b 32 |mp_val[1|]) to [2|
|00001800| 5d 0a 58 6d 6f 72 69 61 | 32 2e 63 3a 20 22 65 78 |].Xmoria|2.c: "ex|
|00001810| 63 65 65 64 20 77 65 69 | 67 68 74 20 6c 69 6d 69 |ceed wei|ght limi|
|00001820| 74 3f 22 20 6d 65 73 73 | 61 67 65 20 6e 6f 77 20 |t?" mess|age now |
|00001830| 70 72 69 6e 74 73 20 69 | 74 65 6d 20 6e 61 6d 65 |prints i|tem name|
|00001840| 20 61 6c 73 6f 0a 58 64 | 65 73 63 2e 63 2c 20 73 | also.Xd|esc.c, s|
|00001850| 70 65 6c 6c 73 2e 63 2c | 20 73 74 61 66 66 73 2e |pells.c,| staffs.|
|00001860| 63 2c 20 77 61 6e 64 73 | 2e 63 3a 20 65 6d 70 74 |c, wands|.c: empt|
|00001870| 79 20 77 61 6e 64 73 20 | 61 72 65 20 6e 6f 74 20 |y wands |are not |
|00001880| 69 6e 63 72 69 62 65 64 | 20 65 6d 70 74 79 20 69 |incribed| empty i|
|00001890| 66 0a 58 09 6b 6e 6f 77 | 6e 32 2c 20 65 6d 70 74 |f.X.know|n2, empt|
|000018a0| 79 20 72 65 6d 6f 76 65 | 64 20 77 68 65 6e 20 77 |y remove|d when w|
|000018b0| 61 6e 64 73 20 61 72 65 | 20 72 65 63 68 61 72 67 |ands are| recharg|
|000018c0| 65 64 0a 58 64 65 73 63 | 2e 63 3a 20 70 75 74 20 |ed.Xdesc|.c: put |
|000018d0| 73 70 61 63 65 73 20 62 | 65 74 77 65 65 6e 20 69 |spaces b|etween i|
|000018e0| 6e 73 63 72 69 62 65 64 | 20 77 6f 72 64 73 0a 58 |nscribed| words.X|
|000018f0| 64 75 6e 67 65 6f 6e 2e | 63 3a 20 61 6c 77 61 79 |dungeon.|c: alway|
|00001900| 73 20 69 6e 73 63 72 69 | 62 65 20 6d 61 6a 69 6b |s inscri|be majik|
|00001910| 20 77 68 65 6e 20 63 68 | 61 72 61 63 74 65 72 20 | when ch|aracter |
|00001920| 6e 6f 74 69 63 65 73 20 | 74 68 69 73 2c 20 6e 6f |notices |this, no|
|00001930| 74 20 6a 75 73 74 20 66 | 6f 72 0a 58 09 69 6e 76 |t just f|or.X.inv|
|00001940| 65 6e 74 6f 72 79 20 69 | 74 65 6d 73 20 61 73 20 |entory i|tems as |
|00001950| 74 68 61 74 20 68 65 6c | 70 73 20 70 72 69 65 73 |that hel|ps pries|
|00001960| 74 73 20 6d 6f 72 65 20 | 74 68 61 6e 20 66 69 67 |ts more |than fig|
|00001970| 68 74 65 72 73 0a 58 73 | 74 6f 72 65 31 2e 63 3a |hters.Xs|tore1.c:|
|00001980| 20 73 65 6c 6c 5f 70 72 | 69 63 65 28 29 2c 20 73 | sell_pr|ice(), s|
|00001990| 75 63 63 65 65 64 20 6f | 6e 6c 79 20 69 66 20 62 |ucceed o|nly if b|
|000019a0| 6f 74 68 20 69 74 65 6d | 2d 3e 63 6f 73 74 20 61 |oth item|->cost a|
|000019b0| 6e 64 20 69 74 65 6d 5f | 76 61 6c 75 65 28 29 20 |nd item_|value() |
|000019c0| 61 72 65 0a 58 09 70 6f | 73 69 74 69 76 65 0a 58 |are.X.po|sitive.X|
|000019d0| 63 72 65 61 74 75 72 65 | 2e 63 3a 20 64 6f 6e 27 |creature|.c: don'|
|000019e0| 74 20 69 6e 63 72 65 61 | 73 65 20 61 20 6e 75 6d |t increa|se a num|
|000019f0| 62 65 72 20 6f 66 20 61 | 74 74 61 63 6b 73 20 77 |ber of a|ttacks w|
|00001a00| 68 65 6e 20 6d 6f 6e 73 | 74 65 72 20 72 65 70 65 |hen mons|ter repe|
|00001a10| 6c 6c 65 64 20 69 6e 0a | 58 09 6d 61 6b 65 5f 61 |lled in.|X.make_a|
|00001a20| 74 74 61 63 6b 28 29 2c | 20 69 2e 65 2e 20 6e 6f |ttack(),| i.e. no|
|00001a30| 20 64 61 6d 61 67 65 20 | 64 6f 6e 65 20 73 6f 20 | damage |done so |
|00001a40| 73 68 6f 75 6c 64 6e 27 | 74 20 6c 65 61 72 6e 20 |shouldn'|t learn |
|00001a50| 61 62 6f 75 74 20 64 61 | 6d 61 67 65 0a 58 6d 6f |about da|mage.Xmo|
|00001a60| 72 69 61 31 2e 63 3a 20 | 72 65 67 65 6e 68 70 20 |ria1.c: |regenhp |
|00001a70| 61 6e 64 20 72 65 67 65 | 6e 6d 61 6e 61 2c 20 63 |and rege|nmana, c|
|00001a80| 6f 75 6c 64 20 67 65 74 | 20 63 68 70 2f 63 6d 61 |ould get| chp/cma|
|00001a90| 6e 61 20 65 71 75 61 6c | 20 74 6f 20 6d 61 78 20 |na equal| to max |
|00001aa0| 61 6e 64 20 5f 66 72 61 | 63 0a 58 09 6e 6f 6e 2d |and _fra|c.X.non-|
|00001ab0| 7a 65 72 6f 2c 20 63 68 | 61 6e 67 65 20 63 20 3e |zero, ch|ange c >|
|00001ac0| 20 6d 61 78 20 74 65 73 | 74 20 74 6f 20 63 20 3e | max tes|t to c >|
|00001ad0| 3d 20 6d 61 78 20 74 65 | 73 74 0a 58 63 6f 6e 73 |= max te|st.Xcons|
|00001ae0| 74 61 6e 74 2e 68 2c 20 | 64 75 6e 67 65 6f 6e 2e |tant.h, |dungeon.|
|00001af0| 63 2c 20 6d 69 73 63 32 | 2e 63 3a 20 68 70 20 61 |c, misc2|.c: hp a|
|00001b00| 6e 64 20 6d 61 6e 61 20 | 77 65 72 65 20 70 72 69 |nd mana |were pri|
|00001b10| 6e 74 65 64 20 77 68 69 | 6c 65 20 69 6e 20 73 74 |nted whi|le in st|
|00001b20| 6f 72 65 2f 69 6e 76 2c | 0a 58 09 66 69 78 20 63 |ore/inv,|.X.fix c|
|00001b30| 61 6c 63 5f 68 69 74 70 | 6f 69 6e 74 73 28 29 20 |alc_hitp|oints() |
|00001b40| 61 6e 64 20 63 61 6c 63 | 5f 6d 61 6e 61 28 29 20 |and calc|_mana() |
|00001b50| 74 6f 20 73 65 74 20 66 | 6c 61 67 73 20 69 6e 73 |to set f|lags ins|
|00001b60| 74 65 61 64 20 6f 66 20 | 70 72 69 6e 74 69 6e 67 |tead of |printing|
|00001b70| 2c 0a 58 09 69 6e 20 64 | 75 6e 67 65 6f 6e 2e 63 |,.X.in d|ungeon.c|
|00001b80| 2c 20 63 68 65 63 6b 73 | 20 66 6c 61 67 73 20 61 |, checks| flags a|
|00001b90| 6e 64 20 70 72 69 6e 74 | 20 76 61 6c 75 65 73 0a |nd print| values.|
|00001ba0| 58 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 20 31 2f 32 30 |X-------|--- 1/20|
|00001bb0| 0a 58 73 74 6f 72 65 32 | 2e 63 3a 20 72 65 64 69 |.Xstore2|.c: redi|
|00001bc0| 73 70 6c 61 79 20 73 74 | 6f 72 65 20 70 72 69 63 |splay st|ore pric|
|00001bd0| 65 73 20 69 66 20 63 68 | 61 72 69 73 6d 61 20 63 |es if ch|arisma c|
|00001be0| 68 61 6e 67 65 73 20 64 | 75 72 69 6e 67 20 74 68 |hanges d|uring th|
|00001bf0| 65 20 69 6e 76 65 6e 5f | 63 6f 6d 6d 61 6e 64 0a |e inven_|command.|
|00001c00| 58 09 63 61 6c 6c 73 20 | 28 61 63 74 75 61 6c 6c |X.calls |(actuall|
|00001c10| 79 20 6a 75 73 74 20 72 | 65 64 72 61 77 20 65 76 |y just r|edraw ev|
|00001c20| 65 72 79 74 68 69 6e 67 | 29 0a 58 6d 6f 72 69 61 |erything|).Xmoria|
|00001c30| 32 2e 63 3a 20 6d 6f 6e | 73 74 65 72 5f 64 65 61 |2.c: mon|ster_dea|
|00001c40| 74 68 28 29 2c 20 64 75 | 6d 70 20 6d 75 73 74 20 |th(), du|mp must |
|00001c50| 62 65 20 73 65 74 20 74 | 6f 20 30 20 69 73 20 6e |be set t|o 0 is n|
|00001c60| 75 6d 62 65 72 20 69 73 | 20 30 0a 58 63 6f 6e 73 |umber is| 0.Xcons|
|00001c70| 74 61 6e 74 2e 68 2c 20 | 6d 6f 72 69 61 32 2e 63 |tant.h, |moria2.c|
|00001c80| 2c 20 72 65 63 61 6c 6c | 2e 63 2c 20 73 70 65 6c |, recall|.c, spel|
|00001c90| 6c 73 2e 63 3a 20 72 65 | 63 61 6c 6c 20 70 72 69 |ls.c: re|call pri|
|00001ca0| 6e 74 69 6e 67 20 6f 66 | 20 74 72 65 61 73 75 72 |nting of| treasur|
|00001cb0| 65 20 63 68 61 6e 67 65 | 64 2c 0a 58 09 69 6e 73 |e change|d,.X.ins|
|00001cc0| 74 65 61 64 20 6f 66 20 | 73 65 74 74 69 6e 67 20 |tead of |setting |
|00001cd0| 43 4d 5f 20 62 69 74 73 | 2c 20 73 74 6f 72 65 20 |CM_ bits|, store |
|00001ce0| 6c 61 72 67 65 73 74 20 | 6e 75 6d 62 65 72 20 6f |largest |number o|
|00001cf0| 66 20 74 72 65 61 73 75 | 72 65 20 65 76 65 72 0a |f treasu|re ever.|
|00001d00| 58 09 67 65 6e 65 72 61 | 74 65 64 20 69 6e 20 74 |X.genera|ted in t|
|00001d10| 68 6f 73 65 20 35 20 43 | 4d 5f 54 52 45 41 53 55 |hose 5 C|M_TREASU|
|00001d20| 52 45 20 62 69 74 73 2c | 20 63 68 61 6e 67 65 64 |RE bits,| changed|
|00001d30| 20 6d 6f 6e 73 74 65 72 | 5f 64 65 61 74 68 28 29 | monster|_death()|
|00001d40| 20 74 6f 20 73 65 74 0a | 58 09 74 68 65 20 62 69 | to set.|X.the bi|
|00001d50| 74 73 20 74 68 65 20 6e | 65 77 20 77 61 79 2c 20 |ts the n|ew way, |
|00001d60| 63 68 61 6e 67 65 64 20 | 75 73 65 73 20 6f 66 20 |changed |uses of |
|00001d70| 6d 6f 6e 73 74 65 72 5f | 64 65 61 74 68 28 29 20 |monster_|death() |
|00001d80| 74 6f 20 72 65 70 6c 61 | 63 65 20 6f 6c 64 0a 58 |to repla|ce old.X|
|00001d90| 09 74 72 65 61 73 75 72 | 65 20 62 69 74 73 20 77 |.treasur|e bits w|
|00001da0| 69 74 68 20 6e 65 77 20 | 6f 6e 65 73 2c 20 74 68 |ith new |ones, th|
|00001db0| 65 20 76 61 67 75 65 20 | 70 72 69 6e 74 20 6f 75 |e vague |print ou|
|00001dc0| 74 20 74 72 65 61 73 75 | 72 65 20 61 6d 6f 75 6e |t treasu|re amoun|
|00001dd0| 74 73 0a 58 09 72 65 70 | 6c 61 63 65 20 77 69 74 |ts.X.rep|lace wit|
|00001de0| 68 20 70 72 69 6e 74 6f | 75 74 20 6f 66 20 70 72 |h printo|ut of pr|
|00001df0| 65 63 69 73 65 20 6e 75 | 6d 62 65 72 20 6f 66 20 |ecise nu|mber of |
|00001e00| 74 72 65 61 73 75 72 65 | 73 20 67 65 6e 65 72 61 |treasure|s genera|
|00001e10| 74 65 64 0a 58 65 78 74 | 65 72 6e 73 2e 68 2c 20 |ted.Xext|erns.h, |
|00001e20| 6d 6f 72 69 61 32 2e 63 | 3a 20 6d 6f 6e 73 74 65 |moria2.c|: monste|
|00001e30| 72 5f 64 65 61 74 68 28 | 29 20 63 68 61 6e 67 65 |r_death(|) change|
|00001e40| 64 20 74 6f 20 69 6e 74 | 33 32 20 6d 6f 6e 73 74 |d to int|32 monst|
|00001e50| 65 72 5f 64 65 61 74 68 | 28 29 0a 58 6d 6f 72 69 |er_death|().Xmori|
|00001e60| 61 31 2e 63 3a 20 6e 65 | 77 5f 73 70 6f 74 28 29 |a1.c: ne|w_spot()|
|00001e70| 20 63 6f 6e 74 61 69 6e | 65 64 20 6c 69 6e 65 20 | contain|ed line |
|00001e80| 6f 66 20 63 6f 64 65 20 | 22 69 20 3d 20 72 61 6e |of code |"i = ran|
|00001e90| 64 69 6e 74 28 31 30 29 | 22 20 74 68 61 74 20 64 |dint(10)|" that d|
|00001ea0| 69 64 20 6e 6f 74 0a 58 | 09 62 65 6c 6f 6e 67 20 |id not.X|.belong |
|00001eb0| 74 68 65 72 65 2c 20 77 | 61 73 20 66 6f 72 6d 65 |there, w|as forme|
|00001ec0| 72 6c 79 20 74 65 73 74 | 69 6e 67 20 63 6f 64 65 |rly test|ing code|
|00001ed0| 0a 58 64 65 73 63 2e 63 | 3a 20 6f 62 6a 64 65 73 |.Xdesc.c|: objdes|
|00001ee0| 28 29 2c 20 66 6f 72 63 | 65 20 7a 65 72 6f 20 63 |(), forc|e zero c|
|00001ef0| 68 61 72 67 65 73 20 74 | 6f 20 61 6c 77 61 79 73 |harges t|o always|
|00001f00| 20 70 72 69 6e 74 2c 20 | 61 6c 73 6f 2c 20 61 6c | print, |also, al|
|00001f10| 77 61 79 73 20 70 72 69 | 6e 74 0a 58 09 64 69 67 |ways pri|nt.X.dig|
|00001f20| 67 69 6e 67 20 70 6c 75 | 73 73 65 73 20 65 76 65 |ging plu|sses eve|
|00001f30| 6e 20 69 66 20 7a 65 72 | 6f 0a 58 6d 61 69 6e 2e |n if zer|o.Xmain.|
|00001f40| 63 3a 20 69 74 65 6d 73 | 20 74 68 61 74 20 69 6e |c: items| that in|
|00001f50| 69 74 69 61 6c 69 7a 65 | 20 70 6c 61 79 65 72 73 |itialize| players|
|00001f60| 20 69 6e 76 65 6e 74 6f | 72 79 20 61 72 65 20 6d | invento|ry are m|
|00001f70| 61 72 6b 65 64 20 73 74 | 6f 72 65 5f 62 6f 75 67 |arked st|ore_boug|
|00001f80| 68 74 28 29 2c 0a 58 09 | 74 68 69 73 20 69 73 20 |ht(),.X.|this is |
|00001f90| 6e 65 65 64 65 64 20 73 | 6f 20 74 68 61 74 20 64 |needed s|o that d|
|00001fa0| 61 67 67 65 72 2f 61 72 | 6d 6f 72 20 62 6f 6e 75 |agger/ar|mor bonu|
|00001fb0| 73 65 73 20 77 69 6c 6c | 20 62 65 20 73 68 6f 77 |ses will| be show|
|00001fc0| 6e 20 66 6f 72 20 74 68 | 65 6d 0a 58 64 65 73 63 |n for th|em.Xdesc|
|00001fd0| 2e 63 3a 20 6f 62 6a 64 | 65 73 28 29 2c 20 66 69 |.c: objd|es(), fi|
|00001fe0| 78 65 64 20 70 72 69 6e | 74 69 6e 67 20 6f 66 20 |xed prin|ting of |
|00001ff0| 64 6f 6f 72 73 2c 20 6b | 6e 6f 77 6e 31 28 29 20 |doors, k|nown1() |
|00002000| 63 6c 65 61 72 20 74 68 | 65 20 74 72 69 65 64 20 |clear th|e tried |
|00002010| 66 6c 61 67 2c 0a 58 09 | 6d 61 67 69 63 5f 69 6e |flag,.X.|magic_in|
|00002020| 69 74 28 29 20 64 6f 6e | 27 74 20 6c 65 74 20 73 |it() don|'t let s|
|00002030| 63 72 6f 6c 6c 20 6e 61 | 6d 65 73 20 65 6e 64 20 |croll na|mes end |
|00002040| 77 69 74 68 20 61 20 62 | 6c 61 6e 6b 0a 58 6d 69 |with a b|lank.Xmi|
|00002050| 73 63 32 2e 63 3a 20 67 | 61 69 6e 5f 73 70 65 6c |sc2.c: g|ain_spel|
|00002060| 6c 73 28 29 2c 20 63 61 | 6c 6c 20 63 61 6c 63 5f |ls(), ca|ll calc_|
|00002070| 6d 61 6e 61 28 29 20 69 | 66 20 70 79 2e 6d 69 73 |mana() i|f py.mis|
|00002080| 63 2e 6d 61 6e 61 20 3d | 3d 20 30 2c 20 74 68 69 |c.mana =|= 0, thi|
|00002090| 73 20 69 73 0a 58 09 66 | 6f 72 20 63 68 61 72 61 |s is.X.f|or chara|
|000020a0| 63 74 65 72 73 20 77 68 | 6f 20 64 69 64 20 6e 6f |cters wh|o did no|
|000020b0| 74 20 6b 6e 6f 77 20 61 | 6e 79 20 73 70 65 6c 6c |t know a|ny spell|
|000020c0| 73 20 62 65 66 6f 72 65 | 20 74 68 65 20 27 47 27 |s before| the 'G'|
|000020d0| 20 63 6f 6d 6d 61 6e 64 | 2c 0a 58 09 63 61 6e 27 | command|,.X.can'|
|000020e0| 74 20 67 61 69 6e 20 73 | 70 65 6c 6c 73 20 69 66 |t gain s|pells if|
|000020f0| 20 62 6c 69 6e 64 2f 6e | 6f 20 6c 69 67 68 74 2f | blind/n|o light/|
|00002100| 63 6f 6e 66 75 73 65 64 | 0a 58 6d 6f 72 69 61 31 |confused|.Xmoria1|
|00002110| 2e 63 3a 20 69 6e 66 69 | 6e 69 74 65 20 6c 6f 6f |.c: infi|nite loo|
|00002120| 70 20 65 6e 74 65 72 65 | 64 20 77 69 74 68 20 27 |p entere|d with '|
|00002130| 69 64 27 20 61 6e 64 20 | 73 63 72 65 65 6e 5f 63 |id' and |screen_c|
|00002140| 68 61 6e 67 65 2c 20 61 | 6c 73 6f 2c 20 27 6e 27 |hange, a|lso, 'n'|
|00002150| 20 74 6f 0a 58 09 74 68 | 65 20 63 6f 6e 74 69 6e | to.X.th|e contin|
|00002160| 75 69 6e 67 20 77 69 74 | 68 20 69 6e 76 65 6e 74 |uing wit|h invent|
|00002170| 6f 72 79 20 70 72 6f 6d | 70 74 20 64 69 64 20 6e |ory prom|pt did n|
|00002180| 6f 74 20 77 6f 72 6b 2c | 20 6d 75 73 74 20 63 6c |ot work,| must cl|
|00002190| 65 61 72 0a 58 09 64 6f | 69 6e 67 5f 69 6e 76 65 |ear.X.do|ing_inve|
|000021a0| 6e 20 62 65 66 6f 72 65 | 20 72 65 74 75 72 6e 69 |n before| returni|
|000021b0| 6e 67 20 66 72 6f 6d 20 | 69 6e 76 65 6e 5f 63 6f |ng from |inven_co|
|000021c0| 6d 6d 61 6e 64 28 29 20 | 69 6e 20 74 68 65 73 65 |mmand() |in these|
|000021d0| 20 63 61 73 65 73 0a 58 | 64 65 73 63 2e 63 3a 20 | cases.X|desc.c: |
|000021e0| 69 64 65 6e 74 69 66 79 | 28 29 2c 20 64 6f 6e 27 |identify|(), don'|
|000021f0| 74 20 6d 65 72 67 65 20 | 69 74 65 6d 73 20 69 6e |t merge |items in|
|00002200| 20 65 71 75 69 70 20 6c | 69 73 74 2c 20 6f 6e 6c | equip l|ist, onl|
|00002210| 79 20 6d 65 72 67 65 20 | 69 74 65 6d 73 20 74 68 |y merge |items th|
|00002220| 61 74 0a 58 09 61 72 65 | 20 73 69 6e 67 6c 65 20 |at.X.are| single |
|00002230| 73 74 61 63 6b 61 62 6c | 65 0a 58 6d 69 73 63 32 |stackabl|e.Xmisc2|
|00002240| 2e 63 3a 20 69 6e 76 65 | 6e 5f 63 61 72 72 79 28 |.c: inve|n_carry(|
|00002250| 29 2c 20 69 6e 76 65 6e | 5f 63 68 65 63 6b 5f 6e |), inven|_check_n|
|00002260| 75 6d 28 29 2c 20 66 69 | 78 20 69 74 65 6d 20 73 |um(), fi|x item s|
|00002270| 74 61 63 6b 69 6e 67 2c | 20 69 74 65 6d 73 20 63 |tacking,| items c|
|00002280| 61 6e 20 6f 6e 6c 79 0a | 58 09 73 74 61 63 6b 20 |an only.|X.stack |
|00002290| 69 66 20 74 68 65 79 20 | 61 72 65 20 62 6f 74 68 |if they |are both|
|000022a0| 20 69 64 65 6e 74 69 66 | 69 65 64 20 6f 72 20 62 | identif|ied or b|
|000022b0| 6f 74 68 20 75 6e 6b 6e | 6f 77 6e 20 28 73 74 6f |oth unkn|own (sto|
|000022c0| 72 65 20 69 74 65 6d 73 | 20 61 72 65 0a 58 09 61 |re items| are.X.a|
|000022d0| 6c 77 61 79 73 20 69 64 | 65 6e 74 69 66 69 65 64 |lways id|entified|
|000022e0| 29 0a 58 63 6f 6e 73 74 | 61 6e 74 2e 68 3a 20 63 |).Xconst|ant.h: c|
|000022f0| 68 61 6e 67 65 20 76 65 | 72 73 69 6f 6e 20 6e 75 |hange ve|rsion nu|
|00002300| 6d 62 65 72 20 74 6f 20 | 35 2e 30 2e 31 32 20 61 |mber to |5.0.12 a|
|00002310| 6e 64 20 64 69 73 74 72 | 69 62 75 74 65 0a 58 2d |nd distr|ibute.X-|
|00002320| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 20 31 2f 32 31 |--------|--- 1/21|
|00002330| 0a 58 64 65 73 63 2e 63 | 3a 20 6f 62 6a 64 65 73 |.Xdesc.c|: objdes|
|00002340| 28 29 20 62 75 67 2c 20 | 63 68 61 6e 67 65 20 70 |() bug, |change p|
|00002350| 31 5f 75 73 65 20 3d 20 | 49 47 4e 4f 52 45 44 20 |1_use = |IGNORED |
|00002360| 74 6f 20 70 31 5f 75 73 | 65 20 3d 3d 20 49 47 4e |to p1_us|e == IGN|
|00002370| 4f 52 45 44 0a 58 6d 6f | 72 69 61 32 2e 63 3a 20 |ORED.Xmo|ria2.c: |
|00002380| 6d 6f 76 65 5f 63 68 61 | 72 28 29 2c 20 6d 6f 76 |move_cha|r(), mov|
|00002390| 69 6e 67 20 69 6e 74 6f | 20 61 20 77 61 6c 6c 20 |ing into| a wall |
|000023a0| 69 73 20 6e 6f 20 6c 6f | 6e 67 65 72 20 61 20 66 |is no lo|nger a f|
|000023b0| 72 65 65 20 74 75 72 6e | 0a 58 6d 69 73 63 32 2e |ree turn|.Xmisc2.|
|000023c0| 63 3a 20 67 61 69 6e 5f | 73 70 65 6c 6c 73 28 29 |c: gain_|spells()|
|000023d0| 2c 20 70 72 69 65 73 74 | 73 20 6e 6f 20 6c 6f 6e |, priest|s no lon|
|000023e0| 67 65 72 20 6e 65 65 64 | 20 62 6f 6f 6b 20 62 65 |ger need| book be|
|000023f0| 66 6f 72 65 20 63 61 6e | 20 6c 65 61 72 6e 20 73 |fore can| learn s|
|00002400| 70 65 6c 6c 73 0a 58 09 | 66 72 6f 6d 20 69 74 2c |pells.X.|from it,|
|00002410| 20 6d 61 67 65 73 20 73 | 74 69 6c 6c 20 6e 65 65 | mages s|till nee|
|00002420| 64 20 74 68 65 20 62 6f | 6f 6b 73 2c 20 63 61 6c |d the bo|oks, cal|
|00002430| 63 5f 73 70 65 6c 6c 73 | 28 29 20 64 65 6c 65 74 |c_spells|() delet|
|00002440| 65 20 75 6e 75 73 65 64 | 0a 58 09 76 61 72 20 73 |e unused|.X.var s|
|00002450| 70 65 6c 6c 73 5b 5d 2c | 20 72 65 6d 6f 76 65 20 |pells[],| remove |
|00002460| 6c 69 6d 69 74 20 6f 66 | 20 32 33 20 66 72 6f 6d |limit of| 23 from|
|00002470| 20 6e 75 6d 62 65 72 20 | 6f 66 20 6e 65 77 20 73 | number |of new s|
|00002480| 70 65 6c 6c 73 0a 58 64 | 75 6e 67 65 6f 6e 2e 63 |pells.Xd|ungeon.c|
|00002490| 3a 20 6d 61 64 65 20 73 | 63 72 69 62 65 5f 6f 62 |: made s|cribe_ob|
|000024a0| 6a 65 63 74 28 29 20 61 | 20 66 72 65 65 20 74 75 |ject() a| free tu|
|000024b0| 72 6e 20 61 67 61 69 6e | 0a 58 72 65 63 61 6c 6c |rn again|.Xrecall|
|000024c0| 2e 63 3a 20 6f 6e 6c 79 | 20 70 72 69 6e 74 20 6d |.c: only| print m|
|000024d0| 6f 6e 73 74 65 72 20 73 | 70 65 65 64 20 69 66 20 |onster s|peed if |
|000024e0| 61 74 20 6c 65 61 73 74 | 20 6f 6e 65 20 6d 6f 76 |at least| one mov|
|000024f0| 65 6d 65 6e 74 20 66 6c | 61 67 20 6b 6e 6f 77 6e |ement fl|ag known|
|00002500| 0a 58 75 6e 69 78 2e 63 | 3a 20 6d 69 73 73 69 6e |.Xunix.c|: missin|
|00002510| 67 20 2a 2f 20 61 66 74 | 65 72 20 47 61 6b 6b 21 |g */ aft|er Gakk!|
|00002520| 21 20 2d 43 4a 53 2d 2e | 0a 58 64 65 73 63 2e 63 |! -CJS-.|.Xdesc.c|
|00002530| 3a 20 73 74 61 63 6b 69 | 6e 67 20 64 69 64 20 6e |: stacki|ng did n|
|00002540| 6f 74 20 77 6f 72 6b 20 | 72 69 67 68 74 2c 20 66 |ot work |right, f|
|00002550| 69 78 65 64 20 6b 6e 6f | 77 6e 31 5f 70 28 29 20 |ixed kno|wn1_p() |
|00002560| 74 6f 20 72 65 74 75 72 | 6e 20 4f 44 5f 4b 4e 4f |to retur|n OD_KNO|
|00002570| 57 4e 31 0a 58 09 69 6e | 73 74 65 61 64 20 6f 66 |WN1.X.in|stead of|
|00002580| 20 54 52 55 45 20 66 6f | 72 20 73 74 6f 72 65 20 | TRUE fo|r store |
|00002590| 69 74 65 6d 73 2c 20 73 | 6f 20 74 68 61 74 20 6b |items, s|o that k|
|000025a0| 6e 6f 77 6e 31 5f 70 28 | 29 20 3d 3d 20 6b 6e 6f |nown1_p(|) == kno|
|000025b0| 77 6e 31 5f 70 28 29 0a | 58 09 77 69 6c 6c 20 77 |wn1_p().|X.will w|
|000025c0| 6f 72 6b 20 63 6f 6e 73 | 69 73 74 65 6e 74 6c 79 |ork cons|istently|
|000025d0| 0a 58 6d 6f 6e 73 74 65 | 72 73 2e 63 3a 20 63 72 |.Xmonste|rs.c: cr|
|000025e0| 65 65 70 69 6e 67 20 63 | 6f 69 6e 73 20 68 69 74 |eeping c|oins hit|
|000025f0| 20 69 6e 73 74 65 61 64 | 20 6f 66 20 62 69 74 65 | instead| of bite|
|00002600| 2c 20 61 6e 64 20 74 6f | 75 63 68 20 69 6e 73 74 |, and to|uch inst|
|00002610| 65 61 64 20 6f 66 20 62 | 72 65 61 74 68 0a 58 76 |ead of b|reath.Xv|
|00002620| 61 72 69 61 62 6c 65 2e | 63 3a 20 66 69 78 65 64 |ariable.|c: fixed|
|00002630| 20 70 72 6f 62 6c 65 6d | 73 20 77 69 74 68 20 74 | problem|s with t|
|00002640| 65 6d 70 6c 65 2f 61 6c | 63 68 65 6d 69 73 74 20 |emple/al|chemist |
|00002650| 73 74 6f 72 65 20 69 6e | 76 65 6e 74 6f 72 69 65 |store in|ventorie|
|00002660| 73 0a 58 64 65 73 63 2e | 63 2c 20 73 74 6f 72 65 |s.Xdesc.|c, store|
|00002670| 31 2e 63 3a 20 66 69 78 | 65 64 20 66 6f 6f 64 20 |1.c: fix|ed food |
|00002680| 70 72 69 63 65 73 2c 20 | 6f 6e 6c 79 20 63 68 65 |prices, |only che|
|00002690| 63 6b 20 75 6e 6b 6e 6f | 77 6e 20 69 66 20 73 75 |ck unkno|wn if su|
|000026a0| 62 76 61 6c 20 70 75 74 | 73 20 69 74 0a 58 09 61 |bval put|s it.X.a|
|000026b0| 6d 6f 6e 67 20 74 68 65 | 20 6d 6f 6c 64 73 2f 6d |mong the| molds/m|
|000026c0| 75 73 68 72 6f 6f 6d 73 | 0a 58 2d 2d 2d 2d 2d 2d |ushrooms|.X------|
|000026d0| 2d 2d 2d 2d 2d 2d 2d 20 | 31 2f 32 34 0a 58 6d 69 |------- |1/24.Xmi|
|000026e0| 73 63 32 2e 63 2c 20 74 | 79 70 65 73 2e 68 3a 20 |sc2.c, t|ypes.h: |
|000026f0| 63 68 61 6e 67 65 20 69 | 6e 73 63 72 69 70 20 62 |change i|nscrip b|
|00002700| 61 63 6b 20 74 6f 20 63 | 68 61 72 20 2a 2c 20 66 |ack to c|har *, f|
|00002710| 69 78 20 69 6e 73 63 72 | 69 62 65 28 29 20 74 6f |ix inscr|ibe() to|
|00002720| 20 6d 61 6c 6c 6f 63 0a | 58 09 73 70 61 63 65 20 | malloc.|X.space |
|00002730| 66 6f 72 20 73 74 72 69 | 6e 67 2c 20 61 6e 64 20 |for stri|ng, and |
|00002740| 74 68 65 6e 20 63 6f 70 | 79 20 69 6e 73 63 72 69 |then cop|y inscri|
|00002750| 70 74 69 6f 6e 20 69 6e | 74 6f 20 74 68 65 20 6d |ption in|to the m|
|00002760| 61 6c 6c 6f 63 65 64 20 | 73 70 61 63 65 2c 0a 58 |alloced |space,.X|
|00002770| 73 61 76 65 2e 63 3a 20 | 66 69 78 65 64 20 28 63 |save.c: |fixed (c|
|00002780| 6f 6d 70 61 74 69 62 6c | 79 29 20 74 6f 20 77 72 |ompatibl|y) to wr|
|00002790| 69 74 65 2f 72 65 61 64 | 20 6e 65 77 20 69 6e 73 |ite/read| new ins|
|000027a0| 63 72 69 70 74 69 6f 6e | 73 0a 58 64 65 73 63 2e |cription|s.Xdesc.|
|000027b0| 63 3a 20 66 72 65 65 20 | 6d 61 6c 6c 6f 63 65 64 |c: free |malloced|
|000027c0| 20 69 6e 73 63 72 69 70 | 74 69 6f 6e 20 73 70 61 | inscrip|tion spa|
|000027d0| 63 65 20 69 6e 20 69 6e | 76 63 6f 70 79 0a 58 64 |ce in in|vcopy.Xd|
|000027e0| 65 61 74 68 2e 63 2c 20 | 6d 69 73 63 31 2e 63 3a |eath.c, |misc1.c:|
|000027f0| 20 64 65 6c 65 74 65 20 | 6d 61 78 20 74 63 70 74 | delete |max tcpt|
|00002800| 72 20 63 6f 64 65 0a 58 | 63 6f 6e 73 74 61 6e 74 |r code.X|constant|
|00002810| 2e 68 2c 20 64 65 73 63 | 2e 63 2c 20 6d 69 73 63 |.h, desc|.c, misc|
|00002820| 31 2e 63 3a 20 64 65 66 | 69 6e 65 20 6e 65 77 20 |1.c: def|ine new |
|00002830| 63 6f 6e 73 74 20 49 44 | 5f 53 48 4f 57 5f 54 4f |const ID|_SHOW_TO|
|00002840| 48 49 54 2c 20 69 6e 20 | 6d 61 67 69 63 5f 74 72 |HIT, in |magic_tr|
|00002850| 65 61 73 75 72 65 0a 58 | 09 73 65 74 20 74 68 69 |easure.X|.set thi|
|00002860| 73 20 62 69 74 20 66 6f | 72 20 65 76 65 72 79 20 |s bit fo|r every |
|00002870| 77 65 61 70 6f 6e 2c 64 | 69 67 67 69 6e 67 20 74 |weapon,d|igging t|
|00002880| 6f 6f 6c 2c 6d 69 73 73 | 69 6c 65 2c 62 6f 77 2c |ool,miss|ile,bow,|
|00002890| 20 69 6e 20 6f 62 6a 64 | 65 73 28 29 0a 58 09 70 | in objd|es().X.p|
|000028a0| 72 69 6e 74 20 6f 75 74 | 20 74 6f 68 69 74 2f 74 |rint out| tohit/t|
|000028b0| 6f 64 61 6d 20 69 66 20 | 74 68 69 73 20 62 69 74 |odam if |this bit|
|000028c0| 20 73 65 74 20 61 6e 64 | 20 6f 62 6a 65 63 74 20 | set and| object |
|000028d0| 69 64 65 6e 74 69 66 69 | 65 64 2c 20 74 68 69 73 |identifi|ed, this|
|000028e0| 0a 58 09 6d 61 6b 65 73 | 20 69 74 20 65 61 73 79 |.X.makes| it easy|
|000028f0| 20 74 6f 20 74 65 6c 6c | 20 69 64 65 6e 74 20 77 | to tell| ident w|
|00002900| 65 61 70 6f 6e 73 20 66 | 72 6f 6d 20 75 6e 69 64 |eapons f|rom unid|
|00002910| 65 6e 74 20 77 65 61 70 | 6f 6e 73 0a 58 6d 61 69 |ent weap|ons.Xmai|
|00002920| 6e 2e 63 3a 20 63 68 61 | 72 5f 69 6e 76 65 6e 5f |n.c: cha|r_inven_|
|00002930| 69 6e 69 74 28 29 20 6d | 75 73 74 20 73 65 74 20 |init() m|ust set |
|00002940| 49 44 5f 53 48 4f 57 5f | 54 4f 48 49 54 20 66 6c |ID_SHOW_|TOHIT fl|
|00002950| 61 67 20 66 6f 72 20 69 | 6e 69 74 69 61 6c 20 77 |ag for i|nitial w|
|00002960| 65 61 70 6f 6e 0a 58 64 | 65 61 74 68 2e 63 2c 20 |eapon.Xd|eath.c, |
|00002970| 63 6f 6e 73 74 61 6e 74 | 2e 68 2c 20 6d 69 73 63 |constant|.h, misc|
|00002980| 31 2e 63 3a 20 63 68 61 | 6e 67 65 20 4d 41 58 5f |1.c: cha|nge MAX_|
|00002990| 54 41 4c 4c 4f 43 20 66 | 72 6f 6d 20 32 32 35 20 |TALLOC f|rom 225 |
|000029a0| 74 6f 20 31 35 30 2c 0a | 58 09 64 65 6c 65 74 65 |to 150,.|X.delete|
|000029b0| 20 74 65 6d 70 6f 72 61 | 72 79 20 63 6f 64 65 20 | tempora|ry code |
|000029c0| 77 68 69 63 68 20 70 72 | 69 6e 74 65 64 20 6f 75 |which pr|inted ou|
|000029d0| 74 20 6d 61 78 20 74 63 | 70 74 72 20 76 61 6c 75 |t max tc|ptr valu|
|000029e0| 65 73 0a 58 6d 69 73 63 | 32 2e 63 3a 20 61 6c 6c |es.Xmisc|2.c: all|
|000029f0| 6f 77 20 69 6e 73 63 72 | 69 70 74 69 6f 6e 73 20 |ow inscr|iptions |
|00002a00| 6f 66 20 75 70 20 74 6f | 20 32 34 20 63 68 61 72 |of up to| 24 char|
|00002a10| 61 63 74 65 72 73 0a 58 | 63 6f 6e 73 74 61 6e 74 |acters.X|constant|
|00002a20| 2e 68 3a 20 63 68 61 6e | 67 65 20 76 65 72 73 69 |.h: chan|ge versi|
|00002a30| 6f 6e 20 6e 75 6d 62 65 | 72 20 74 6f 20 35 2e 30 |on numbe|r to 5.0|
|00002a40| 2e 31 33 20 61 6e 64 20 | 64 69 73 74 72 69 62 75 |.13 and |distribu|
|00002a50| 74 65 0a 58 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |te.X----|--------|
|00002a60| 2d 2d 20 31 2f 32 36 0a | 58 77 69 7a 61 72 64 2e |-- 1/26.|Xwizard.|
|00002a70| 63 3a 20 77 69 7a 61 72 | 64 5f 63 72 65 61 74 65 |c: wizar|d_create|
|00002a80| 28 29 2c 20 69 6e 69 74 | 69 61 6c 69 7a 65 20 74 |(), init|ialize t|
|00002a90| 68 65 20 6e 61 6d 65 32 | 20 61 6e 64 20 69 6e 73 |he name2| and ins|
|00002aa0| 63 72 69 70 20 66 69 65 | 6c 64 73 20 74 6f 20 30 |crip fie|lds to 0|
|00002ab0| 2c 0a 58 09 69 6e 69 74 | 20 74 68 65 20 69 64 65 |,.X.init| the ide|
|00002ac0| 6e 74 20 66 69 65 6c 64 | 20 74 6f 20 6b 6e 6f 77 |nt field| to know|
|00002ad0| 6e 32 20 61 6e 64 20 73 | 74 6f 72 65 62 6f 75 67 |n2 and s|toreboug|
|00002ae0| 68 74 0a 58 63 6f 6e 73 | 74 61 6e 74 2e 68 3a 20 |ht.Xcons|tant.h: |
|00002af0| 63 68 61 6e 67 65 64 20 | 4d 41 58 5f 54 49 54 4c |changed |MAX_TITL|
|00002b00| 45 53 20 66 72 6f 6d 20 | 36 30 20 74 6f 20 34 35 |ES from |60 to 45|
|00002b10| 0a 58 64 65 73 63 2e 63 | 3a 20 6d 61 67 69 63 5f |.Xdesc.c|: magic_|
|00002b20| 69 6e 69 74 28 29 2c 20 | 77 72 6f 74 65 20 74 6f |init(), |wrote to|
|00002b30| 20 61 20 63 68 61 72 20 | 2a 74 6d 70 3b 20 6d 6f | a char |*tmp; mo|
|00002b40| 64 69 66 69 65 64 20 74 | 6f 20 77 72 69 74 65 20 |dified t|o write |
|00002b50| 74 6f 20 61 20 76 74 79 | 70 65 20 73 74 72 69 6e |to a vty|pe strin|
|00002b60| 67 0a 58 72 65 63 61 6c | 6c 2e 63 3a 20 63 68 61 |g.Xrecal|l.c: cha|
|00002b70| 6e 67 65 20 70 72 69 6e | 74 69 6e 67 20 6f 66 20 |nge prin|ting of |
|00002b80| 74 72 65 61 73 75 72 65 | 20 61 67 61 69 6e 2c 20 |treasure| again, |
|00002b90| 6f 6e 6c 79 20 70 72 69 | 6e 74 20 27 73 6f 6d 65 |only pri|nt 'some|
|00002ba0| 74 69 6d 65 73 27 20 69 | 73 20 36 30 25 20 69 73 |times' i|s 60% is|
|00002bb0| 0a 58 09 6f 6e 6c 79 20 | 62 69 74 20 73 65 74 2c |.X.only |bit set,|
|00002bc0| 20 6f 74 68 65 72 77 69 | 73 65 20 61 6c 77 61 79 | otherwi|se alway|
|00002bd0| 73 20 70 72 69 6e 74 20 | 27 6f 66 74 65 6e 27 20 |s print |'often' |
|00002be0| 69 66 20 6f 6e 6c 79 20 | 6f 6e 65 20 6f 62 6a 65 |if only |one obje|
|00002bf0| 63 74 2c 20 66 6f 72 0a | 58 09 74 77 6f 20 6f 62 |ct, for.|X.two ob|
|00002c00| 6a 65 63 74 73 2c 20 70 | 72 69 6e 74 20 27 6f 66 |jects, p|rint 'of|
|00002c10| 74 65 6e 27 20 6f 6e 6c | 79 20 69 66 20 36 30 25 |ten' onl|y if 60%|
|00002c20| 20 61 6e 64 20 39 30 25 | 20 61 72 65 20 6f 6e 6c | and 90%| are onl|
|00002c30| 79 20 62 69 74 73 20 73 | 65 74 0a 58 73 63 72 6f |y bits s|et.Xscro|
|00002c40| 6c 6c 73 2e 63 3a 20 72 | 65 63 68 61 72 67 65 20 |lls.c: r|echarge |
|00002c50| 73 63 72 6f 6c 6c 73 20 | 6e 6f 74 20 75 73 65 64 |scrolls |not used|
|00002c60| 20 75 70 20 77 68 65 6e | 20 72 65 61 64 2c 20 66 | up when| read, f|
|00002c70| 69 78 65 64 20 73 65 74 | 74 69 6e 67 20 6f 66 20 |ixed set|ting of |
|00002c80| 75 73 65 64 5f 75 70 0a | 58 73 70 65 6c 6c 73 2e |used_up.|Xspells.|
|00002c90| 63 3a 20 72 65 73 20 3d | 20 54 52 55 45 3b 20 6d |c: res =| TRUE; m|
|00002ca0| 6f 76 65 64 20 6f 75 74 | 20 6f 66 20 69 66 2d 73 |oved out| of if-s|
|00002cb0| 74 6d 74 20 73 6f 20 6f | 6e 6c 79 20 6e 65 65 64 |tmt so o|nly need|
|00002cc0| 65 64 20 6f 6e 63 65 0a | 58 74 72 65 61 73 75 72 |ed once.|Xtreasur|
|00002cd0| 65 2e 63 3a 20 63 68 61 | 6e 67 65 20 77 69 7a 20 |e.c: cha|nge wiz |
|00002ce0| 6f 62 6a 20 6e 61 6d 65 | 20 66 72 6f 6d 20 22 26 |obj name| from "&|
|00002cf0| 20 77 69 7a 61 72 64 20 | 6f 62 6a 65 63 74 22 20 | wizard |object" |
|00002d00| 74 6f 20 22 7b 77 69 7a | 61 72 64 20 6f 62 6a 65 |to "{wiz|ard obje|
|00002d10| 63 74 7d 22 0a 58 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |ct}".X--|--------|
|00002d20| 20 31 2f 32 39 0a 58 6d | 6f 72 69 61 32 2e 63 3a | 1/29.Xm|oria2.c:|
|00002d30| 20 74 75 6e 6e 65 6c 28 | 29 2c 20 67 69 76 65 20 | tunnel(|), give |
|00002d40| 70 6c 61 79 65 72 20 61 | 74 74 61 63 6b 20 6f 6e |player a|ttack on|
|00002d50| 20 63 72 65 61 74 75 72 | 65 20 69 66 20 69 74 20 | creatur|e if it |
|00002d60| 69 73 20 69 6e 20 74 68 | 65 20 77 61 79 0a 58 6d |is in th|e way.Xm|
|00002d70| 69 73 63 32 2e 63 3a 20 | 67 61 69 6e 5f 73 70 65 |isc2.c: |gain_spe|
|00002d80| 6c 6c 28 29 2c 20 72 65 | 6d 6f 76 65 20 6c 69 6d |ll(), re|move lim|
|00002d90| 69 74 20 6f 66 20 32 32 | 20 6f 6e 20 6c 65 61 72 |it of 22| on lear|
|00002da0| 6e 69 6e 67 20 73 70 65 | 6c 6c 73 2c 20 66 69 78 |ning spe|lls, fix|
|00002db0| 20 70 72 69 6e 74 5f 73 | 70 65 6c 6c 73 0a 58 09 | print_s|pells.X.|
|00002dc0| 73 6f 20 74 68 61 74 20 | 69 74 20 77 69 6c 6c 20 |so that |it will |
|00002dd0| 6f 6e 6c 79 20 73 68 6f | 77 20 74 68 65 20 66 69 |only sho|w the fi|
|00002de0| 72 73 74 20 32 32 20 73 | 70 65 6c 6c 73 0a 58 63 |rst 22 s|pells.Xc|
|00002df0| 6f 6e 73 74 61 6e 74 2e | 68 2c 20 64 65 73 63 2e |onstant.|h, desc.|
|00002e00| 63 2c 20 6d 69 73 63 31 | 2e 63 3a 20 63 68 61 6e |c, misc1|.c: chan|
|00002e10| 67 65 20 49 44 5f 53 48 | 4f 57 5f 54 4f 48 49 54 |ge ID_SH|OW_TOHIT|
|00002e20| 20 74 6f 20 49 44 5f 53 | 48 4f 57 5f 48 49 54 44 | to ID_S|HOW_HITD|
|00002e30| 41 4d 2c 20 73 65 74 20 | 74 68 69 73 0a 58 09 62 |AM, set |this.X.b|
|00002e40| 69 74 20 66 6f 72 20 67 | 61 75 6e 74 6c 65 74 2f |it for g|auntlet/|
|00002e50| 72 69 6e 67 73 20 6f 66 | 20 73 6c 61 79 69 6e 67 |rings of| slaying|
|00002e60| 2c 20 61 6e 64 20 69 72 | 72 69 74 61 74 69 6f 6e |, and ir|ritation|
|00002e70| 2f 65 6e 76 65 6c 6f 70 | 69 6e 67 20 63 6c 6f 61 |/envelop|ing cloa|
|00002e80| 6b 73 2c 0a 58 09 66 69 | 78 20 6f 62 6a 64 65 73 |ks,.X.fi|x objdes|
|00002e90| 28 29 20 73 6f 20 74 68 | 61 74 20 69 74 20 6f 6e |() so th|at it on|
|00002ea0| 6c 79 20 70 72 69 6e 74 | 73 20 62 6f 74 68 20 74 |ly print|s both t|
|00002eb0| 6f 68 69 74 2f 74 6f 64 | 61 6d 20 69 66 20 74 68 |ohit/tod|am if th|
|00002ec0| 69 73 20 62 69 74 20 69 | 73 20 73 65 74 0a 58 09 |is bit i|s set.X.|
|00002ed0| 6f 74 68 65 72 77 69 73 | 65 2c 20 6f 6e 6c 79 20 |otherwis|e, only |
|00002ee0| 70 72 69 6e 74 73 20 6f | 6e 65 20 6e 75 6d 62 65 |prints o|ne numbe|
|00002ef0| 72 2c 20 69 66 20 65 69 | 74 68 65 72 20 6f 66 20 |r, if ei|ther of |
|00002f00| 74 6f 68 69 74 2f 74 6f | 64 61 6d 20 6e 6f 6e 7a |tohit/to|dam nonz|
|00002f10| 65 72 6f 0a 58 64 65 73 | 63 2e 63 2c 20 74 72 65 |ero.Xdes|c.c, tre|
|00002f20| 61 73 75 72 65 2e 63 3a | 20 72 65 6d 6f 76 65 20 |asure.c:| remove |
|00002f30| 22 74 68 65 20 65 6e 74 | 72 61 6e 63 65 20 74 6f |"the ent|rance to|
|00002f40| 20 74 68 65 20 22 20 66 | 72 6f 6d 20 73 74 6f 72 | the " f|rom stor|
|00002f50| 65 20 64 6f 6f 72 73 20 | 61 6e 64 20 70 75 74 0a |e doors |and put.|
|00002f60| 58 09 69 6e 20 6f 62 6a | 64 65 73 28 29 20 69 6e |X.in obj|des() in|
|00002f70| 20 64 65 73 63 2e 63 0a | 58 6d 69 73 63 32 2e 63 | desc.c.|Xmisc2.c|
|00002f80| 3a 20 70 75 74 5f 6d 69 | 73 63 32 28 29 2c 20 61 |: put_mi|sc2(), a|
|00002f90| 64 64 20 22 45 78 70 20 | 74 6f 20 41 64 76 2e 22 |dd "Exp |to Adv."|
|00002fa0| 20 74 6f 20 63 68 61 72 | 61 63 74 65 72 20 64 69 | to char|acter di|
|00002fb0| 73 70 6c 61 79 0a 58 63 | 6f 6e 73 74 61 6e 74 2e |splay.Xc|onstant.|
|00002fc0| 68 2c 20 64 65 73 63 2e | 63 2c 20 6d 69 73 63 31 |h, desc.|c, misc1|
|00002fd0| 2e 63 3a 20 61 64 64 65 | 64 20 64 65 66 69 6e 65 |.c: adde|d define|
|00002fe0| 73 20 66 6f 72 20 49 44 | 5f 4e 4f 53 48 4f 57 5f |s for ID|_NOSHOW_|
|00002ff0| 50 31 20 61 6e 64 20 49 | 44 5f 53 48 4f 57 5f 50 |P1 and I|D_SHOW_P|
|00003000| 31 0a 58 09 74 6f 20 69 | 6d 70 72 6f 76 65 20 70 |1.X.to i|mprove p|
|00003010| 72 69 6e 74 69 6e 67 20 | 6f 66 20 6f 62 6a 65 63 |rinting |of objec|
|00003020| 74 20 6e 61 6d 65 73 2c | 20 6f 62 6a 64 65 73 28 |t names,| objdes(|
|00003030| 29 20 61 6c 77 61 79 73 | 20 70 72 69 6e 74 73 20 |) always| prints |
|00003040| 70 31 20 69 66 0a 58 09 | 49 44 5f 53 48 4f 57 5f |p1 if.X.|ID_SHOW_|
|00003050| 50 31 20 73 65 74 2c 20 | 61 6e 64 20 6e 65 76 65 |P1 set, |and neve|
|00003060| 72 20 70 72 69 6e 74 73 | 20 69 74 20 69 66 20 4e |r prints| it if N|
|00003070| 4f 53 48 4f 57 20 73 65 | 74 2c 20 74 68 65 73 65 |OSHOW se|t, these|
|00003080| 20 6f 76 65 72 72 69 64 | 65 0a 58 09 74 68 65 20 | overrid|e.X.the |
|00003090| 64 65 66 61 75 6c 74 20 | 70 31 5f 75 73 65 20 73 |default |p1_use s|
|000030a0| 65 74 74 69 6e 67 2c 20 | 4e 4f 53 48 4f 57 20 61 |etting, |NOSHOW a|
|000030b0| 64 64 65 64 20 74 6f 20 | 73 75 73 74 61 69 6e 20 |dded to |sustain |
|000030c0| 73 74 61 74 20 72 69 6e | 67 73 2c 0a 58 09 53 48 |stat rin|gs,.X.SH|
|000030d0| 4f 57 20 61 64 64 65 64 | 20 74 6f 20 63 6c 75 6d |OW added| to clum|
|000030e0| 73 79 2f 77 65 61 6b 20 | 67 6c 6f 76 65 73 2c 20 |sy/weak |gloves, |
|000030f0| 62 6f 6f 74 73 20 6f 66 | 20 73 70 65 65 64 2f 73 |boots of| speed/s|
|00003100| 74 65 61 6c 74 68 2f 73 | 6c 6f 77 6e 65 73 73 2c |tealth/s|lowness,|
|00003110| 0a 58 09 68 65 6c 6d 73 | 20 6f 66 20 69 6e 74 2f |.X.helms| of int/|
|00003120| 77 69 73 2f 69 6e 66 72 | 61 2f 6d 69 67 68 74 2f |wis/infr|a/might/|
|00003130| 6c 6f 72 64 6c 69 6e 65 | 73 73 2f 6d 61 67 69 2f |lordline|ss/magi/|
|00003140| 62 65 61 75 74 79 2f 73 | 65 65 69 6e 67 2f 0a 58 |beauty/s|eeing/.X|
|00003150| 09 73 74 75 70 69 64 2f | 64 75 6c 6c 2f 77 65 61 |.stupid/|dull/wea|
|00003160| 6b 2f 75 67 6c 79 2c 20 | 63 6c 6f 61 6b 73 20 6f |k/ugly, |cloaks o|
|00003170| 66 20 73 74 65 61 6c 74 | 68 0a 58 63 72 65 61 74 |f stealt|h.Xcreat|
|00003180| 75 72 65 2e 63 3a 20 69 | 6e 63 72 65 61 73 65 20 |ure.c: i|ncrease |
|00003190| 65 66 66 65 63 74 20 6f | 66 20 61 67 67 72 61 76 |effect o|f aggrav|
|000031a0| 61 74 65 5f 6d 6f 6e 73 | 74 65 72 20 61 74 74 61 |ate_mons|ter atta|
|000031b0| 63 6b 20 66 72 6f 6d 20 | 72 61 6e 67 65 20 6f 66 |ck from |range of|
|000031c0| 20 35 20 74 6f 20 32 30 | 0a 58 73 70 65 6c 6c 73 | 5 to 20|.Xspells|
|000031d0| 2e 63 3a 20 64 69 73 70 | 65 6c 5f 63 72 65 61 74 |.c: disp|el_creat|
|000031e0| 75 72 65 28 29 2c 20 70 | 72 74 5f 65 78 70 28 29 |ure(), p|rt_exp()|
|000031f0| 20 77 61 73 20 6f 6e 6c | 79 20 63 61 6c 6c 65 64 | was onl|y called|
|00003200| 20 77 68 65 6e 20 76 69 | 73 69 62 6c 65 20 63 72 | when vi|sible cr|
|00003210| 65 61 74 75 72 65 73 0a | 58 09 64 69 65 64 2c 20 |eatures.|X.died, |
|00003220| 6e 6f 77 20 61 6c 77 61 | 79 73 20 63 61 6c 6c 65 |now alwa|ys calle|
|00003230| 64 20 77 68 65 6e 20 63 | 72 65 61 74 75 72 65 20 |d when c|reature |
|00003240| 64 69 65 73 0a 58 6d 69 | 73 63 31 2e 63 3a 20 61 |dies.Xmi|sc1.c: a|
|00003250| 64 64 65 64 20 6d 65 73 | 73 61 67 65 73 20 74 6f |dded mes|sages to|
|00003260| 20 63 6f 6d 70 61 63 74 | 5f 6f 62 6a 65 63 74 73 | compact|_objects|
|00003270| 28 29 20 61 6e 64 20 63 | 6f 6d 70 61 63 74 5f 6d |() and c|ompact_m|
|00003280| 6f 6e 73 74 65 72 73 28 | 29 20 73 6f 20 74 68 61 |onsters(|) so tha|
|00003290| 74 0a 58 09 63 61 6e 20 | 74 65 6c 6c 20 69 66 20 |t.X.can |tell if |
|000032a0| 74 68 65 79 20 61 72 65 | 20 65 76 65 72 20 63 61 |they are| ever ca|
|000032b0| 6c 6c 65 64 0a 58 73 74 | 6f 72 65 31 2e 63 3a 20 |lled.Xst|ore1.c: |
|000032c0| 72 69 6e 67 73 2f 61 6d | 75 6c 65 74 73 20 77 68 |rings/am|ulets wh|
|000032d0| 69 63 68 20 61 72 65 20 | 6e 6f 74 20 6b 6e 6f 77 |ich are |not know|
|000032e0| 6e 32 20 6e 6f 77 20 68 | 61 76 65 20 62 61 73 65 |n2 now h|ave base|
|000032f0| 20 76 61 6c 75 65 20 66 | 72 6f 6d 20 6f 62 6a 65 | value f|rom obje|
|00003300| 63 74 0a 58 09 6c 69 73 | 74 20 69 6e 73 74 65 61 |ct.X.lis|t instea|
|00003310| 64 20 6f 66 20 72 65 61 | 6c 20 76 61 6c 75 65 0a |d of rea|l value.|
|00003320| 58 6d 6f 72 69 61 32 2e | 63 2c 20 73 74 61 66 66 |Xmoria2.|c, staff|
|00003330| 73 2e 63 2c 20 77 61 6e | 64 73 2e 63 3a 20 63 61 |s.c, wan|ds.c: ca|
|00003340| 73 74 20 6c 65 76 65 6c | 20 74 6f 20 69 6e 74 2c |st level| to int,|
|00003350| 20 73 6f 20 74 68 61 74 | 20 63 61 6c 63 75 6c 61 | so that| calcula|
|00003360| 74 69 6f 6e 73 20 77 69 | 6c 6c 20 62 65 0a 58 09 |tions wi|ll be.X.|
|00003370| 64 6f 6e 65 20 77 69 74 | 68 20 73 69 67 6e 65 64 |done wit|h signed|
|00003380| 20 61 72 69 74 68 6d 65 | 74 69 63 2c 20 69 6e 20 | arithme|tic, in |
|00003390| 6f 70 65 6e 6f 62 6a 65 | 63 74 28 29 20 63 68 61 |openobje|ct() cha|
|000033a0| 6e 67 65 20 63 68 61 6e | 63 65 20 6f 66 20 6f 70 |nge chan|ce of op|
|000033b0| 65 6e 69 6e 67 0a 58 09 | 61 20 63 68 65 73 74 2c |ening.X.|a chest,|
|000033c0| 20 69 6e 73 74 65 61 64 | 20 6f 66 20 2d 32 2a 6c | instead| of -2*l|
|000033d0| 65 76 65 6c 20 75 73 65 | 20 2d 6c 65 76 65 6c 2c |evel use| -level,|
|000033e0| 20 74 68 69 73 20 68 65 | 6c 70 20 65 6c 69 6d 69 | this he|lp elimi|
|000033f0| 6e 61 74 65 20 63 68 65 | 73 74 73 0a 58 09 77 68 |nate che|sts.X.wh|
|00003400| 69 63 68 20 61 72 65 20 | 69 6d 70 6f 73 73 69 62 |ich are |impossib|
|00003410| 6c 65 20 74 6f 20 6f 70 | 65 6e 0a 58 2d 2d 2d 2d |le to op|en.X----|
|00003420| 2d 2d 2d 2d 2d 20 31 2f | 33 30 0a 58 72 65 63 61 |----- 1/|30.Xreca|
|00003430| 6c 6c 2e 63 3a 20 70 72 | 69 6e 74 20 27 20 61 74 |ll.c: pr|int ' at|
|00003440| 20 6e 6f 72 6d 61 6c 20 | 73 70 65 65 64 27 20 66 | normal |speed' f|
|00003450| 6f 72 20 6d 6f 6e 73 74 | 65 72 73 20 77 69 74 68 |or monst|ers with|
|00003460| 20 6d 73 70 65 65 64 20 | 3d 20 31 0a 58 2d 2d 2d | mspeed |= 1.X---|
|00003470| 2d 2d 2d 2d 2d 2d 20 32 | 2f 31 30 0a 58 73 70 65 |------ 2|/10.Xspe|
|00003480| 6c 6c 73 2e 63 3a 20 74 | 75 72 6e 5f 75 6e 64 65 |lls.c: t|urn_unde|
|00003490| 61 64 2c 20 73 70 65 65 | 64 5f 6d 6f 6e 73 74 65 |ad, spee|d_monste|
|000034a0| 72 73 2c 20 73 6c 65 65 | 70 5f 6d 6f 6e 73 74 65 |rs, slee|p_monste|
|000034b0| 72 73 32 2c 20 61 6e 64 | 20 64 69 73 70 65 6c 5f |rs2, and| dispel_|
|000034c0| 63 72 65 61 74 75 72 65 | 0a 58 09 6d 6f 64 69 66 |creature|.X.modif|
|000034d0| 69 65 64 20 73 6f 20 74 | 68 61 74 20 74 68 65 79 |ied so t|hat they|
|000034e0| 20 6f 6e 6c 79 20 61 66 | 66 65 63 74 20 63 72 65 | only af|fect cre|
|000034f0| 61 74 75 72 65 73 20 69 | 6e 20 6c 6f 73 20 6f 66 |atures i|n los of|
|00003500| 20 70 6c 61 79 65 72 0a | 58 65 78 74 65 72 6e 73 | player.|Xexterns|
|00003510| 2e 68 2c 20 6d 69 73 63 | 32 2e 63 2c 20 76 61 72 |.h, misc|2.c, var|
|00003520| 69 61 62 6c 65 2e 63 3a | 20 6e 65 77 20 61 72 72 |iable.c:| new arr|
|00003530| 61 79 20 73 70 65 6c 6c | 5f 6f 72 64 65 72 5b 5d |ay spell|_order[]|
|00003540| 2c 20 68 6f 6c 64 73 20 | 6f 72 64 65 72 20 69 6e |, holds |order in|
|00003550| 20 77 68 69 63 68 0a 58 | 09 73 70 65 6c 6c 73 20 | which.X|.spells |
|00003560| 61 72 65 20 6c 65 61 72 | 6e 65 64 2c 20 69 6e 20 |are lear|ned, in |
|00003570| 63 61 6c 63 5f 73 70 65 | 6c 6c 28 29 20 73 70 65 |calc_spe|ll() spe|
|00003580| 6c 6c 73 20 61 72 65 20 | 6e 6f 77 20 72 65 6d 65 |lls are |now reme|
|00003590| 6d 62 65 72 65 64 20 69 | 6e 0a 58 09 74 68 65 20 |mbered i|n.X.the |
|000035a0| 6f 72 64 65 72 20 74 68 | 61 74 20 74 68 65 79 20 |order th|at they |
|000035b0| 77 65 72 65 20 6c 65 61 | 72 6e 65 64 2c 20 61 6e |were lea|rned, an|
|000035c0| 64 20 66 6f 72 67 6f 74 | 74 65 6e 20 69 6e 20 74 |d forgot|ten in t|
|000035d0| 68 65 20 72 65 76 65 72 | 73 65 20 6f 72 64 65 72 |he rever|se order|
|000035e0| 0a 58 09 6c 65 61 72 6e | 65 64 2c 20 69 6e 20 67 |.X.learn|ed, in g|
|000035f0| 61 69 6e 5f 73 70 65 6c | 6c 28 29 20 6d 75 73 74 |ain_spel|l() must|
|00003600| 20 6d 6f 64 69 66 79 20 | 73 70 65 6c 6c 5f 6f 72 | modify |spell_or|
|00003610| 64 65 72 20 77 68 65 6e | 20 73 70 65 6c 6c 20 6c |der when| spell l|
|00003620| 65 61 72 6e 65 64 0a 58 | 6d 61 69 6e 2e 63 3a 20 |earned.X|main.c: |
|00003630| 73 70 65 6c 6c 5f 6f 72 | 64 65 72 20 69 6e 69 74 |spell_or|der init|
|00003640| 69 61 6c 69 7a 65 64 20 | 69 6e 20 69 6e 76 65 6e |ialized |in inven|
|00003650| 5f 63 68 61 72 5f 69 6e | 69 74 20 74 6f 20 61 6c |_char_in|it to al|
|00003660| 6c 20 39 39 73 0a 58 73 | 61 76 65 2e 63 3a 20 73 |l 99s.Xs|ave.c: s|
|00003670| 61 76 65 2f 72 65 73 74 | 6f 72 65 20 73 70 65 6c |ave/rest|ore spel|
|00003680| 6c 5f 6f 72 64 65 72 2c | 20 66 6f 72 20 70 61 74 |l_order,| for pat|
|00003690| 63 68 5f 6c 65 76 65 6c | 20 3c 3d 20 31 33 20 73 |ch_level| <= 13 s|
|000036a0| 61 76 65 66 69 6c 65 73 | 20 63 72 65 61 74 65 0a |avefiles| create.|
|000036b0| 58 09 61 20 72 65 61 73 | 6f 6e 61 62 6c 65 20 73 |X.a reas|onable s|
|000036c0| 70 65 6c 6c 5f 6f 72 64 | 65 72 20 6f 6e 20 74 68 |pell_ord|er on th|
|000036d0| 65 20 66 6c 79 0a 58 6d | 69 73 63 32 2e 63 3a 20 |e fly.Xm|isc2.c: |
|000036e0| 77 61 73 20 65 72 61 73 | 69 6e 67 20 77 72 6f 6e |was eras|ing wron|
|000036f0| 67 20 6c 69 6e 65 20 69 | 6e 20 67 61 69 6e 5f 73 |g line i|n gain_s|
|00003700| 70 65 6c 6c 73 2c 20 63 | 68 61 6e 67 65 20 60 6a |pells, c|hange `j|
|00003710| 2b 32 27 20 74 6f 20 60 | 6a 2b 31 27 0a 58 61 6c |+2' to `|j+1'.Xal|
|00003720| 6c 3a 20 63 68 61 6e 67 | 65 20 66 69 6c 65 20 6e |l: chang|e file n|
|00003730| 61 6d 65 73 20 74 6f 20 | 62 65 20 38 2e 33 20 63 |ames to |be 8.3 c|
|00003740| 68 61 72 61 63 74 65 72 | 73 20 6c 6f 6e 67 0a 58 |haracter|s long.X|
|00003750| 63 6f 6e 73 74 61 6e 74 | 2e 68 3a 20 63 68 61 6e |constant|.h: chan|
|00003760| 67 65 20 76 65 72 73 69 | 6f 6e 20 6e 75 6d 62 65 |ge versi|on numbe|
|00003770| 72 20 74 6f 20 35 2e 30 | 2e 31 34 20 61 6e 64 20 |r to 5.0|.14 and |
|00003780| 72 65 6c 65 61 73 65 0a | 58 2d 2d 2d 2d 2d 2d 2d |release.|X-------|
|00003790| 2d 2d 2d 20 32 2f 31 30 | 0a 58 64 75 6e 67 65 6f |--- 2/10|.Xdungeo|
|000037a0| 6e 2e 63 3a 20 63 68 61 | 6e 67 65 20 72 6f 67 75 |n.c: cha|nge rogu|
|000037b0| 65 2d 6c 69 6b 65 20 77 | 69 7a 20 68 65 6c 70 20 |e-like w|iz help |
|000037c0| 6b 65 79 20 66 72 6f 6d | 20 5e 3f 20 74 6f 20 5c |key from| ^? to \|
|000037d0| 0a 58 61 6c 6c 3a 20 6d | 65 72 67 65 64 20 69 6e |.Xall: m|erged in|
|000037e0| 20 4d 61 63 20 73 6f 75 | 72 63 65 73 2c 20 61 6c | Mac sou|rces, al|
|000037f0| 6c 20 69 6e 69 74 69 61 | 6c 69 7a 65 64 20 76 61 |l initia|lized va|
|00003800| 72 69 61 62 6c 65 73 20 | 61 72 65 20 6e 6f 77 20 |riables |are now |
|00003810| 69 6e 20 76 61 72 69 61 | 62 6c 65 2e 63 2c 0a 58 |in varia|ble.c,.X|
|00003820| 09 72 65 61 72 72 61 6e | 67 65 64 20 64 69 72 65 |.rearran|ged dire|
|00003830| 63 74 6f 72 79 20 73 74 | 72 75 63 74 75 72 65 0a |ctory st|ructure.|
|00003840| 58 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 20 32 2f 31 31 |X-------|--- 2/11|
|00003850| 0a 58 61 6c 6c 3a 20 6d | 65 72 67 65 64 20 69 6e |.Xall: m|erged in|
|00003860| 20 56 4d 53 20 73 6f 75 | 72 63 65 73 0a 58 63 68 | VMS sou|rces.Xch|
|00003870| 61 6e 67 65 64 20 74 6f | 20 35 2e 30 2e 31 35 20 |anged to| 5.0.15 |
|00003880| 61 6e 64 20 64 69 73 74 | 72 69 62 75 74 65 0a 58 |and dist|ribute.X|
|00003890| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 20 32 2f 31 33 0a 58 |--------|- 2/13.X|
|000038a0| 6d 6f 72 69 61 32 2e 63 | 3a 20 63 61 72 72 79 28 |moria2.c|: carry(|
|000038b0| 29 2c 20 70 72 69 6e 74 | 65 64 20 27 77 6f 72 74 |), print|ed 'wort|
|000038c0| 68 20 6f 66 20 65 6d 65 | 72 61 6c 64 73 2e 2e 27 |h of eme|ralds..'|
|000038d0| 20 72 65 6d 6f 76 65 64 | 20 27 2e 27 20 66 72 6f | removed| '.' fro|
|000038e0| 6d 20 73 74 72 69 6e 67 | 0a 58 64 65 73 63 2e 63 |m string|.Xdesc.c|
|000038f0| 3a 20 63 72 6f 77 6e 73 | 20 64 69 64 20 6e 6f 74 |: crowns| did not|
|00003900| 20 70 72 69 6e 74 20 6f | 75 74 20 41 43 20 62 65 | print o|ut AC be|
|00003910| 63 61 75 73 65 20 69 74 | 20 69 73 20 7a 65 72 6f |cause it| is zero|
|00003920| 2c 20 61 64 64 20 73 70 | 65 63 69 61 6c 20 63 61 |, add sp|ecial ca|
|00003930| 73 65 0a 58 09 74 6f 20 | 6f 62 6a 64 65 73 28 29 |se.X.to |objdes()|
|00003940| 20 73 6f 20 74 68 61 74 | 20 74 76 61 6c 20 3d 3d | so that| tval ==|
|00003950| 20 33 33 20 28 63 72 6f | 77 6e 73 29 20 61 6c 77 | 33 (cro|wns) alw|
|00003960| 61 79 73 20 68 61 76 65 | 20 41 43 20 70 72 69 6e |ays have| AC prin|
|00003970| 74 65 64 20 6f 75 74 2c | 0a 58 09 63 68 61 6e 67 |ted out,|.X.chang|
|00003980| 65 20 28 2b 35 20 63 68 | 61 72 67 65 73 29 20 74 |e (+5 ch|arges) t|
|00003990| 6f 20 28 35 20 63 68 61 | 72 67 65 73 29 0a 58 2d |o (5 cha|rges).X-|
|000039a0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 20 32 2f 31 34 0a |--------|-- 2/14.|
|000039b0| 58 6d 6f 72 69 61 32 2e | 63 3a 20 69 6e 76 65 6e |Xmoria2.|c: inven|
|000039c0| 5f 74 68 72 6f 77 28 29 | 20 63 72 65 61 74 65 64 |_throw()| created|
|000039d0| 20 73 65 63 6f 6e 64 20 | 63 6f 70 79 20 6f 66 20 | second |copy of |
|000039e0| 70 6f 69 6e 74 65 72 20 | 74 6f 20 6d 61 6c 6c 6f |pointer |to mallo|
|000039f0| 63 65 64 0a 58 09 69 6e | 73 63 72 69 70 74 69 6f |ced.X.in|scriptio|
|00003a00| 6e 2c 20 69 74 20 6e 6f | 77 20 63 72 65 61 74 65 |n, it no|w create|
|00003a10| 73 20 6e 65 77 20 69 6e | 73 63 72 69 70 74 69 6f |s new in|scriptio|
|00003a20| 6e 20 66 6f 72 20 6e 65 | 77 20 6f 62 6a 65 63 74 |n for ne|w object|
|00003a30| 0a 58 6d 6f 72 69 61 31 | 2e 63 3a 20 69 6e 76 65 |.Xmoria1|.c: inve|
|00003a40| 6e 5f 63 6f 6d 6d 61 6e | 64 28 29 2c 20 77 65 61 |n_comman|d(), wea|
|00003a50| 72 20 6f 70 74 69 6f 6e | 20 63 6f 70 69 65 64 20 |r option| copied |
|00003a60| 6d 61 6c 6c 6f 63 65 64 | 20 69 6e 73 63 72 69 70 |malloced| inscrip|
|00003a70| 74 69 6f 6e 2c 0a 58 09 | 63 72 65 61 74 65 20 6e |tion,.X.|create n|
|00003a80| 65 77 20 69 6e 73 63 72 | 69 70 74 69 6f 6e 20 66 |ew inscr|iption f|
|00003a90| 6f 72 20 6e 65 77 20 6f | 62 6a 65 63 74 0a 58 6d |or new o|bject.Xm|
|00003aa0| 69 73 63 32 2e 63 3a 20 | 69 6e 76 65 6e 5f 64 65 |isc2.c: |inven_de|
|00003ab0| 73 74 72 6f 79 28 29 2c | 20 66 72 65 65 20 69 6e |stroy(),| free in|
|00003ac0| 73 63 72 69 70 74 69 6f | 6e 20 6f 66 20 6a 75 73 |scriptio|n of jus|
|00003ad0| 74 20 64 65 6c 65 74 65 | 64 20 6f 62 6a 65 63 74 |t delete|d object|
|00003ae0| 2c 0a 58 09 63 6c 65 61 | 72 20 69 6e 73 63 72 69 |,.X.clea|r inscri|
|00003af0| 70 20 70 6f 69 6e 74 65 | 72 20 6f 66 20 6c 61 73 |p pointe|r of las|
|00003b00| 74 20 6f 62 6a 65 63 74 | 73 20 70 72 65 76 69 6f |t object|s previo|
|00003b10| 75 73 20 6c 6f 63 61 74 | 69 6f 6e 2c 20 73 6f 20 |us locat|ion, so |
|00003b20| 74 68 61 74 0a 58 09 69 | 74 20 77 69 6c 6c 20 6e |that.X.i|t will n|
|00003b30| 6f 74 20 62 65 20 66 72 | 65 65 64 2c 20 69 6e 76 |ot be fr|eed, inv|
|00003b40| 65 6e 5f 64 72 6f 70 28 | 29 2c 20 63 72 65 61 74 |en_drop(|), creat|
|00003b50| 65 20 6e 65 77 20 69 6e | 73 63 72 69 70 74 69 6f |e new in|scriptio|
|00003b60| 6e 20 66 6f 72 0a 58 09 | 6e 65 77 20 69 74 65 6d |n for.X.|new item|
|00003b70| 2c 20 69 6e 76 65 6e 5f | 63 61 72 72 79 28 29 20 |, inven_|carry() |
|00003b80| 63 72 65 61 74 65 20 6e | 65 77 20 69 6e 73 63 72 |create n|ew inscr|
|00003b90| 69 70 74 69 6f 6e 20 66 | 6f 72 20 6e 65 77 20 69 |iption f|or new i|
|00003ba0| 74 65 6d 2c 0a 58 09 73 | 63 72 69 62 65 5f 6f 62 |tem,.X.s|cribe_ob|
|00003bb0| 6a 65 63 74 28 29 20 66 | 72 65 65 20 73 70 61 63 |ject() f|ree spac|
|00003bc0| 65 20 66 6f 72 20 6f 6c | 64 20 69 6e 73 72 69 70 |e for ol|d insrip|
|00003bd0| 74 69 6f 6e 20 73 69 6e | 63 65 20 69 74 20 69 73 |tion sin|ce it is|
|00003be0| 20 64 65 6c 65 74 65 64 | 0a 58 63 6f 6e 66 69 67 | deleted|.Xconfig|
|00003bf0| 2e 68 2c 20 65 78 74 65 | 72 6e 73 2e 68 2c 20 6d |.h, exte|rns.h, m|
|00003c00| 69 73 63 32 2e 63 2c 20 | 6d 6f 72 69 61 31 2e 63 |isc2.c, |moria1.c|
|00003c10| 3a 20 72 65 6e 61 6d 65 | 20 72 65 6d 6f 76 65 28 |: rename| remove(|
|00003c20| 29 20 74 6f 20 74 61 6b | 65 6f 66 66 28 29 20 74 |) to tak|eoff() t|
|00003c30| 6f 0a 58 09 61 76 6f 69 | 64 20 6e 61 6d 69 6e 67 |o.X.avoi|d naming|
|00003c40| 20 63 6f 6e 66 6c 69 63 | 74 20 77 69 74 68 20 6c | conflic|t with l|
|00003c50| 69 62 72 61 72 79 20 72 | 6f 75 74 69 6e 65 73 0a |ibrary r|outines.|
|00003c60| 58 65 78 74 65 72 6e 73 | 2e 68 2c 20 6d 69 73 63 |Xexterns|.h, misc|
|00003c70| 32 2e 63 2c 20 73 74 6f | 72 65 31 2e 63 3a 20 64 |2.c, sto|re1.c: d|
|00003c80| 65 6c 65 74 65 64 20 6a | 6f 69 6e 5f 6e 61 6d 65 |eleted j|oin_name|
|00003c90| 73 28 29 2c 20 6e 6f 20 | 6c 6f 6e 67 65 72 20 64 |s(), no |longer d|
|00003ca0| 6f 69 6e 67 20 61 6e 79 | 74 68 69 6e 67 0a 58 09 |oing any|thing.X.|
|00003cb0| 75 73 65 66 75 6c 2c 20 | 61 6e 64 20 77 61 73 20 |useful, |and was |
|00003cc0| 77 72 6f 6e 67 6c 79 20 | 63 72 65 61 74 69 6e 67 |wrongly |creating|
|00003cd0| 20 64 75 70 6c 69 63 61 | 74 65 20 70 6f 69 6e 74 | duplica|te point|
|00003ce0| 65 72 73 20 74 6f 20 6d | 61 6c 6c 6f 63 20 62 6c |ers to m|alloc bl|
|00003cf0| 6f 63 6b 73 0a 58 6d 6f | 72 69 61 32 2e 63 3a 20 |ocks.Xmo|ria2.c: |
|00003d00| 6d 61 6b 65 20 6d 6f 76 | 69 6e 67 20 69 6e 74 6f |make mov|ing into|
|00003d10| 20 77 61 6c 6c 73 20 61 | 20 66 72 65 65 20 74 75 | walls a| free tu|
|00003d20| 72 6e 20 61 67 61 69 6e | 2c 20 62 75 74 20 70 6c |rn again|, but pl|
|00003d30| 61 79 65 72 20 63 61 6e | 20 6e 6f 74 20 61 74 74 |ayer can| not att|
|00003d40| 61 63 6b 0a 58 09 69 6e | 76 69 73 69 62 6c 65 20 |ack.X.in|visible |
|00003d50| 63 72 65 61 74 75 72 65 | 73 20 69 6e 20 77 61 6c |creature|s in wal|
|00003d60| 6c 73 20 62 79 20 6d 6f | 76 69 6e 67 20 69 6e 74 |ls by mo|ving int|
|00003d70| 6f 20 77 61 6c 6c 20 28 | 68 65 6e 63 65 20 70 72 |o wall (|hence pr|
|00003d80| 65 76 65 6e 74 69 6e 67 | 0a 58 09 68 69 6d 20 66 |eventing|.X.him f|
|00003d90| 72 6f 6d 20 75 73 69 6e | 67 20 36 20 66 72 65 65 |rom usin|g 6 free|
|00003da0| 20 74 75 72 6e 73 20 74 | 6f 20 73 65 61 72 63 68 | turns t|o search|
|00003db0| 20 66 6f 72 20 69 6e 76 | 69 73 20 63 72 65 61 74 | for inv|is creat|
|00003dc0| 75 72 65 29 2c 20 6d 75 | 73 74 0a 58 09 74 75 6e |ure), mu|st.X.tun|
|00003dd0| 6e 65 6c 20 69 6e 74 6f | 20 77 61 6c 6c 20 69 6e |nel into| wall in|
|00003de0| 73 74 65 61 64 2c 20 77 | 68 69 63 68 20 61 6c 77 |stead, w|hich alw|
|00003df0| 61 79 73 20 74 61 6b 65 | 73 20 61 20 74 75 72 6e |ays take|s a turn|
|00003e00| 0a 58 64 75 6e 67 65 6f | 6e 2e 63 2c 20 65 78 74 |.Xdungeo|n.c, ext|
|00003e10| 65 72 6e 73 2e 68 2c 20 | 6d 6f 72 69 61 32 2e 63 |erns.h, |moria2.c|
|00003e20| 3a 20 70 61 73 73 20 64 | 69 72 65 63 74 69 6f 6e |: pass d|irection|
|00003e30| 20 74 6f 20 74 75 6e 6e | 65 6c 28 29 20 69 6e 73 | to tunn|el() ins|
|00003e40| 74 65 61 64 20 6f 66 20 | 70 6f 69 6e 74 0a 58 09 |tead of |point.X.|
|00003e50| 64 69 67 67 69 6e 67 20 | 74 6f 2c 20 65 6c 69 6d |digging |to, elim|
|00003e60| 69 6e 61 74 65 73 20 61 | 20 6c 6f 74 20 6f 66 20 |inates a| lot of |
|00003e70| 64 75 70 6c 69 63 61 74 | 65 20 63 6f 64 65 2c 20 |duplicat|e code, |
|00003e80| 74 75 6e 6e 65 6c 28 29 | 20 6e 6f 77 20 63 68 65 |tunnel()| now che|
|00003e90| 63 6b 73 0a 58 09 63 6f | 6e 66 75 73 69 6f 6e 2c |cks.X.co|nfusion,|
|00003ea0| 20 61 6e 64 20 74 72 69 | 65 73 20 74 6f 20 74 75 | and tri|es to tu|
|00003eb0| 6e 6e 65 6c 20 69 6e 20 | 72 61 6e 64 6f 6d 20 64 |nnel in |random d|
|00003ec0| 69 72 65 63 74 69 6f 6e | 20 69 66 20 63 6f 6e 66 |irection| if conf|
|00003ed0| 75 73 65 64 0a 58 74 72 | 65 61 73 75 72 65 2e 63 |used.Xtr|easure.c|
|00003ee0| 3a 20 63 6c 6f 6e 65 20 | 6d 6f 6e 73 74 65 72 20 |: clone |monster |
|00003ef0| 77 61 6e 64 73 20 63 68 | 61 6e 67 65 64 20 66 72 |wands ch|anged fr|
|00003f00| 6f 6d 20 6c 65 76 65 6c | 20 32 20 74 6f 20 6c 65 |om level| 2 to le|
|00003f10| 76 65 6c 20 31 35 2c 20 | 6d 61 6b 65 73 20 74 68 |vel 15, |makes th|
|00003f20| 65 6d 0a 58 09 72 65 63 | 68 61 72 67 65 20 6c 65 |em.X.rec|harge le|
|00003f30| 73 73 2c 20 6d 61 78 20 | 36 20 6e 65 77 20 63 68 |ss, max |6 new ch|
|00003f40| 61 72 67 65 73 20 69 6e | 73 74 65 61 64 20 6f 66 |arges in|stead of|
|00003f50| 20 6d 61 78 20 31 38 20 | 6e 65 77 20 63 68 61 72 | max 18 |new char|
|00003f60| 67 65 73 0a 58 66 69 6c | 65 73 2f 76 65 72 73 69 |ges.Xfil|es/versi|
|00003f70| 6f 6e 2e 68 6c 70 3a 20 | 61 64 64 20 44 61 6e 20 |on.hlp: |add Dan |
|00003f80| 42 65 72 6e 73 74 65 69 | 6e 27 73 20 6e 61 6d 65 |Bernstei|n's name|
|00003f90| 20 74 6f 20 63 72 65 64 | 69 74 73 0a 58 6d 61 67 | to cred|its.Xmag|
|00003fa0| 69 63 2e 63 2c 20 76 61 | 72 69 61 62 6c 65 2e 63 |ic.c, va|riable.c|
|00003fb0| 2c 20 77 61 6e 64 73 2e | 63 3a 20 63 68 61 6e 67 |, wands.|c: chang|
|00003fc0| 65 20 73 74 69 6e 6b 69 | 6e 67 20 63 6c 6f 75 64 |e stinki|ng cloud|
|00003fd0| 20 66 72 6f 6d 20 31 36 | 20 74 6f 20 31 32 20 64 | from 16| to 12 d|
|00003fe0| 61 6d 61 67 65 20 61 73 | 0a 58 09 69 74 20 77 61 |amage as|.X.it wa|
|00003ff0| 73 20 74 6f 6f 20 63 6c | 6f 73 65 20 74 6f 20 6c |s too cl|ose to l|
|00004000| 69 67 68 74 6e 69 6e 67 | 20 62 6f 6c 74 20 61 74 |ightning| bolt at|
|00004010| 20 31 38 2c 20 72 65 64 | 75 63 65 20 6d 61 6e 61 | 18, red|uce mana|
|00004020| 20 66 6f 72 20 6d 61 67 | 65 2f 72 61 6e 67 65 72 | for mag|e/ranger|
|00004030| 0a 58 09 66 72 6f 6d 20 | 34 2f 36 20 74 6f 20 33 |.X.from |4/6 to 3|
|00004040| 2f 35 0a 58 6d 6f 72 69 | 61 31 2e 63 3a 20 73 68 |/5.Xmori|a1.c: sh|
|00004050| 6f 77 5f 69 6e 76 65 6e | 28 29 20 61 6e 64 20 73 |ow_inven|() and s|
|00004060| 68 6f 77 5f 65 71 75 69 | 70 28 29 2c 20 64 6f 6e |how_equi|p(), don|
|00004070| 27 74 20 70 72 69 6e 74 | 20 66 69 72 73 74 20 74 |'t print| first t|
|00004080| 77 6f 20 73 70 61 63 65 | 73 20 77 68 65 6e 0a 58 |wo space|s when.X|
|00004090| 09 63 6f 6c 20 69 73 20 | 7a 65 72 6f 2c 20 73 69 |.col is |zero, si|
|000040a0| 6e 63 65 20 77 69 6c 6c | 20 62 6c 61 6e 6b 20 74 |nce will| blank t|
|000040b0| 68 65 20 77 68 6f 6c 65 | 20 73 63 72 65 65 6e 20 |he whole| screen |
|000040c0| 61 6e 79 77 61 79 73 0a | 58 6d 6f 72 69 61 32 2e |anyways.|Xmoria2.|
|000040d0| 63 3a 20 70 79 5f 61 74 | 74 61 63 6b 28 29 2c 20 |c: py_at|tack(), |
|000040e0| 6f 6e 6c 79 20 63 6c 65 | 61 72 65 64 20 63 6f 6e |only cle|ared con|
|000040f0| 66 75 73 65 5f 6d 6f 6e | 73 74 65 72 20 66 6c 61 |fuse_mon|ster fla|
|00004100| 67 20 69 66 20 6d 6f 6e | 73 74 65 72 20 73 75 72 |g if mon|ster sur|
|00004110| 76 69 76 65 64 0a 58 09 | 61 74 74 61 63 6b 2c 20 |vived.X.|attack, |
|00004120| 6e 6f 77 20 61 6c 77 61 | 79 73 20 63 6c 65 61 72 |now alwa|ys clear|
|00004130| 20 74 68 69 73 20 66 6c | 61 67 20 61 6e 64 20 74 | this fl|ag and t|
|00004140| 72 79 20 74 6f 20 63 6f | 6e 66 75 73 65 20 6d 6f |ry to co|nfuse mo|
|00004150| 6e 73 74 65 72 0a 58 2d | 2d 2d 2d 2d 2d 2d 2d 2d |nster.X-|--------|
|00004160| 2d 2d 2d 2d 2d 20 32 2f | 31 36 0a 58 61 6c 6c 3a |----- 2/|16.Xall:|
|00004170| 20 61 64 64 20 69 6e 20 | 64 69 66 66 73 20 74 6f | add in |diffs to|
|00004180| 20 67 65 74 20 4d 53 44 | 4f 53 20 76 65 72 73 69 | get MSD|OS versi|
|00004190| 6f 6e 20 77 6f 72 6b 69 | 6e 67 20 61 67 61 69 6e |on worki|ng again|
|000041a0| 2c 20 61 64 64 20 66 69 | 6c 65 73 20 66 72 6f 6d |, add fi|les from|
|000041b0| 20 62 69 6e 61 72 79 0a | 58 09 50 43 2d 4d 6f 72 | binary.|X.PC-Mor|
|000041c0| 69 61 20 64 69 73 74 72 | 69 62 75 74 69 6f 6e 0a |ia distr|ibution.|
|000041d0| 58 74 79 70 65 73 2e 68 | 3a 20 66 6f 72 20 50 43 |Xtypes.h|: for PC|
|000041e0| 2c 20 75 73 65 20 27 75 | 6e 73 69 67 6e 65 64 20 |, use 'u|nsigned |
|000041f0| 63 68 61 72 20 76 61 72 | 20 3a 20 31 27 20 74 6f |char var| : 1' to|
|00004200| 20 72 65 64 75 63 65 20 | 73 69 7a 65 6f 66 20 63 | reduce |sizeof c|
|00004210| 61 76 65 5f 74 79 70 65 | 0a 58 09 66 72 6f 6d 20 |ave_type|.X.from |
|00004220| 35 20 74 6f 20 34 0a 58 | 64 65 73 63 2e 63 2c 20 |5 to 4.X|desc.c, |
|00004230| 6d 69 73 63 31 2e 63 2c | 20 6d 69 73 63 32 2e 63 |misc1.c,| misc2.c|
|00004240| 2c 20 6d 6f 72 69 61 31 | 2e 63 2c 20 6d 6f 72 69 |, moria1|.c, mori|
|00004250| 61 32 2e 63 2c 20 73 61 | 76 65 2e 63 2c 20 77 69 |a2.c, sa|ve.c, wi|
|00004260| 7a 61 72 64 2e 63 2c 20 | 74 79 70 65 73 2e 68 3a |zard.c, |types.h:|
|00004270| 0a 58 09 63 68 61 6e 67 | 65 20 69 6e 76 65 6e 5f |.X.chang|e inven_|
|00004280| 74 79 70 65 20 69 6e 73 | 63 72 69 70 20 66 69 65 |type ins|crip fie|
|00004290| 6c 64 20 66 72 6f 6d 20 | 70 6f 69 6e 74 65 72 20 |ld from |pointer |
|000042a0| 74 6f 20 61 6e 20 31 33 | 20 63 68 61 72 20 61 72 |to an 13| char ar|
|000042b0| 72 61 79 2c 0a 58 09 6d | 61 6c 6c 6f 63 69 6e 67 |ray,.X.m|allocing|
|000042c0| 20 73 74 6f 72 61 67 65 | 20 66 6f 72 20 69 6e 73 | storage| for ins|
|000042d0| 63 72 69 70 74 69 6f 6e | 73 20 64 6f 65 73 20 6e |cription|s does n|
|000042e0| 6f 74 20 77 6f 72 6b 2c | 20 72 65 73 75 6c 74 73 |ot work,| results|
|000042f0| 20 69 6e 0a 58 09 64 61 | 6e 67 6c 69 6e 67 20 70 | in.X.da|ngling p|
|00004300| 6f 69 6e 74 65 72 73 20 | 77 68 65 6e 20 69 6e 76 |ointers |when inv|
|00004310| 65 6e 5f 74 79 70 65 73 | 20 61 72 65 20 63 6f 70 |en_types| are cop|
|00004320| 69 65 64 0a 58 73 61 76 | 65 2e 63 3a 20 61 64 64 |ied.Xsav|e.c: add|
|00004330| 20 27 74 69 6d 65 27 20 | 74 6f 20 73 61 76 65 66 | 'time' |to savef|
|00004340| 69 6c 65 73 2c 20 75 73 | 65 20 74 68 69 73 20 74 |iles, us|e this t|
|00004350| 6f 20 63 61 6c 63 75 6c | 61 74 65 20 61 67 65 20 |o calcul|ate age |
|00004360| 6f 66 20 73 61 76 65 66 | 69 6c 65 0a 58 09 69 6e |of savef|ile.X.in|
|00004370| 73 74 65 61 64 20 6f 66 | 20 75 73 69 6e 67 20 73 |stead of| using s|
|00004380| 74 61 74 2c 20 6d 75 63 | 68 20 6d 6f 72 65 20 70 |tat, muc|h more p|
|00004390| 6f 72 74 61 62 6c 65 2c | 20 61 6e 64 20 70 72 65 |ortable,| and pre|
|000043a0| 76 65 6e 74 73 20 63 68 | 65 61 74 69 6e 67 2c 0a |vents ch|eating,.|
|000043b0| 58 09 69 66 20 74 69 6d | 65 20 69 73 20 6e 65 77 |X.if tim|e is new|
|000043c0| 65 72 20 74 68 61 6e 20 | 63 75 72 72 65 6e 74 20 |er than |current |
|000043d0| 74 69 6d 65 2c 20 73 65 | 74 20 61 67 65 20 74 6f |time, se|t age to|
|000043e0| 20 30 2c 20 77 68 65 6e | 20 73 61 76 65 20 66 69 | 0, when| save fi|
|000043f0| 6c 65 0a 58 09 63 68 65 | 63 6b 20 74 6f 20 73 65 |le.X.che|ck to se|
|00004400| 65 20 69 66 20 63 75 72 | 72 65 6e 74 20 74 69 6d |e if cur|rent tim|
|00004410| 65 20 67 72 65 61 74 65 | 72 20 74 68 61 6e 20 73 |e greate|r than s|
|00004420| 74 61 72 74 20 74 69 6d | 65 2c 20 69 66 20 6e 6f |tart tim|e, if no|
|00004430| 74 2c 0a 58 09 74 68 65 | 6e 20 73 61 76 65 20 73 |t,.X.the|n save s|
|00004440| 74 61 72 74 20 74 69 6d | 65 20 70 6c 75 73 20 6f |tart tim|e plus o|
|00004450| 6e 65 20 64 61 79 20 69 | 6e 20 73 61 76 65 20 66 |ne day i|n save f|
|00004460| 69 6c 65 0a 58 6d 61 63 | 2e 63 3a 20 64 65 6c 65 |ile.Xmac|.c: dele|
|00004470| 74 65 20 67 65 74 66 69 | 6c 65 61 67 65 20 73 69 |te getfi|leage si|
|00004480| 6e 63 65 20 6e 6f 20 6c | 6f 6e 67 65 72 20 75 73 |nce no l|onger us|
|00004490| 65 64 0a 58 72 65 63 61 | 6c 6c 2e 63 3a 20 63 68 |ed.Xreca|ll.c: ch|
|000044a0| 61 6e 67 65 20 6b 6e 6f | 77 64 61 6d 61 67 65 28 |ange kno|wdamage(|
|000044b0| 29 2c 20 61 64 64 20 64 | 61 6d 61 67 65 20 70 61 |), add d|amage pa|
|000044c0| 72 61 6d 65 74 65 72 20 | 73 6f 20 74 68 61 74 20 |rameter |so that |
|000044d0| 68 69 67 68 65 72 20 64 | 61 6d 61 67 65 0a 58 09 |higher d|amage.X.|
|000044e0| 61 74 74 61 63 6b 73 20 | 74 61 6b 65 20 6c 6f 6e |attacks |take lon|
|000044f0| 67 65 72 20 74 6f 20 6c | 65 61 72 6e 20 74 68 61 |ger to l|earn tha|
|00004500| 6e 20 6c 6f 77 65 72 20 | 64 61 6d 61 67 65 20 61 |n lower |damage a|
|00004510| 74 74 61 63 6b 73 0a 58 | 6d 6f 6e 73 74 65 72 73 |ttacks.X|monsters|
|00004520| 2e 63 3a 20 6a 65 6c 6c | 69 65 73 20 61 6e 64 20 |.c: jell|ies and |
|00004530| 6d 6f 6c 64 73 20 6e 6f | 20 6c 6f 6e 67 65 72 20 |molds no| longer |
|00004540| 68 61 76 65 20 74 72 65 | 61 73 75 72 65 0a 58 73 |have tre|asure.Xs|
|00004550| 61 76 65 2e 63 3a 20 74 | 77 6f 20 70 6c 61 63 65 |ave.c: t|wo place|
|00004560| 73 20 68 61 76 65 20 28 | 2a 73 74 72 20 21 3d 20 |s have (|*str != |
|00004570| 4e 55 4c 4c 29 2c 20 63 | 68 61 6e 67 65 64 20 74 |NULL), c|hanged t|
|00004580| 6f 20 28 2a 73 74 72 20 | 21 3d 20 27 5c 30 27 29 |o (*str |!= '\0')|
|00004590| 0a 58 73 61 76 65 2e 63 | 3a 20 72 65 6d 6f 76 65 |.Xsave.c|: remove|
|000045a0| 20 73 75 70 70 6f 72 74 | 20 66 6f 72 20 70 72 65 | support| for pre|
|000045b0| 20 35 2e 30 2e 31 33 20 | 76 65 72 73 69 6f 6e 73 | 5.0.13 |versions|
|000045c0| 2c 20 72 64 5f 69 74 65 | 6d 28 29 20 6e 6f 20 6c |, rd_ite|m() no l|
|000045d0| 6f 6e 67 65 72 20 6e 65 | 65 64 73 0a 58 09 70 61 |onger ne|eds.X.pa|
|000045e0| 74 63 68 5f 6c 65 76 65 | 6c 0a 58 6d 6f 6e 73 74 |tch_leve|l.Xmonst|
|000045f0| 65 72 73 2e 63 3a 20 6d | 6f 76 65 20 63 72 79 73 |ers.c: m|ove crys|
|00004600| 74 61 6c 20 6f 6f 7a 65 | 20 66 72 6f 6d 20 6c 65 |tal ooze| from le|
|00004610| 76 65 6c 20 33 31 20 74 | 6f 20 6c 65 76 65 6c 20 |vel 31 t|o level |
|00004620| 34 30 2c 20 74 6f 20 6d | 61 6b 65 20 72 61 69 73 |40, to m|ake rais|
|00004630| 69 6e 67 0a 58 09 63 72 | 79 73 74 61 6c 20 6f 6f |ing.X.cr|ystal oo|
|00004640| 7a 65 73 20 66 6f 72 20 | 74 72 65 61 73 75 72 65 |zes for |treasure|
|00004650| 20 6d 75 63 68 20 6d 6f | 72 65 20 64 61 6e 67 65 | much mo|re dange|
|00004660| 72 6f 75 73 0a 58 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |rous.X--|--------|
|00004670| 2d 2d 2d 2d 2d 20 32 2f | 31 39 0a 58 61 6c 6c 3a |----- 2/|19.Xall:|
|00004680| 20 61 64 64 65 64 20 64 | 65 66 69 6e 65 73 20 66 | added d|efines f|
|00004690| 6f 72 20 74 76 61 6c 73 | 2c 20 61 6e 64 20 73 75 |or tvals|, and su|
|000046a0| 62 73 74 69 74 75 74 65 | 64 20 65 76 65 72 79 20 |bstitute|d every |
|000046b0| 77 68 65 72 65 20 69 6e | 20 70 72 6f 67 72 61 6d |where in| program|
|000046c0| 0a 58 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 20 32 2f 32 |.X------|---- 2/2|
|000046d0| 31 0a 58 6d 73 5f 6d 69 | 73 63 2e 63 2c 20 69 6f |1.Xms_mi|sc.c, io|
|000046e0| 2e 63 3a 20 72 65 6d 6f | 76 65 20 61 6c 6c 20 75 |.c: remo|ve all u|
|000046f0| 73 65 73 20 6f 66 20 6d | 76 70 72 69 6e 74 77 28 |ses of m|vprintw(|
|00004700| 29 20 66 6f 72 20 69 62 | 6d 70 63 20 70 6f 72 74 |) for ib|mpc port|
|00004710| 2c 20 73 69 6e 63 65 20 | 50 43 0a 58 09 63 75 72 |, since |PC.X.cur|
|00004720| 73 65 73 20 61 6c 73 6f | 20 70 75 6c 6c 73 20 69 |ses also| pulls i|
|00004730| 6e 20 74 68 65 20 66 70 | 20 6c 69 62 72 61 72 79 |n the fp| library|
|00004740| 20 69 66 20 6d 76 70 72 | 69 6e 74 77 20 69 73 20 | if mvpr|intw is |
|00004750| 75 73 65 64 0a 58 64 75 | 6e 67 65 6f 6e 2e 63 3a |used.Xdu|ngeon.c:|
|00004760| 20 69 6e 20 74 68 65 20 | 72 65 63 6f 76 65 72 20 | in the |recover |
|00004770| 66 72 6f 6d 20 62 6c 69 | 6e 64 6e 65 73 73 20 63 |from bli|ndness c|
|00004780| 6f 64 65 2c 20 74 68 65 | 20 64 69 73 74 75 72 62 |ode, the| disturb|
|00004790| 28 29 20 63 61 6c 6c 20 | 6d 75 73 74 0a 58 09 62 |() call |must.X.b|
|000047a0| 65 20 62 65 66 6f 72 65 | 20 74 68 65 20 63 72 65 |e before| the cre|
|000047b0| 61 74 75 72 65 73 28 46 | 41 4c 53 45 29 20 63 61 |atures(F|ALSE) ca|
|000047c0| 6c 6c 0a 58 67 65 74 63 | 68 2e 63 2c 20 69 6f 2e |ll.Xgetc|h.c, io.|
|000047d0| 63 2c 20 4d 61 6b 65 66 | 69 6c 65 3a 20 6d 6f 72 |c, Makef|ile: mor|
|000047e0| 65 20 66 69 78 65 73 20 | 66 6f 72 20 74 68 65 20 |e fixes |for the |
|000047f0| 56 4d 53 20 70 6f 72 74 | 20 6f 66 20 75 6d 6f 72 |VMS port| of umor|
|00004800| 69 61 2c 20 6e 65 77 20 | 67 65 74 63 68 2e 63 0a |ia, new |getch.c.|
|00004810| 58 09 66 69 6c 65 2c 20 | 61 6e 64 20 6e 65 77 20 |X.file, |and new |
|00004820| 63 6f 70 79 20 6f 66 20 | 28 34 2e 38 37 29 20 69 |copy of |(4.87) i|
|00004830| 6f 2e 63 20 66 69 6c 65 | 0a 58 2d 2d 2d 2d 2d 2d |o.c file|.X------|
|00004840| 2d 2d 2d 2d 20 32 2f 32 | 32 0a 58 61 6c 6c 3a 20 |---- 2/2|2.Xall: |
|00004850| 63 68 65 63 6b 20 61 67 | 61 69 6e 20 66 6f 72 20 |check ag|ain for |
|00004860| 6e 75 6d 62 65 72 73 20 | 74 68 61 74 20 73 68 6f |numbers |that sho|
|00004870| 75 6c 64 20 62 65 20 63 | 6f 6e 73 74 61 6e 74 73 |uld be c|onstants|
|00004880| 0a 58 63 6f 6e 73 74 61 | 6e 74 2e 68 3a 20 63 68 |.Xconsta|nt.h: ch|
|00004890| 61 6e 67 65 20 76 65 72 | 73 69 6f 6e 20 6e 75 6d |ange ver|sion num|
|000048a0| 62 65 72 20 74 6f 20 35 | 2e 30 2e 31 37 0a 58 65 |ber to 5|.0.17.Xe|
|000048b0| 78 74 65 72 6e 73 2e 68 | 2c 20 6d 61 69 6e 2e 63 |xterns.h|, main.c|
|000048c0| 2c 20 6d 6f 72 69 61 32 | 2e 63 2c 20 73 69 67 6e |, moria2|.c, sign|
|000048d0| 61 6c 73 2e 63 2c 20 74 | 72 65 61 73 75 72 65 2e |als.c, t|reasure.|
|000048e0| 63 3a 20 63 6f 6d 70 69 | 6c 65 20 77 69 74 68 20 |c: compi|le with |
|000048f0| 67 63 63 20 2d 57 61 6c | 6c 0a 58 09 61 6e 64 20 |gcc -Wal|l.X.and |
|00004900| 66 69 78 20 61 6c 6c 20 | 72 65 70 6f 72 74 65 64 |fix all |reported|
|00004910| 20 65 72 72 6f 72 73 0a | 58 2d 2d 2d 2d 2d 2d 2d | errors.|X-------|
|00004920| 2d 2d 20 32 2f 32 36 0a | 58 70 72 61 79 65 72 2e |-- 2/26.|Xprayer.|
|00004930| 63 3a 20 63 68 61 6e 67 | 65 20 28 21 63 6c 61 73 |c: chang|e (!clas|
|00004940| 73 5b 5d 2e 73 70 65 6c | 6c 20 3d 3d 20 50 52 49 |s[].spel|l == PRI|
|00004950| 45 53 54 29 20 74 6f 20 | 28 63 6c 61 73 73 5b 5d |EST) to |(class[]|
|00004960| 2e 73 70 65 6c 6c 20 21 | 3d 20 50 52 49 45 53 54 |.spell !|= PRIEST|
|00004970| 29 0a 58 73 74 6f 72 65 | 32 2e 63 3a 20 66 6f 72 |).Xstore|2.c: for|
|00004980| 20 67 6f 6f 64 20 62 61 | 72 67 61 69 6e 69 6e 67 | good ba|rgaining|
|00004990| 2c 20 75 73 65 20 66 69 | 6e 61 6c 5f 61 73 6b 20 |, use fi|nal_ask |
|000049a0| 6e 6f 74 20 6d 69 6e 5f | 62 75 79 20 69 6e 20 73 |not min_|buy in s|
|000049b0| 65 6c 6c 5f 68 61 67 67 | 6c 65 28 29 0a 58 64 75 |ell_hagg|le().Xdu|
|000049c0| 6e 67 65 6f 6e 2e 63 3a | 20 63 68 61 6e 67 65 20 |ngeon.c:| change |
|000049d0| 22 53 6f 72 72 79 2e 2e | 22 20 74 6f 20 22 53 6f |"Sorry..|" to "So|
|000049e0| 72 72 79 2e 22 0a 58 6d | 69 73 63 31 2e 63 3a 20 |rry.".Xm|isc1.c: |
|000049f0| 66 6f 72 20 67 6c 6f 76 | 65 73 2f 67 61 75 6e 74 |for glov|es/gaunt|
|00004a00| 6c 65 74 73 2c 20 70 31 | 20 61 6e 64 20 49 44 5f |lets, p1| and ID_|
|00004a10| 53 48 4f 57 5f 50 31 20 | 73 65 74 20 69 6e 20 77 |SHOW_P1 |set in w|
|00004a20| 72 6f 6e 67 20 70 6c 61 | 63 65 0a 58 63 72 65 61 |rong pla|ce.Xcrea|
|00004a30| 74 75 72 65 2e 63 3a 20 | 6d 61 6b 65 5f 61 74 74 |ture.c: |make_att|
|00004a40| 61 63 6b 28 29 2c 20 63 | 72 65 61 74 75 72 65 20 |ack(), c|reature |
|00004a50| 63 6f 75 6c 64 20 62 65 | 20 76 69 73 69 62 6c 65 |could be| visible|
|00004a60| 20 61 74 20 73 74 61 72 | 74 20 6f 66 20 61 74 74 | at star|t of att|
|00004a70| 61 63 6b 20 62 75 74 0a | 58 09 69 6e 76 69 73 69 |ack but.|X.invisi|
|00004a80| 62 6c 65 20 61 74 20 65 | 6e 64 20 64 75 65 20 74 |ble at e|nd due t|
|00004a90| 6f 20 61 20 74 65 6c 65 | 70 6f 72 74 2c 20 73 65 |o a tele|port, se|
|00004aa0| 74 20 6e 6f 74 69 63 65 | 2f 76 69 73 69 62 6c 65 |t notice|/visible|
|00004ab0| 20 61 70 70 72 6f 70 72 | 69 61 74 65 6c 79 0a 58 | appropr|iately.X|
|00004ac0| 09 62 65 66 6f 72 65 20 | 6d 6f 6e 73 74 65 72 20 |.before |monster |
|00004ad0| 61 74 74 61 63 6b 73 2c | 20 61 6e 64 20 64 6f 6e |attacks,| and don|
|00004ae0| 27 74 20 75 73 65 20 6d | 5f 70 74 72 2d 3e 6d 6c |'t use m|_ptr->ml|
|00004af0| 20 61 66 74 65 72 77 61 | 72 64 73 0a 58 6d 6f 6e | afterwa|rds.Xmon|
|00004b00| 73 74 65 72 73 2e 63 3a | 20 63 72 65 65 70 69 6e |sters.c:| creepin|
|00004b10| 67 20 63 6f 69 6e 73 20 | 61 6c 77 61 79 73 20 63 |g coins |always c|
|00004b20| 61 72 72 79 20 67 6f 6c | 64 20 6e 6f 77 2c 20 31 |arry gol|d now, 1|
|00004b30| 64 32 20 66 6f 72 20 63 | 6f 70 70 65 72 2c 20 31 |d2 for c|opper, 1|
|00004b40| 64 32 2b 36 30 0a 58 09 | 66 6f 72 20 73 69 6c 76 |d2+60.X.|for silv|
|00004b50| 65 72 2c 20 61 6e 64 20 | 31 64 32 2b 39 30 20 66 |er, and |1d2+90 f|
|00004b60| 6f 72 20 67 6f 6c 64 0a | 58 74 72 65 61 73 75 72 |or gold.|Xtreasur|
|00004b70| 65 2e 63 2c 20 77 69 7a | 61 72 64 2e 63 3a 20 63 |e.c, wiz|ard.c: c|
|00004b80| 68 61 6e 67 65 20 6e 61 | 6d 65 20 6f 66 20 77 69 |hange na|me of wi|
|00004b90| 7a 61 72 64 20 69 74 65 | 6d 73 20 74 6f 20 65 6d |zard ite|ms to em|
|00004ba0| 70 74 79 20 73 74 72 69 | 6e 67 2c 20 61 6e 64 0a |pty stri|ng, and.|
|00004bb0| 58 09 69 6e 73 63 72 69 | 62 65 20 74 68 65 6d 20 |X.inscri|be them |
|00004bc0| 77 69 74 68 20 22 77 69 | 7a 61 72 64 20 69 74 65 |with "wi|zard ite|
|00004bd0| 6d 22 0a 58 64 65 73 63 | 2e 63 3a 20 70 72 6f 62 |m".Xdesc|.c: prob|
|00004be0| 6c 65 6d 20 77 69 74 68 | 20 72 75 62 62 6c 65 2f |lem with| rubble/|
|00004bf0| 73 74 6f 6e 65 2d 74 6f | 2d 6d 75 64 2c 20 63 68 |stone-to|-mud, ch|
|00004c00| 61 6e 67 65 20 72 75 62 | 62 6c 65 20 63 61 73 65 |ange rub|ble case|
|00004c10| 20 66 72 6f 6d 20 6c 69 | 6b 65 20 73 74 61 69 72 | from li|ke stair|
|00004c20| 73 0a 58 09 74 6f 20 62 | 65 20 6c 69 6b 65 20 64 |s.X.to b|e like d|
|00004c30| 6f 6f 72 73 0a 58 6d 6f | 72 69 61 31 2e 63 3a 20 |oors.Xmo|ria1.c: |
|00004c40| 73 68 6f 77 5f 65 71 75 | 69 70 28 29 2c 20 63 68 |show_equ|ip(), ch|
|00004c50| 61 6e 67 65 20 6e 6f 6e | 2d 77 65 69 67 68 74 20 |ange non|-weight |
|00004c60| 6c 69 6d 69 74 20 66 72 | 6f 6d 20 35 37 20 74 6f |limit fr|om 57 to|
|00004c70| 20 36 30 2c 20 63 68 61 | 6e 67 65 20 77 65 69 67 | 60, cha|nge weig|
|00004c80| 68 74 0a 58 09 6c 69 6d | 69 74 20 66 72 6f 6d 20 |ht.X.lim|it from |
|00004c90| 34 39 20 74 6f 20 35 32 | 20 63 68 61 72 73 2c 20 |49 to 52| chars, |
|00004ca0| 66 6f 72 20 73 68 6f 77 | 5f 69 6e 76 65 6e 28 29 |for show|_inven()|
|00004cb0| 2c 20 63 68 61 6e 67 65 | 20 6c 69 6d 69 74 73 20 |, change| limits |
|00004cc0| 66 72 6f 6d 0a 58 09 36 | 36 2f 37 34 20 74 6f 20 |from.X.6|6/74 to |
|00004cd0| 36 38 2f 37 36 20 63 68 | 61 72 61 63 74 65 72 73 |68/76 ch|aracters|
|00004ce0| 0a 58 63 72 65 61 74 75 | 72 65 2e 63 2c 20 6d 61 |.Xcreatu|re.c, ma|
|00004cf0| 67 69 63 2e 63 2c 20 70 | 72 61 79 65 72 2e 63 2c |gic.c, p|rayer.c,|
|00004d00| 20 73 70 65 6c 6c 73 2e | 63 2c 20 77 61 6e 64 73 | spells.|c, wands|
|00004d10| 2e 63 3a 20 66 69 78 20 | 67 65 74 5f 66 6c 61 67 |.c: fix |get_flag|
|00004d20| 73 28 29 2c 20 66 69 72 | 65 5f 62 61 6c 6c 28 29 |s(), fir|e_ball()|
|00004d30| 2c 0a 58 09 66 69 72 65 | 5f 62 6f 6c 74 28 29 20 |,.X.fire|_bolt() |
|00004d40| 61 6e 64 20 62 72 65 61 | 74 68 28 29 20 74 6f 20 |and brea|th() to |
|00004d50| 75 73 65 20 64 65 66 69 | 6e 65 64 20 63 6f 6e 73 |use defi|ned cons|
|00004d60| 74 61 6e 74 73 20 66 6f | 72 20 61 74 74 61 63 6b |tants fo|r attack|
|00004d70| 20 74 79 70 65 73 0a 58 | 6d 6f 72 69 61 31 2e 63 | types.X|moria1.c|
|00004d80| 3a 20 73 68 6f 77 5f 69 | 6e 76 65 6e 28 29 2c 20 |: show_i|nven(), |
|00004d90| 73 68 6f 77 5f 65 71 75 | 69 70 28 29 2c 20 6d 61 |show_equ|ip(), ma|
|00004da0| 6b 65 20 73 75 72 65 20 | 74 68 61 74 20 63 6f 6c |ke sure |that col|
|00004db0| 20 6e 65 76 65 72 20 6c | 65 73 73 20 74 68 61 6e | never l|ess than|
|00004dc0| 20 7a 65 72 6f 0a 58 61 | 6c 6c 3a 20 6d 65 72 67 | zero.Xa|ll: merg|
|00004dd0| 65 64 20 69 6e 20 41 74 | 61 72 69 20 53 54 20 64 |ed in At|ari ST d|
|00004de0| 69 66 66 73 20 66 72 6f | 6d 20 53 74 65 70 68 65 |iffs fro|m Stephe|
|00004df0| 6e 20 41 2e 20 4a 61 63 | 6f 62 73 0a 58 2d 2d 2d |n A. Jac|obs.X---|
|00004e00| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 20 32 2f 32 |--------|---- 2/2|
|00004e10| 37 0a 58 63 72 65 61 74 | 75 72 65 2e 63 3a 20 66 |7.Xcreat|ure.c: f|
|00004e20| 69 78 65 64 20 62 75 67 | 20 77 69 74 68 20 64 6f |ixed bug| with do|
|00004e30| 6f 72 73 2c 20 61 6c 77 | 61 79 73 20 6f 70 65 6e |ors, alw|ays open|
|00004e40| 2f 6c 69 67 68 74 20 64 | 6f 6f 72 20 69 6e 73 74 |/light d|oor inst|
|00004e50| 65 61 64 20 6f 66 20 6f | 6e 6c 79 0a 58 09 6f 70 |ead of o|nly.X.op|
|00004e60| 65 6e 69 6e 67 2f 6c 69 | 67 68 74 69 6e 67 20 74 |ening/li|ghting t|
|00004e70| 68 65 6d 20 77 68 65 6e | 20 69 6e 20 6c 6f 73 20 |hem when| in los |
|00004e80| 6f 66 20 70 6c 61 79 65 | 72 0a 58 6d 6f 72 69 61 |of playe|r.Xmoria|
|00004e90| 32 2e 63 3a 20 77 68 65 | 6e 20 62 61 73 68 20 6f |2.c: whe|n bash o|
|00004ea0| 70 65 6e 20 64 6f 6f 72 | 2c 20 6f 6e 6c 79 20 62 |pen door|, only b|
|00004eb0| 72 65 61 6b 20 69 74 20 | 35 30 25 20 6f 66 20 74 |reak it |50% of t|
|00004ec0| 68 65 20 74 69 6d 65 20 | 74 6f 20 62 65 20 63 6f |he time |to be co|
|00004ed0| 6e 73 69 73 74 65 6e 74 | 0a 58 09 77 69 74 68 20 |nsistent|.X.with |
|00004ee0| 63 6f 64 65 20 69 6e 20 | 63 72 65 61 74 75 72 65 |code in |creature|
|00004ef0| 2e 63 0a 58 61 6c 6c 3a | 20 64 65 6c 65 74 65 20 |.c.Xall:| delete |
|00004f00| 73 6f 6d 65 20 6f 62 73 | 6f 6c 65 74 65 20 66 69 |some obs|olete fi|
|00004f10| 6c 65 73 2c 20 61 6e 6e | 6f 74 61 74 65 20 61 20 |les, ann|otate a |
|00004f20| 66 65 77 20 6f 74 68 65 | 72 73 2c 20 70 75 74 20 |few othe|rs, put |
|00004f30| 52 45 41 44 4d 45 20 66 | 69 6c 65 73 0a 58 09 69 |README f|iles.X.i|
|00004f40| 6e 20 74 68 65 20 73 75 | 62 64 69 72 65 63 74 6f |n the su|bdirecto|
|00004f50| 72 69 65 73 20 74 6f 20 | 65 78 70 6c 61 69 6e 20 |ries to |explain |
|00004f60| 77 68 61 74 20 69 73 20 | 70 72 65 73 65 6e 74 0a |what is |present.|
|00004f70| 58 73 61 76 65 2e 63 3a | 20 66 69 78 20 6f 6c 64 |Xsave.c:| fix old|
|00004f80| 20 73 61 76 65 66 69 6c | 65 20 63 6f 6d 70 61 74 | savefil|e compat|
|00004f90| 69 62 69 6c 69 74 79 20 | 63 6f 64 65 20 74 6f 20 |ibility |code to |
|00004fa0| 77 6f 72 6b 20 77 69 74 | 68 20 6e 65 77 20 76 65 |work wit|h new ve|
|00004fb0| 72 73 69 6f 6e 20 6e 75 | 6d 62 65 72 73 0a 58 63 |rsion nu|mbers.Xc|
|00004fc0| 6f 6e 73 74 61 6e 74 73 | 2e 68 3a 20 63 68 61 6e |onstants|.h: chan|
|00004fd0| 67 65 20 76 65 72 73 69 | 6f 6e 20 6e 75 6d 62 65 |ge versi|on numbe|
|00004fe0| 72 20 74 6f 20 35 2e 31 | 2e 30 20 61 6e 64 20 70 |r to 5.1|.0 and p|
|00004ff0| 75 62 6c 69 63 6c 79 20 | 61 6e 6e 6f 75 6e 63 65 |ublicly |announce|
|00005000| 0a 58 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 20 32 2f 32 |.X------|---- 2/2|
|00005010| 38 0a 58 72 65 63 61 6c | 6c 2e 63 3a 20 63 72 65 |8.Xrecal|l.c: cre|
|00005020| 61 74 75 72 65 20 69 73 | 20 77 6f 72 74 68 2e 2e |ature is| worth..|
|00005030| 2e 20 73 70 72 69 6e 74 | 66 28 29 20 63 61 6c 6c |. sprint|f() call|
|00005040| 20 75 73 65 64 20 25 6c | 64 20 69 6e 73 74 65 61 | used %l|d instea|
|00005050| 64 20 6f 66 20 25 64 0a | 58 6d 6f 72 69 61 32 2e |d of %d.|Xmoria2.|
|00005060| 63 3a 20 6c 6f 6f 6b 5f | 72 61 79 28 29 2c 20 65 |c: look_|ray(), e|
|00005070| 76 65 72 79 20 70 6c 61 | 63 65 20 47 52 41 44 46 |very pla|ce GRADF|
|00005080| 20 6d 75 6c 74 69 70 6c | 69 65 64 20 62 79 20 79 | multipl|ied by y|
|00005090| 2c 20 63 61 73 74 20 69 | 74 20 74 6f 20 6c 6f 6e |, cast i|t to lon|
|000050a0| 67 0a 58 09 74 6f 20 70 | 72 65 76 65 6e 74 20 6f |g.X.to p|revent o|
|000050b0| 76 65 72 66 6c 6f 77 20 | 6f 66 20 31 36 20 62 69 |verflow |of 16 bi|
|000050c0| 74 20 69 6e 74 73 0a 58 | 6d 73 5f 6d 69 73 63 2e |t ints.X|ms_misc.|
|000050d0| 63 3a 20 77 65 72 65 20 | 73 74 69 6c 6c 20 74 77 |c: were |still tw|
|000050e0| 6f 20 72 65 66 73 20 74 | 6f 20 27 62 79 74 65 69 |o refs t|o 'bytei|
|000050f0| 6e 74 27 2c 20 63 68 61 | 6e 67 65 64 20 74 6f 20 |nt', cha|nged to |
|00005100| 27 69 6e 74 38 75 27 0a | 58 4d 4c 49 4e 4b 2e 4c |'int8u'.|XMLINK.L|
|00005110| 4e 4b 3a 20 75 70 64 61 | 74 65 64 20 66 6f 72 20 |NK: upda|ted for |
|00005120| 75 6d 6f 72 69 61 35 2e | 30 2c 20 61 64 64 20 75 |umoria5.|0, add u|
|00005130| 6e 64 65 66 20 61 6e 64 | 20 72 65 63 61 6c 6c 2c |ndef and| recall,|
|00005140| 20 63 68 61 6e 67 65 20 | 74 72 65 61 73 75 72 5b | change |treasur[|
|00005150| 31 32 5d 0a 58 09 74 6f | 20 74 72 65 61 73 75 72 |12].X.to| treasur|
|00005160| 65 0a 58 63 72 65 61 74 | 65 2e 63 3a 20 64 65 6c |e.Xcreat|e.c: del|
|00005170| 65 74 65 20 73 6c 65 65 | 70 28 31 29 20 63 61 6c |ete slee|p(1) cal|
|00005180| 6c 20 69 6e 20 63 68 61 | 72 61 63 74 65 72 20 72 |l in cha|racter r|
|00005190| 65 72 6f 6c 6c 69 6e 67 | 20 63 6f 64 65 0a 58 64 |erolling| code.Xd|
|000051a0| 65 61 74 68 2e 63 3a 20 | 70 75 74 20 22 23 69 66 |eath.c: |put "#if|
|000051b0| 6e 64 65 66 20 4c 5f 53 | 45 54 22 20 61 72 6f 75 |ndef L_S|ET" arou|
|000051c0| 6e 64 20 74 68 65 20 23 | 64 65 66 69 6e 65 20 4c |nd the #|define L|
|000051d0| 5f 53 45 54 0a 58 69 6f | 2e 63 3a 20 69 66 64 65 |_SET.Xio|.c: ifde|
|000051e0| 66 20 6f 75 74 20 73 75 | 73 70 65 6e 64 20 63 6f |f out su|spend co|
|000051f0| 64 65 2c 20 66 6f 72 20 | 55 53 47 20 73 79 73 74 |de, for |USG syst|
|00005200| 65 6d 73 20 77 69 74 68 | 20 42 53 44 69 73 6d 73 |ems with| BSDisms|
|00005210| 20 74 68 61 74 20 68 61 | 76 65 20 53 49 47 54 53 | that ha|ve SIGTS|
|00005220| 54 50 0a 58 09 64 65 66 | 69 6e 65 64 20 62 75 74 |TP.X.def|ined but|
|00005230| 20 64 6f 6e 27 74 20 61 | 63 74 75 61 6c 6c 79 20 | don't a|ctually |
|00005240| 69 6d 70 6c 65 6d 65 6e | 74 20 69 74 0a 58 69 6f |implemen|t it.Xio|
|00005250| 2e 63 3a 20 63 68 61 6e | 67 65 20 6e 61 6d 65 20 |.c: chan|ge name |
|00005260| 6f 66 20 76 61 72 69 61 | 62 6c 65 20 27 62 6f 72 |of varia|ble 'bor|
|00005270| 64 65 72 27 20 74 6f 20 | 27 73 63 72 65 65 6e 5f |der' to |'screen_|
|00005280| 62 6f 72 64 65 72 27 20 | 74 6f 20 61 76 6f 69 64 |border' |to avoid|
|00005290| 20 6e 61 6d 69 6e 67 0a | 58 09 63 6f 6e 66 6c 69 | naming.|X.confli|
|000052a0| 63 74 20 6f 6e 20 53 47 | 49 2f 53 59 53 20 56 20 |ct on SG|I/SYS V |
|000052b0| 6d 61 63 68 69 6e 65 0a | 58 49 4e 53 54 41 4c 4c |machine.|XINSTALL|
|000052c0| 3a 20 6d 6f 76 65 64 20 | 66 72 6f 6d 20 64 6f 63 |: moved |from doc|
|000052d0| 20 73 75 62 64 69 72 65 | 63 74 6f 72 79 20 74 6f | subdire|ctory to|
|000052e0| 20 72 6f 6f 74 20 64 69 | 72 65 63 74 6f 72 79 2c | root di|rectory,|
|000052f0| 20 61 6e 64 20 62 72 6f | 75 67 68 74 20 75 70 20 | and bro|ught up |
|00005300| 74 6f 20 64 61 74 65 0a | 58 2d 2d 2d 2d 2d 2d 2d |to date.|X-------|
|00005310| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 20 33 2f 31 0a 58 6d |--------|- 3/1.Xm|
|00005320| 69 73 63 32 2e 63 3a 20 | 74 77 6f 20 70 6c 61 63 |isc2.c: |two plac|
|00005330| 65 73 20 77 68 65 72 65 | 20 28 31 4c 20 3c 3c 20 |es where| (1L << |
|00005340| 6a 29 20 6f 63 63 75 72 | 72 65 64 2c 20 61 6e 64 |j) occur|red, and|
|00005350| 20 6a 20 63 6f 75 6c 64 | 20 62 65 20 39 39 20 28 | j could| be 99 (|
|00005360| 75 6e 6b 6e 6f 77 6e 0a | 58 09 73 70 65 6c 6c 20 |unknown.|X.spell |
|00005370| 66 72 6f 6d 20 73 70 65 | 6c 6c 5f 6f 72 64 65 72 |from spe|ll_order|
|00005380| 5b 5d 29 2c 20 74 68 69 | 73 20 69 73 20 61 6e 20 |[]), thi|s is an |
|00005390| 75 6e 64 65 66 69 6e 65 | 64 20 6f 70 65 72 61 74 |undefine|d operat|
|000053a0| 69 6f 6e 2c 20 66 69 78 | 65 64 0a 58 09 73 6f 75 |ion, fix|ed.X.sou|
|000053b0| 72 63 65 20 74 6f 20 6e | 6f 74 20 73 68 69 66 74 |rce to n|ot shift|
|000053c0| 20 69 66 20 6a 20 3d 3d | 20 39 39 0a 58 2d 2d 2d | if j ==| 99.X---|
|000053d0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000053e0| 20 33 2f 33 0a 58 6d 69 | 73 63 31 2e 63 3a 20 73 | 3/3.Xmi|sc1.c: s|
|000053f0| 65 74 5f 6f 70 74 69 6f | 6e 73 28 29 2c 20 74 79 |et_optio|ns(), ty|
|00005400| 70 69 6e 67 20 27 2d 27 | 20 6f 6e 20 6c 69 6e 65 |ping '-'| on line|
|00005410| 20 30 20 67 61 76 65 20 | 65 72 72 6f 72 2c 20 63 | 0 gave |error, c|
|00005420| 68 61 6e 67 65 20 69 3d | 6d 61 78 20 74 6f 0a 58 |hange i=|max to.X|
|00005430| 09 69 3d 6d 61 78 2d 31 | 0a 58 73 74 6f 72 65 31 |.i=max-1|.Xstore1|
|00005440| 2e 63 3a 20 69 74 65 6d | 5f 76 61 6c 75 65 28 29 |.c: item|_value()|
|00005450| 2c 20 63 61 6c 63 75 6c | 61 74 69 6e 67 20 64 69 |, calcul|ating di|
|00005460| 67 67 69 6e 67 20 74 6f | 6f 6c 20 76 61 6c 75 65 |gging to|ol value|
|00005470| 73 20 77 72 6f 6e 67 2c | 20 73 75 62 74 72 61 63 |s wrong,| subtrac|
|00005480| 74 20 6f 66 66 0a 58 09 | 6f 62 6a 65 63 74 73 20 |t off.X.|objects |
|00005490| 69 6e 69 74 69 61 6c 20 | 70 31 20 70 6c 75 73 73 |initial |p1 pluss|
|000054a0| 65 73 20 62 65 66 6f 72 | 65 20 6d 75 6c 74 69 70 |es befor|e multip|
|000054b0| 6c 79 69 6e 67 20 70 31 | 20 62 79 20 31 30 30 0a |lying p1| by 100.|
|000054c0| 58 64 75 6e 67 65 6f 6e | 2e 63 3a 20 66 6f 72 20 |Xdungeon|.c: for |
|000054d0| 70 61 72 61 6c 79 73 65 | 64 2f 72 65 73 74 69 6e |paralyse|d/restin|
|000054e0| 67 2c 20 6d 6f 76 65 20 | 63 75 72 73 6f 72 20 74 |g, move |cursor t|
|000054f0| 6f 20 70 6c 61 79 65 72 | 20 62 65 66 6f 72 65 20 |o player| before |
|00005500| 72 65 66 72 65 73 68 20 | 63 61 6c 6c 0a 58 63 72 |refresh |call.Xcr|
|00005510| 65 61 74 75 72 65 2e 63 | 3a 20 64 69 73 65 6e 63 |eature.c|: disenc|
|00005520| 68 61 6e 74 65 72 20 62 | 61 74 20 61 74 74 61 63 |hanter b|at attac|
|00005530| 6b 73 20 63 6f 75 6c 64 | 20 70 75 74 20 74 6f 68 |ks could| put toh|
|00005540| 69 74 2f 74 6f 64 61 6d | 2f 74 6f 61 63 20 62 65 |it/todam|/toac be|
|00005550| 6c 6f 77 20 7a 65 72 6f | 2c 0a 58 09 66 69 78 65 |low zero|,.X.fixe|
|00005560| 64 20 73 6f 20 74 68 61 | 74 20 74 68 65 79 20 63 |d so tha|t they c|
|00005570| 61 6e 20 6e 6f 74 20 67 | 6f 20 62 65 6c 6f 77 20 |an not g|o below |
|00005580| 7a 65 72 6f 0a 58 6d 6f | 72 69 61 31 2e 63 3a 20 |zero.Xmo|ria1.c: |
|00005590| 69 66 20 68 61 76 65 20 | 4d 41 58 5f 53 48 4f 52 |if have |MAX_SHOR|
|000055a0| 54 20 68 70 2f 6d 61 6e | 61 2c 20 74 68 65 6e 20 |T hp/man|a, then |
|000055b0| 63 6f 75 6c 64 20 67 65 | 74 20 6f 76 65 72 66 6c |could ge|t overfl|
|000055c0| 6f 77 20 69 6e 20 72 65 | 67 65 6e 68 70 2f 6d 61 |ow in re|genhp/ma|
|000055d0| 6e 61 0a 58 09 72 6f 75 | 74 69 6e 65 73 2c 20 61 |na.X.rou|tines, a|
|000055e0| 64 64 65 64 20 63 68 65 | 63 6b 73 20 66 6f 72 20 |dded che|cks for |
|000055f0| 6f 76 65 72 66 6c 6f 77 | 0a 58 64 75 6e 67 65 6f |overflow|.Xdungeo|
|00005600| 6e 2e 63 2c 20 69 6f 2e | 63 3a 20 73 61 76 65 20 |n.c, io.|c: save |
|00005610| 6f 6e 20 45 4f 46 20 63 | 6f 64 65 20 64 69 64 20 |on EOF c|ode did |
|00005620| 6e 6f 74 20 77 6f 72 6b | 2c 20 69 6e 20 69 6e 6b |not work|, in ink|
|00005630| 65 79 28 29 2c 20 72 65 | 6d 6f 76 65 20 63 61 73 |ey(), re|move cas|
|00005640| 74 73 20 74 6f 0a 58 09 | 63 68 61 72 20 69 6e 20 |ts to.X.|char in |
|00005650| 65 6f 66 20 74 65 73 74 | 2c 20 72 65 6d 6f 76 65 |eof test|, remove|
|00005660| 20 63 61 6c 6c 20 74 6f | 20 66 65 6f 66 28 29 2c | call to| feof(),|
|00005670| 20 69 6e 20 64 75 6e 67 | 65 6f 6e 28 29 2c 20 61 | in dung|eon(), a|
|00005680| 64 64 20 21 65 6f 66 5f | 66 6c 61 67 0a 58 09 74 |dd !eof_|flag.X.t|
|00005690| 6f 20 69 6e 6e 65 72 6d | 6f 73 74 20 77 68 69 6c |o innerm|ost whil|
|000056a0| 65 20 6c 6f 6f 70 20 74 | 6f 20 65 6e 73 75 72 65 |e loop t|o ensure|
|000056b0| 20 69 74 20 65 78 69 74 | 73 20 6f 6e 20 65 72 72 | it exit|s on err|
|000056c0| 6f 72 0a 58 73 61 76 65 | 2e 63 3a 20 69 6e 20 73 |or.Xsave|.c: in s|
|000056d0| 76 5f 77 72 69 74 65 28 | 29 2c 20 63 6c 65 61 72 |v_write(|), clear|
|000056e0| 20 64 65 61 74 68 20 66 | 6c 61 67 20 69 66 20 65 | death f|lag if e|
|000056f0| 6f 66 5f 66 6c 61 67 20 | 6f 72 20 70 61 6e 69 63 |of_flag |or panic|
|00005700| 5f 73 61 76 65 20 73 65 | 74 2c 20 73 6f 20 0a 58 |_save se|t, so .X|
|00005710| 09 70 6c 61 79 65 72 20 | 63 61 6e 20 72 65 73 74 |.player |can rest|
|00005720| 61 72 74 20 67 61 6d 65 | 20 74 6f 20 73 65 65 20 |art game| to see |
|00005730| 74 6f 6d 62 73 74 6f 6e | 65 0a 58 6d 61 69 6e 2e |tombston|e.Xmain.|
|00005740| 63 3a 20 73 65 74 20 64 | 65 61 74 68 20 66 6c 61 |c: set d|eath fla|
|00005750| 67 20 69 66 20 68 69 74 | 20 70 6f 69 6e 74 73 20 |g if hit| points |
|00005760| 61 72 65 20 6e 65 67 61 | 74 69 76 65 2c 20 63 61 |are nega|tive, ca|
|00005770| 6e 20 68 61 70 70 65 6e | 20 69 66 20 61 20 48 41 |n happen| if a HA|
|00005780| 4e 47 55 50 0a 58 09 73 | 61 76 65 66 69 6c 65 20 |NGUP.X.s|avefile |
|00005790| 6f 72 20 70 61 6e 69 63 | 20 73 61 76 65 66 69 6c |or panic| savefil|
|000057a0| 65 20 69 73 20 72 65 73 | 74 6f 72 65 64 0a 58 73 |e is res|tored.Xs|
|000057b0| 61 76 65 2e 63 3a 20 69 | 66 20 67 65 74 5f 63 68 |ave.c: i|f get_ch|
|000057c0| 61 72 28 29 2c 20 64 6f | 6e 27 74 20 6f 76 65 72 |ar(), do|n't over|
|000057d0| 77 72 69 74 65 20 64 69 | 65 64 5f 66 72 6f 6d 20 |write di|ed_from |
|000057e0| 73 74 72 69 6e 67 20 69 | 66 20 70 6c 61 79 65 72 |string i|f player|
|000057f0| 20 69 73 20 64 65 61 64 | 0a 58 6d 61 69 6e 2e 63 | is dead|.Xmain.c|
|00005800| 3a 20 69 66 20 73 70 65 | 63 69 66 79 20 2d 72 20 |: if spe|cify -r |
|00005810| 6f 72 20 2d 6f 2c 20 66 | 6f 72 63 65 20 72 6f 67 |or -o, f|orce rog|
|00005820| 75 65 5f 6c 69 6b 65 20 | 74 6f 20 61 70 70 72 6f |ue_like |to appro|
|00005830| 70 72 69 61 74 65 20 76 | 61 6c 75 65 20 61 66 74 |priate v|alue aft|
|00005840| 65 72 0a 58 09 72 65 61 | 64 20 74 68 65 20 73 61 |er.X.rea|d the sa|
|00005850| 76 65 66 69 6c 65 2c 20 | 73 69 6e 63 65 20 67 65 |vefile, |since ge|
|00005860| 74 5f 63 68 61 72 28 29 | 20 77 69 6c 6c 20 6d 6f |t_char()| will mo|
|00005870| 64 69 66 79 20 72 6f 67 | 75 65 5f 6c 69 6b 65 5f |dify rog|ue_like_|
|00005880| 63 6f 6d 6d 61 6e 64 73 | 0a 58 6d 6f 72 69 61 31 |commands|.Xmoria1|
|00005890| 2e 63 3a 20 73 65 61 72 | 63 68 28 29 2c 20 22 68 |.c: sear|ch(), "h|
|000058a0| 61 76 65 20 66 6f 75 6e | 64 20 61 20 74 72 61 70 |ave foun|d a trap|
|000058b0| 2e 2e 22 20 66 69 78 65 | 64 2c 20 72 65 6d 6f 76 |.." fixe|d, remov|
|000058c0| 65 64 20 65 78 74 72 61 | 20 70 65 72 69 6f 64 0a |ed extra| period.|
|000058d0| 58 6d 6f 6e 73 74 65 72 | 73 2e 63 3a 20 61 64 64 |Xmonster|s.c: add|
|000058e0| 65 64 20 43 44 5f 4e 4f | 5f 53 4c 45 45 50 20 66 |ed CD_NO|_SLEEP f|
|000058f0| 6c 61 67 20 74 6f 20 6a | 65 6c 6c 69 65 73 2c 20 |lag to j|ellies, |
|00005900| 6f 6f 7a 65 73 2c 20 65 | 6c 65 6d 65 6e 74 61 6c |oozes, e|lemental|
|00005910| 73 20 61 6e 64 20 74 68 | 65 0a 58 09 67 65 6c 61 |s and th|e.X.gela|
|00005920| 74 69 6e 6f 75 73 20 63 | 75 62 65 0a 58 64 75 6e |tinous c|ube.Xdun|
|00005930| 67 65 6f 6e 2e 63 3a 20 | 66 69 78 20 22 77 68 69 |geon.c: |fix "whi|
|00005940| 63 68 20 6c 65 76 65 6c | 22 20 77 69 7a 61 72 64 |ch level|" wizard|
|00005950| 20 70 72 6f 6d 70 74 2c | 20 6c 69 6d 69 74 65 64 | prompt,| limited|
|00005960| 20 74 6f 20 6c 65 76 65 | 6c 20 39 39 20 6d 61 78 | to leve|l 99 max|
|00005970| 0a 58 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 20 33 2f |.X------|----- 3/|
|00005980| 34 0a 58 61 6c 6c 3a 20 | 6d 65 72 67 65 64 20 69 |4.Xall: |merged i|
|00005990| 6e 20 6d 6f 72 65 20 4d | 61 63 20 64 69 66 66 73 |n more M|ac diffs|
|000059a0| 2c 20 4d 61 63 20 76 65 | 72 73 69 6f 6e 20 73 68 |, Mac ve|rsion sh|
|000059b0| 6f 75 6c 64 20 63 6f 6d | 70 69 6c 65 20 6e 6f 77 |ould com|pile now|
|000059c0| 0a 58 77 69 7a 61 72 64 | 2e 63 3a 20 73 74 65 61 |.Xwizard|.c: stea|
|000059d0| 6c 74 68 20 6d 61 78 20 | 38 37 20 73 68 6f 75 6c |lth max |87 shoul|
|000059e0| 64 20 62 65 20 31 38 20 | 69 6e 20 70 72 69 6e 74 |d be 18 |in print|
|000059f0| 65 64 20 73 74 72 69 6e | 67 0a 58 64 65 73 63 2e |ed strin|g.Xdesc.|
|00005a00| 63 3a 20 69 64 65 6e 74 | 69 66 79 28 29 2c 20 69 |c: ident|ify(), i|
|00005a10| 66 20 63 75 72 73 65 64 | 20 69 6e 63 73 63 72 69 |f cursed| incscri|
|00005a20| 62 65 20 77 69 74 68 20 | 49 44 5f 44 41 4d 44 2c |be with |ID_DAMD,|
|00005a30| 20 75 6e 73 61 6d 70 6c | 65 28 29 2c 20 64 6f 20 | unsampl|e(), do |
|00005a40| 6e 6f 74 0a 58 09 63 6c | 65 61 72 20 74 68 65 20 |not.X.cl|ear the |
|00005a50| 49 44 5f 44 41 4d 44 20 | 66 6c 61 67 2c 20 73 69 |ID_DAMD |flag, si|
|00005a60| 6e 63 65 20 61 6e 20 75 | 6e 73 61 6d 70 6c 65 64 |nce an u|nsampled|
|00005a70| 20 69 74 65 6d 20 69 73 | 20 73 74 69 6c 6c 20 63 | item is| still c|
|00005a80| 75 72 73 65 64 0a 58 63 | 6f 6e 66 69 67 3a 20 63 |ursed.Xc|onfig: c|
|00005a90| 68 61 6e 67 65 20 76 65 | 72 73 69 6f 6e 20 6e 75 |hange ve|rsion nu|
|00005aa0| 6d 62 65 72 20 74 6f 20 | 35 2e 31 2e 31 20 61 6e |mber to |5.1.1 an|
|00005ab0| 64 20 72 65 6c 65 61 73 | 65 0a 58 2d 2d 2d 2d 2d |d releas|e.X-----|
|00005ac0| 2d 2d 2d 2d 2d 2d 2d 20 | 33 2f 35 0a 58 6d 6f 6e |------- |3/5.Xmon|
|00005ad0| 73 74 65 72 73 2e 63 3a | 20 61 64 64 65 64 20 43 |sters.c:| added C|
|00005ae0| 44 5f 4e 4f 5f 53 4c 45 | 45 50 20 66 6c 61 67 20 |D_NO_SLE|EP flag |
|00005af0| 74 6f 20 63 72 65 65 70 | 69 6e 67 20 63 6f 69 6e |to creep|ing coin|
|00005b00| 73 0a 58 72 65 63 61 6c | 6c 2e 63 3a 20 72 65 63 |s.Xrecal|l.c: rec|
|00005b10| 68 61 72 67 65 28 29 2c | 20 63 68 61 6e 67 65 20 |harge(),| change |
|00005b20| 63 68 61 6e 63 65 20 6f | 66 20 66 61 69 6c 75 72 |chance o|f failur|
|00005b30| 65 20 66 72 6f 6d 20 72 | 61 6e 64 69 6e 74 28 28 |e from r|andint((|
|00005b40| 6e 75 6d 2b 34 30 29 2f | 31 30 29 3d 31 0a 58 09 |num+40)/|10)=1.X.|
|00005b50| 74 6f 20 72 61 6e 64 69 | 6e 74 28 28 6e 75 6d 2b |to randi|nt((num+|
|00005b60| 34 30 2d 69 5f 70 74 72 | 2d 3e 70 31 2d 69 5f 70 |40-i_ptr|->p1-i_p|
|00005b70| 74 72 2d 3e 6c 65 76 65 | 6c 29 2f 31 30 29 3d 31 |tr->leve|l)/10)=1|
|00005b80| 20 74 6f 20 6d 61 6b 65 | 20 69 74 20 68 61 72 64 | to make| it hard|
|00005b90| 65 72 0a 58 09 74 6f 20 | 72 65 63 68 61 72 67 65 |er.X.to |recharge|
|00005ba0| 20 68 69 67 68 20 6c 65 | 76 65 6c 20 61 6e 64 20 | high le|vel and |
|00005bb0| 68 69 67 68 6c 6c 79 20 | 63 68 61 72 67 65 64 20 |highlly |charged |
|00005bc0| 77 61 6e 64 73 0a 58 72 | 65 63 61 6c 6c 2e 63 3a |wands.Xr|ecall.c:|
|00005bd0| 20 63 68 61 6e 67 65 20 | 6a 20 66 72 6f 6d 20 69 | change |j from i|
|00005be0| 6e 74 20 74 6f 20 69 6e | 74 33 32 75 2c 20 73 69 |nt to in|t32u, si|
|00005bf0| 6e 63 65 20 69 74 20 69 | 73 20 75 73 65 64 20 77 |nce it i|s used w|
|00005c00| 69 74 68 20 66 6c 61 67 | 20 66 69 65 6c 64 73 2c |ith flag| fields,|
|00005c10| 0a 58 09 63 68 61 6e 67 | 65 20 74 77 6f 20 25 64 |.X.chang|e two %d|
|00005c20| 20 75 73 65 73 20 6f 66 | 20 69 74 20 74 6f 20 25 | uses of| it to %|
|00005c30| 6c 64 0a 58 64 65 73 63 | 2e 63 3a 20 6f 62 6a 64 |ld.Xdesc|.c: objd|
|00005c40| 65 73 28 29 2c 20 64 6f | 6e 27 74 20 70 72 69 6e |es(), do|n't prin|
|00005c50| 74 20 49 44 5f 54 52 49 | 45 44 20 76 61 6c 75 65 |t ID_TRI|ED value|
|00005c60| 20 66 6f 72 20 73 74 6f | 72 65 20 62 6f 75 67 68 | for sto|re bough|
|00005c70| 74 20 69 74 65 6d 73 0a | 58 6d 6f 72 69 61 32 2e |t items.|Xmoria2.|
|00005c80| 63 3a 20 61 20 73 6c 6f | 77 20 64 61 72 74 20 74 |c: a slo|w dart t|
|00005c90| 72 61 70 20 6e 6f 77 20 | 68 61 73 20 6e 6f 20 65 |rap now |has no e|
|00005ca0| 66 66 65 63 74 20 69 66 | 20 68 61 76 65 20 66 72 |ffect if| have fr|
|00005cb0| 65 65 20 61 63 74 69 6f | 6e 0a 58 69 6f 2e 63 3a |ee actio|n.Xio.c:|
|00005cc0| 20 6d 75 73 74 20 69 66 | 64 65 66 20 6f 75 74 20 | must if|def out |
|00005cd0| 74 68 65 20 74 62 75 66 | 2e 63 5f 63 63 20 63 6f |the tbuf|.c_cc co|
|00005ce0| 64 65 2c 20 73 69 6e 63 | 65 20 74 68 69 73 20 63 |de, sinc|e this c|
|00005cf0| 61 75 73 65 73 20 74 68 | 65 20 70 72 6f 67 72 61 |auses th|e progra|
|00005d00| 6d 20 74 6f 0a 58 09 66 | 61 69 6c 20 66 6f 72 20 |m to.X.f|ail for |
|00005d10| 73 6f 6d 65 20 72 65 61 | 73 6f 6e 0a 58 2d 2d 2d |some rea|son.X---|
|00005d20| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 20 33 2f 31 |--------|---- 3/1|
|00005d30| 33 0a 58 73 69 67 6e 61 | 6c 73 2e 63 3a 20 61 64 |3.Xsigna|ls.c: ad|
|00005d40| 64 20 76 6f 69 64 20 74 | 6f 20 55 53 47 20 73 69 |d void t|o USG si|
|00005d50| 67 6e 61 6c 5f 68 61 6e | 64 65 72 20 64 65 66 69 |gnal_han|der defi|
|00005d60| 6e 69 74 69 6f 6e 0a 58 | 65 78 74 65 72 6e 73 2c |nition.X|externs,|
|00005d70| 20 6d 73 5f 6d 69 73 63 | 2e 63 3a 20 6d 6f 76 65 | ms_misc|.c: move|
|00005d80| 20 66 6f 70 65 6e 20 64 | 65 63 6c 61 72 61 74 69 | fopen d|eclarati|
|00005d90| 6f 6e 20 66 72 6f 6d 20 | 65 78 74 65 72 6e 73 2e |on from |externs.|
|00005da0| 68 20 74 6f 20 6d 73 5f | 6d 69 73 63 2e 63 2c 20 |h to ms_|misc.c, |
|00005db0| 61 6e 64 0a 58 09 6d 61 | 6b 65 20 73 74 61 74 69 |and.X.ma|ke stati|
|00005dc0| 63 2c 20 61 6e 64 20 6d | 61 6b 65 20 46 49 4c 45 |c, and m|ake FILE|
|00005dd0| 20 2a 20 6e 6f 74 20 73 | 74 72 75 63 74 20 5f 69 | * not s|truct _i|
|00005de0| 6f 62 75 66 0a 58 6d 73 | 5f 61 6e 73 69 2e 63 3a |obuf.Xms|_ansi.c:|
|00005df0| 20 69 6e 63 6c 75 64 65 | 20 73 74 64 69 6f 2e 68 | include| stdio.h|
|00005e00| 0a 58 67 65 6e 65 72 61 | 74 65 2e 63 3a 20 63 68 |.Xgenera|te.c: ch|
|00005e10| 61 6e 67 65 20 23 69 66 | 20 44 45 42 55 47 20 74 |ange #if| DEBUG t|
|00005e20| 6f 20 23 69 66 64 65 66 | 20 44 45 42 55 47 0a 58 |o #ifdef| DEBUG.X|
|00005e30| 63 6f 6e 66 69 67 2e 68 | 2c 20 67 65 6e 65 72 61 |config.h|, genera|
|00005e40| 74 65 2e 63 2c 20 74 79 | 70 65 73 2e 68 3a 20 61 |te.c, ty|pes.h: a|
|00005e50| 64 64 65 64 20 69 66 64 | 65 66 73 20 66 6f 72 20 |dded ifd|efs for |
|00005e60| 49 42 4d 50 43 5f 54 55 | 52 42 4f 5f 43 0a 58 2d |IBMPC_TU|RBO_C.X-|
|00005e70| 2d 2d 2d 2d 2d 2d 2d 2d | 20 20 33 2f 31 36 0a 58 |--------| 3/16.X|
|00005e80| 6d 6f 72 69 61 31 2e 63 | 3a 20 69 6e 76 65 6e 5f |moria1.c|: inven_|
|00005e90| 63 6f 6d 6d 61 6e 64 28 | 29 20 22 57 65 61 72 22 |command(|) "Wear"|
|00005ea0| 20 70 72 6f 6d 70 74 20 | 63 68 61 6e 67 65 64 20 | prompt |changed |
|00005eb0| 74 6f 20 22 57 65 61 72 | 2f 57 69 65 6c 64 22 0a |to "Wear|/Wield".|
|00005ec0| 58 6d 6f 6e 73 74 65 72 | 73 2e 63 3a 20 65 61 72 |Xmonster|s.c: ear|
|00005ed0| 74 68 20 65 6c 65 6d 65 | 6e 74 61 6c 73 2f 73 70 |th eleme|ntals/sp|
|00005ee0| 69 72 69 74 73 20 63 61 | 6e 20 6e 6f 77 20 6d 6f |irits ca|n now mo|
|00005ef0| 76 65 20 74 68 72 6f 75 | 67 68 20 77 61 6c 6c 73 |ve throu|gh walls|
|00005f00| 0a 58 73 70 65 6c 6c 73 | 2e 63 3a 20 77 61 6c 6c |.Xspells|.c: wall|
|00005f10| 5f 62 75 69 6c 64 28 29 | 2c 20 66 6f 72 20 65 61 |_build()|, for ea|
|00005f20| 72 74 68 20 65 6c 65 6d | 65 6e 74 61 6c 73 2c 20 |rth elem|entals, |
|00005f30| 69 6e 63 72 65 61 73 65 | 20 74 68 65 69 72 20 68 |increase| their h|
|00005f40| 69 74 20 70 6f 69 6e 74 | 73 0a 58 66 69 6c 65 73 |it point|s.Xfiles|
|00005f50| 2e 63 3a 20 68 65 6c 70 | 66 69 6c 65 28 29 2c 20 |.c: help|file(), |
|00005f60| 63 61 6e 20 45 53 43 20 | 6f 75 74 20 6e 6f 77 0a |can ESC |out now.|
|00005f70| 58 73 70 65 6c 6c 73 2e | 63 3a 20 63 6c 6f 6e 69 |Xspells.|c: cloni|
|00005f80| 6e 67 20 61 20 6d 6f 6e | 73 74 65 72 20 77 69 6c |ng a mon|ster wil|
|00005f90| 6c 20 77 61 6b 65 20 69 | 74 20 75 70 20 6e 6f 77 |l wake i|t up now|
|00005fa0| 0a 58 64 75 6e 67 65 6f | 6e 2e 63 3a 20 61 6c 6c |.Xdungeo|n.c: all|
|00005fb0| 6f 77 20 74 77 6f 2d 63 | 68 61 72 20 63 6f 6e 74 |ow two-c|har cont|
|00005fc0| 72 6f 6c 20 63 68 61 72 | 61 63 74 65 72 20 73 65 |rol char|acter se|
|00005fd0| 71 75 65 6e 63 65 73 20 | 74 6f 20 62 65 20 75 73 |quences |to be us|
|00005fe0| 65 64 20 77 69 74 68 0a | 58 09 72 65 70 65 61 74 |ed with.|X.repeat|
|00005ff0| 65 64 20 63 6f 6d 6d 61 | 6e 64 73 20 28 64 65 6c |ed comma|nds (del|
|00006000| 65 74 65 64 20 65 6c 73 | 65 20 66 72 6f 6d 20 22 |eted els|e from "|
|00006010| 65 6c 73 65 20 69 66 20 | 28 63 6f 6d 6d 61 6e 64 |else if |(command|
|00006020| 20 3d 3d 20 27 5e 27 29 | 22 29 0a 58 72 6f 67 6c | == '^')|").Xrogl|
|00006030| 63 6d 64 73 2e 68 6c 70 | 3a 20 64 6f 63 75 6d 65 |cmds.hlp|: docume|
|00006040| 6e 74 20 68 6f 77 20 74 | 6f 20 61 76 6f 69 64 20 |nt how t|o avoid |
|00006050| 70 72 6f 62 6c 65 6d 20 | 77 69 74 68 20 72 65 70 |problem |with rep|
|00006060| 65 61 74 65 64 20 64 69 | 67 20 6c 65 66 74 20 63 |eated di|g left c|
|00006070| 6f 6d 6d 61 6e 64 2c 0a | 58 09 69 2e 65 2e 20 27 |ommand,.|X.i.e. '|
|00006080| 31 33 5e 48 27 20 64 6f | 65 73 6e 27 74 20 77 6f |13^H' do|esn't wo|
|00006090| 72 6b 2c 20 74 79 70 65 | 20 5e 20 74 68 65 6e 20 |rk, type| ^ then |
|000060a0| 48 2c 20 6f 72 20 74 79 | 70 65 20 53 50 41 43 45 |H, or ty|pe SPACE|
|000060b0| 20 74 68 65 6e 20 5e 48 | 0a 58 2d 2d 2d 2d 2d 2d | then ^H|.X------|
|000060c0| 2d 2d 2d 20 33 2f 31 39 | 0a 58 75 6e 69 78 2e 63 |--- 3/19|.Xunix.c|
|000060d0| 3a 20 69 6e 69 74 69 61 | 6c 69 7a 65 20 6e 75 6d |: initia|lize num|
|000060e0| 5f 63 68 61 72 73 20 74 | 6f 20 7a 65 72 6f 20 69 |_chars t|o zero i|
|000060f0| 6e 20 63 68 65 63 6b 5f | 69 6e 70 75 74 28 29 2c |n check_|input(),|
|00006100| 20 69 6e 20 63 61 73 65 | 20 46 49 4f 4e 52 45 41 | in case| FIONREA|
|00006110| 44 20 61 62 73 65 6e 74 | 0a 58 2d 2d 2d 2d 2d 2d |D absent|.X------|
|00006120| 2d 2d 2d 2d 20 33 2f 32 | 31 0a 58 61 6c 6c 3a 20 |---- 3/2|1.Xall: |
|00006130| 66 69 78 20 6d 6f 73 74 | 20 53 59 53 5f 56 20 6c |fix most| SYS_V l|
|00006140| 69 6e 74 20 65 72 72 6f | 72 73 0a 58 2d 2d 2d 2d |int erro|rs.X----|
|00006150| 2d 2d 2d 2d 2d 2d 2d 20 | 33 2f 32 33 0a 58 64 75 |------- |3/23.Xdu|
|00006160| 6e 67 65 6f 6e 2e 63 2c | 20 69 6f 2e 63 3a 20 63 |ngeon.c,| io.c: c|
|00006170| 61 6c 6c 69 6e 67 20 69 | 6e 6b 65 79 28 29 20 77 |alling i|nkey() w|
|00006180| 68 65 6e 20 63 68 65 63 | 6b 5f 69 6e 70 75 74 20 |hen chec|k_input |
|00006190| 74 72 75 65 20 69 73 20 | 77 72 6f 6e 67 20 73 69 |true is |wrong si|
|000061a0| 6e 63 65 20 69 74 20 74 | 72 61 70 73 0a 58 09 5e |nce it t|raps.X.^|
|000061b0| 52 20 61 6e 64 20 64 6f | 65 73 20 6f 74 68 65 72 |R and do|es other|
|000061c0| 20 73 74 75 66 66 2c 20 | 69 6e 73 74 65 61 64 20 | stuff, |instead |
|000061d0| 63 61 6c 6c 20 6e 65 77 | 20 66 75 6e 63 74 69 6f |call new| functio|
|000061e0| 6e 20 72 61 77 5f 69 6e | 6b 65 79 28 29 2c 20 77 |n raw_in|key(), w|
|000061f0| 68 69 63 68 0a 58 09 6f | 6e 6c 79 20 63 61 6c 6c |hich.X.o|nly call|
|00006200| 73 20 67 65 74 63 68 0a | 58 69 6f 2e 63 3a 20 66 |s getch.|Xio.c: f|
|00006210| 6c 75 73 68 28 29 2c 20 | 6f 63 63 61 73 69 6f 6e |lush(), |occasion|
|00006220| 61 6c 6c 79 20 63 61 75 | 73 65 64 20 6c 6f 73 73 |ally cau|sed loss|
|00006230| 20 6f 66 20 6f 75 74 70 | 75 74 2c 20 69 6e 73 74 | of outp|ut, inst|
|00006240| 65 61 64 20 6f 66 20 75 | 73 69 6e 67 20 66 61 6e |ead of u|sing fan|
|00006250| 63 79 0a 58 09 69 6f 63 | 74 6c 73 2c 20 64 72 61 |cy.X.ioc|tls, dra|
|00006260| 69 6e 20 69 6e 70 75 74 | 20 62 79 20 75 73 69 6e |in input| by usin|
|00006270| 67 20 63 68 65 63 6b 5f | 69 6e 70 75 74 2f 72 61 |g check_|input/ra|
|00006280| 77 5f 69 6e 6b 65 79 0a | 58 2d 2d 2d 2d 2d 2d 2d |w_inkey.|X-------|
|00006290| 2d 2d 20 33 2f 32 35 0a | 58 64 75 6e 67 65 6f 6e |-- 3/25.|Xdungeon|
|000062a0| 2e 63 2c 20 69 6f 2e 63 | 2c 20 75 6e 69 78 2e 63 |.c, io.c|, unix.c|
|000062b0| 2c 20 61 74 61 72 69 73 | 74 2e 63 3a 20 20 41 49 |, ataris|t.c: AI|
|000062c0| 58 20 63 61 6e 27 74 20 | 63 68 65 63 6b 20 74 6f |X can't |check to|
|000062d0| 20 73 65 65 20 69 66 20 | 69 6e 70 75 74 20 69 73 | see if |input is|
|000062e0| 0a 58 09 70 65 6e 64 69 | 6e 67 2c 20 62 75 74 20 |.X.pendi|ng, but |
|000062f0| 63 61 6e 20 64 6f 20 6e | 6f 6e 2d 62 6c 6f 63 6b |can do n|on-block|
|00006300| 69 6e 67 20 72 65 61 64 | 2c 20 73 6f 20 63 68 65 |ing read|, so che|
|00006310| 63 6b 5f 69 6e 70 75 74 | 20 63 68 61 6e 67 65 64 |ck_input| changed|
|00006320| 20 73 6f 0a 58 09 74 68 | 61 74 20 69 74 20 63 6f | so.X.th|at it co|
|00006330| 6e 73 75 6d 65 73 20 69 | 6e 70 75 74 20 77 68 65 |nsumes i|nput whe|
|00006340| 6e 20 63 61 6c 6c 65 64 | 0a 58 63 6f 6e 73 74 61 |n called|.Xconsta|
|00006350| 6e 74 2e 68 3a 20 63 68 | 61 6e 67 65 20 76 65 72 |nt.h: ch|ange ver|
|00006360| 73 69 6f 6e 20 6e 75 6d | 62 65 72 20 74 6f 20 35 |sion num|ber to 5|
|00006370| 2e 31 2e 32 20 61 6e 64 | 20 64 69 73 74 72 69 62 |.1.2 and| distrib|
|00006380| 75 74 65 0a 58 2d 2d 2d | 2d 2d 2d 2d 2d 20 33 2f |ute.X---|----- 3/|
|00006390| 32 36 0a 58 73 61 76 65 | 2e 63 3a 20 77 68 65 6e |26.Xsave|.c: when|
|000063a0| 20 72 65 73 75 72 72 65 | 63 74 2c 20 63 6c 65 61 | resurre|ct, clea|
|000063b0| 72 20 70 6f 69 73 6f 6e | 65 64 20 66 6c 61 67 20 |r poison|ed flag |
|000063c0| 61 6e 64 20 66 6f 6f 64 | 20 66 6c 61 67 20 74 6f |and food| flag to|
|000063d0| 20 70 72 65 76 65 6e 74 | 20 63 68 61 72 61 63 74 | prevent| charact|
|000063e0| 65 72 0a 58 09 66 72 6f | 6d 20 69 6d 6d 65 64 69 |er.X.fro|m immedi|
|000063f0| 61 74 65 6c 79 20 64 79 | 69 6e 67 20 61 67 61 69 |ately dy|ing agai|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.