home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 October / usenetsourcesnewsgroupsinfomagicoctober1994disk2.iso / games / volume9 / umoria3 / part07 < prev    next >
SHell self-extracting ARchive  |  1990-05-21  |  60.2 KB

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: part07

ConfidenceProgramDetectionMatch TypeSupport
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 36 32 3a 20 20 75 6d |ct: v09i|062: 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 30 37 2f 33 31 0a 4d |.2), Par|t07/31.M|
|000000d0| 65 73 73 61 67 65 2d 49 | 44 3a 20 3c 35 35 39 33 |essage-I|D: <5593|
|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 36 20 4d 61 |COM>.Dat|e: 16 Ma|
|00000100| 79 20 39 30 20 31 39 3a | 31 33 3a 34 38 20 47 4d |y 90 19:|13:48 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 31 30 39 0a 41 70 |M.Lines:| 1109.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 36 32 0a | 41 72 63 68 69 76 65 2d |ssue 62.|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 30 37 0a 53 75 70 | 65 72 73 65 64 65 73 3a |rt07.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 37 20 28 6f 66 20 33 | 31 29 2e 22 0a 23 20 43 | 7 (of 3|1).".# C|
|00000390| 6f 6e 74 65 6e 74 73 3a | 20 20 4f 43 68 61 6e 67 |ontents:| OChang|
|000003a0| 65 73 20 64 6f 63 2f 68 | 69 73 74 6f 72 79 0a 23 |es doc/h|istory.#|
|000003b0| 20 57 72 61 70 70 65 64 | 20 62 79 20 62 69 6c 6c | Wrapped| by bill|
|000003c0| 72 40 73 61 61 62 20 6f | 6e 20 57 65 64 20 4d 61 |r@saab o|n Wed Ma|
|000003d0| 79 20 31 36 20 31 31 3a | 35 34 3a 31 38 20 31 39 |y 16 11:|54:18 19|
|000003e0| 39 30 0a 50 41 54 48 3d | 2f 62 69 6e 3a 2f 75 73 |90.PATH=|/bin:/us|
|000003f0| 72 2f 62 69 6e 3a 2f 75 | 73 72 2f 75 63 62 20 3b |r/bin:/u|sr/ucb ;|
|00000400| 20 65 78 70 6f 72 74 20 | 50 41 54 48 0a 69 66 20 | export |PATH.if |
|00000410| 74 65 73 74 20 2d 66 20 | 27 4f 43 68 61 6e 67 65 |test -f |'OChange|
|00000420| 73 27 20 2d 61 20 22 24 | 7b 31 7d 22 20 21 3d 20 |s' -a "$|{1}" != |
|00000430| 22 2d 63 22 20 3b 20 74 | 68 65 6e 20 0a 20 20 65 |"-c" ; t|hen . e|
|00000440| 63 68 6f 20 73 68 61 72 | 3a 20 57 69 6c 6c 20 6e |cho shar|: Will n|
|00000450| 6f 74 20 63 6c 6f 62 62 | 65 72 20 65 78 69 73 74 |ot clobb|er exist|
|00000460| 69 6e 67 20 66 69 6c 65 | 20 5c 22 27 4f 43 68 61 |ing file| \"'OCha|
|00000470| 6e 67 65 73 27 5c 22 0a | 65 6c 73 65 0a 65 63 68 |nges'\".|else.ech|
|00000480| 6f 20 73 68 61 72 3a 20 | 45 78 74 72 61 63 74 69 |o shar: |Extracti|
|00000490| 6e 67 20 5c 22 27 4f 43 | 68 61 6e 67 65 73 27 5c |ng \"'OC|hanges'\|
|000004a0| 22 20 5c 28 35 35 36 33 | 38 20 63 68 61 72 61 63 |" \(5563|8 charac|
|000004b0| 74 65 72 73 5c 29 0a 73 | 65 64 20 22 73 2f 5e 58 |ters\).s|ed "s/^X|
|000004c0| 2f 2f 22 20 3e 27 4f 43 | 68 61 6e 67 65 73 27 20 |//" >'OC|hanges' |
|000004d0| 3c 3c 27 45 4e 44 5f 4f | 46 5f 46 49 4c 45 27 0a |<<'END_O|F_FILE'.|
|000004e0| 58 3a 3a 3a 3a 3a 31 39 | 38 37 20 46 69 78 65 73 |X:::::19|87 Fixes|
|000004f0| 3a 3a 3a 3a 3a 0a 58 38 | 37 20 66 69 78 65 73 20 |:::::.X8|7 fixes |
|00000500| 64 65 6c 65 74 65 64 2c | 20 73 65 65 20 74 68 65 |deleted,| see the|
|00000510| 20 34 2e 38 35 20 6f 72 | 20 34 2e 38 37 20 73 6f | 4.85 or| 4.87 so|
|00000520| 75 72 63 65 73 0a 58 3a | 3a 3a 3a 3a 31 39 38 38 |urces.X:|::::1988|
|00000530| 20 46 69 78 65 73 3a 3a | 3a 3a 3a 0a 58 38 38 20 | Fixes::|:::.X88 |
|00000540| 66 69 78 65 73 20 64 65 | 6c 65 74 65 64 2c 20 73 |fixes de|leted, s|
|00000550| 65 65 20 74 68 65 20 34 | 2e 38 38 20 73 6f 75 72 |ee the 4|.88 sour|
|00000560| 63 65 73 0a 58 3a 3a 3a | 3a 3a 31 39 38 39 20 46 |ces.X:::|::1989 F|
|00000570| 69 78 65 73 3a 3a 3a 3a | 3a 0a 58 2d 2d 2d 2d 2d |ixes::::|:.X-----|
|00000580| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000590| 20 20 32 2f 32 36 0a 58 | 61 6c 6c 20 66 69 6c 65 | 2/26.X|all file|
|000005a0| 73 3a 20 6d 65 72 67 65 | 64 20 74 68 65 20 75 6d |s: merge|d the um|
|000005b0| 6f 72 69 61 20 61 6e 64 | 20 50 43 2d 4d 6f 72 69 |oria and| PC-Mori|
|000005c0| 61 20 73 6f 75 72 63 65 | 73 0a 58 63 72 65 61 74 |a source|s.Xcreat|
|000005d0| 75 72 65 2e 63 3a 20 67 | 65 74 5f 6d 6f 76 65 73 |ure.c: g|et_moves|
|000005e0| 28 29 2c 20 31 32 20 6e | 75 6d 62 65 72 73 20 77 |(), 12 n|umbers w|
|000005f0| 65 72 65 20 77 72 6f 6e | 67 20 66 6f 72 20 6d 6f |ere wron|g for mo|
|00000600| 6e 73 74 65 72 20 6d 6f | 76 65 6d 65 6e 74 0a 58 |nster mo|vement.X|
|00000610| 77 69 7a 61 72 64 2e 63 | 3a 20 61 20 66 65 77 20 |wizard.c|: a few |
|00000620| 6d 6f 72 65 20 69 6e 74 | 20 74 6f 20 62 69 67 69 |more int| to bigi|
|00000630| 6e 74 5f 74 20 63 68 61 | 6e 67 65 73 20 6e 65 65 |nt_t cha|nges nee|
|00000640| 64 65 64 20 69 6e 20 77 | 69 7a 61 72 64 20 6d 6f |ded in w|izard mo|
|00000650| 64 65 20 63 6f 6d 6d 61 | 6e 64 73 0a 58 66 69 6c |de comma|nds.Xfil|
|00000660| 65 73 2e 63 3a 20 66 69 | 78 20 63 6f 6c 75 6d 6e |es.c: fi|x column|
|00000670| 73 20 69 6e 20 6d 6f 6e | 73 74 65 72 20 64 69 63 |s in mon|ster dic|
|00000680| 74 69 6f 6e 61 72 79 20 | 73 6f 20 74 68 61 74 20 |tionary |so that |
|00000690| 65 76 65 72 79 74 68 69 | 6e 67 20 6c 69 6e 65 73 |everythi|ng lines|
|000006a0| 20 75 70 0a 58 6d 69 73 | 63 32 2e 63 2c 20 6d 6f | up.Xmis|c2.c, mo|
|000006b0| 72 69 61 32 2e 63 3a 20 | 6c 69 6e 65 20 75 70 20 |ria2.c: |line up |
|000006c0| 63 6f 6c 75 6d 6e 73 20 | 66 6f 72 20 70 72 69 6e |columns |for prin|
|000006d0| 74 5f 6e 65 77 5f 73 70 | 65 6c 6c 73 28 29 20 61 |t_new_sp|ells() a|
|000006e0| 6e 64 20 65 78 61 6d 69 | 6e 65 5f 62 6f 6f 6b 28 |nd exami|ne_book(|
|000006f0| 29 0a 58 38 20 66 69 6c | 65 73 3a 20 72 65 70 6c |).X8 fil|es: repl|
|00000700| 61 63 65 20 3d 3d 20 77 | 69 74 68 20 3d 20 69 6e |ace == w|ith = in|
|00000710| 20 63 6f 6d 6d 65 6e 74 | 73 20 61 6e 64 20 73 74 | comment|s and st|
|00000720| 72 69 6e 67 73 0a 58 6d | 61 67 69 63 2e 63 2c 20 |rings.Xm|agic.c, |
|00000730| 6d 69 73 63 31 2e 63 2c | 20 6d 69 73 63 32 2e 63 |misc1.c,| misc2.c|
|00000740| 2c 20 6d 6f 72 69 61 32 | 2e 63 2c 20 73 69 67 6e |, moria2|.c, sign|
|00000750| 61 6c 73 2e 63 3a 20 6d | 69 73 73 69 6e 67 2f 6d |als.c: m|issing/m|
|00000760| 69 73 70 6c 61 63 65 64 | 20 62 72 65 61 6b 73 0a |isplaced| breaks.|
|00000770| 58 6d 6f 6e 73 74 65 72 | 73 2e 63 3a 20 32 20 67 |Xmonster|s.c: 2 g|
|00000780| 72 65 79 20 73 6e 61 6b | 65 73 2c 20 72 65 6e 61 |rey snak|es, rena|
|00000790| 6d 65 64 20 6f 6e 65 20 | 74 6f 20 67 72 65 65 6e |med one |to green|
|000007a0| 0a 58 6d 69 73 63 31 2e | 63 3a 20 63 6f 6d 70 61 |.Xmisc1.|c: compa|
|000007b0| 63 74 5f 6f 62 6a 65 63 | 74 73 2c 20 73 74 6d 74 |ct_objec|ts, stmt|
|000007c0| 20 77 68 69 63 68 20 64 | 65 63 72 65 6d 65 6e 74 | which d|ecrement|
|000007d0| 73 20 63 75 72 5f 64 69 | 73 20 69 6e 20 77 72 6f |s cur_di|s in wro|
|000007e0| 6e 67 20 70 6c 61 63 65 | 0a 58 73 70 65 6c 6c 73 |ng place|.Xspells|
|000007f0| 2e 63 3a 20 64 69 73 61 | 72 6d 5f 61 6c 6c 20 73 |.c: disa|rm_all s|
|00000800| 68 6f 75 6c 64 20 6e 6f | 74 20 73 65 74 20 74 72 |hould no|t set tr|
|00000810| 61 70 73 20 74 6f 20 7a | 65 72 6f 2c 20 73 68 6f |aps to z|ero, sho|
|00000820| 75 6c 64 20 6a 75 73 74 | 20 63 6c 65 61 72 20 74 |uld just| clear t|
|00000830| 72 61 70 0a 58 09 62 69 | 74 73 0a 58 6d 6f 72 69 |rap.X.bi|ts.Xmori|
|00000840| 61 32 2e 63 3a 20 69 6e | 20 6a 61 6d 64 6f 6f 72 |a2.c: in| jamdoor|
|00000850| 28 29 20 69 5f 70 74 72 | 2d 3e 70 31 20 73 68 6f |() i_ptr|->p1 sho|
|00000860| 75 6c 64 20 62 65 20 74 | 5f 70 74 72 2d 3e 70 31 |uld be t|_ptr->p1|
|00000870| 0a 58 6d 6f 72 69 61 32 | 2e 63 3a 20 69 6e 20 70 |.Xmoria2|.c: in p|
|00000880| 6c 61 63 65 5f 74 72 61 | 70 28 29 2c 20 63 6f 76 |lace_tra|p(), cov|
|00000890| 65 72 65 64 20 70 69 74 | 73 20 73 68 6f 75 6c 64 |ered pit|s should|
|000008a0| 20 74 72 61 6e 73 66 6f | 72 6d 20 74 6f 20 6f 70 | transfo|rm to op|
|000008b0| 65 6e 20 70 69 74 73 0a | 58 6d 6f 72 69 61 32 2e |en pits.|Xmoria2.|
|000008c0| 63 3a 20 6d 6f 6e 5f 74 | 61 6b 65 5f 68 69 74 28 |c: mon_t|ake_hit(|
|000008d0| 29 2c 20 69 6e 74 20 69 | 20 73 68 6f 75 6c 64 20 |), int i| should |
|000008e0| 62 65 20 62 69 67 69 6e | 74 5f 74 20 69 0a 58 69 |be bigin|t_t i.Xi|
|000008f0| 6f 2e 63 3a 20 6d 6f 72 | 65 20 70 72 6f 6d 70 74 |o.c: mor|e prompt|
|00000900| 20 77 69 6c 6c 20 6e 6f | 77 20 61 63 63 65 70 74 | will no|w accept|
|00000910| 20 73 70 61 63 65 2f 65 | 73 63 61 70 65 2f 72 65 | space/e|scape/re|
|00000920| 74 75 72 6e 2f 6c 69 6e | 65 66 65 65 64 0a 58 69 |turn/lin|efeed.Xi|
|00000930| 6f 2e 63 3a 20 45 4f 46 | 20 63 6f 64 65 20 64 69 |o.c: EOF| code di|
|00000940| 64 20 6e 6f 74 20 77 6f | 72 6b 20 6f 6e 20 6d 61 |d not wo|rk on ma|
|00000950| 63 68 69 6e 65 20 77 69 | 74 68 20 75 6e 73 69 67 |chine wi|th unsig|
|00000960| 6e 65 64 20 63 68 61 72 | 61 63 74 65 72 73 0a 58 |ned char|acters.X|
|00000970| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000980| 2d 2d 2d 2d 2d 2d 2d 2d | 20 32 2f 32 37 0a 58 73 |--------| 2/27.Xs|
|00000990| 61 76 65 2e 63 3a 20 6d | 69 73 73 69 6e 67 20 63 |ave.c: m|issing c|
|000009a0| 6f 6e 74 72 6f 6c 7a 20 | 63 61 6c 6c 73 20 6f 6e |ontrolz |calls on|
|000009b0| 20 65 72 72 6f 72 20 72 | 65 74 75 72 6e 73 0a 58 | error r|eturns.X|
|000009c0| 63 72 65 61 74 75 72 65 | 2e 63 3a 20 64 6f 6e 27 |creature|.c: don'|
|000009d0| 74 20 6c 65 74 20 6e 6f | 6e 2d 6d 6f 76 69 6e 67 |t let no|n-moving|
|000009e0| 20 63 72 65 61 74 75 72 | 65 20 6d 6f 76 65 20 69 | creatur|e move i|
|000009f0| 66 20 67 6c 79 70 68 20 | 70 72 65 76 65 6e 74 65 |f glyph |prevente|
|00000a00| 64 20 69 74 0a 58 09 66 | 72 6f 6d 20 61 74 74 61 |d it.X.f|rom atta|
|00000a10| 63 6b 69 6e 67 0a 58 63 | 72 65 61 74 75 72 65 2e |cking.Xc|reature.|
|00000a20| 63 3a 20 67 69 76 65 20 | 6d 6f 6e 73 74 65 72 73 |c: give |monsters|
|00000a30| 20 61 20 63 68 61 6e 63 | 65 20 74 6f 20 72 65 63 | a chanc|e to rec|
|00000a40| 6f 76 65 72 20 66 72 6f | 6d 20 42 61 73 68 2c 20 |over fro|m Bash, |
|00000a50| 64 65 70 65 6e 64 73 20 | 6f 6e 0a 58 09 73 71 75 |depends |on.X.squ|
|00000a60| 61 72 65 20 6f 66 20 6d | 6f 6e 73 74 65 72 20 6c |are of m|onster l|
|00000a70| 65 76 65 6c 0a 58 6d 6f | 72 69 61 32 2e 63 3a 20 |evel.Xmo|ria2.c: |
|00000a80| 67 69 76 65 20 6d 6f 6e | 73 74 65 72 73 20 61 20 |give mon|sters a |
|00000a90| 63 68 61 6e 63 65 20 74 | 6f 20 69 67 6e 6f 72 65 |chance t|o ignore|
|00000aa0| 20 62 61 73 68 2c 20 66 | 75 6e 63 74 69 6f 6e 20 | bash, f|unction |
|00000ab0| 6f 66 20 68 69 74 70 6f | 69 6e 74 73 20 0a 58 09 |of hitpo|ints .X.|
|00000ac0| 61 6e 64 20 6c 65 76 65 | 6c 0a 58 73 70 65 6c 6c |and leve|l.Xspell|
|00000ad0| 73 2e 63 3a 20 66 69 78 | 65 64 20 72 65 73 74 6f |s.c: fix|ed resto|
|00000ae0| 72 65 5f 6c 65 76 65 6c | 2c 20 6e 65 65 64 65 64 |re_level|, needed|
|00000af0| 20 77 68 69 6c 65 20 6c | 6f 6f 70 0a 58 6d 6f 72 | while l|oop.Xmor|
|00000b00| 69 61 32 2e 63 3a 20 6d | 6f 6e 73 74 65 72 5f 6d |ia2.c: m|onster_m|
|00000b10| 75 6c 74 69 70 6c 79 28 | 29 2c 20 69 3d 31 38 20 |ultiply(|), i=18 |
|00000b20| 73 74 61 74 65 6d 65 6e | 74 20 69 6e 20 77 72 6f |statemen|t in wro|
|00000b30| 6e 67 20 70 6c 61 63 65 | 2c 20 77 6f 75 6c 64 20 |ng place|, would |
|00000b40| 6e 6f 74 0a 58 09 61 6c | 77 61 79 73 20 6d 75 6c |not.X.al|ways mul|
|00000b50| 74 69 70 6c 79 20 6d 6f | 6e 73 74 65 72 20 77 68 |tiply mo|nster wh|
|00000b60| 65 6e 20 69 74 20 73 68 | 6f 75 6c 64 0a 58 2d 2d |en it sh|ould.X--|
|00000b70| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000b80| 2d 2d 2d 20 33 2f 32 0a | 58 6d 6f 72 69 61 31 2e |--- 3/2.|Xmoria1.|
|00000b90| 63 3a 20 67 65 74 5f 70 | 61 6e 65 6c 28 29 2c 20 |c: get_p|anel(), |
|00000ba0| 61 64 64 20 6f 6e 65 20 | 74 6f 20 79 20 61 6e 64 |add one |to y and|
|00000bb0| 20 78 20 6f 6e 20 6c 69 | 6e 65 73 20 39 34 35 2f | x on li|nes 945/|
|00000bc0| 39 35 30 2c 20 70 72 65 | 76 65 6e 74 20 73 63 72 |950, pre|vent scr|
|00000bd0| 6f 6c 6c 69 6e 67 0a 58 | 09 77 68 69 6c 65 20 69 |olling.X|.while i|
|00000be0| 6e 73 69 64 65 20 72 6f | 6f 6d 73 0a 58 2d 2d 2d |nside ro|oms.X---|
|00000bf0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000c00| 2d 2d 20 33 2f 39 0a 58 | 77 69 7a 61 72 64 2e 63 |-- 3/9.X|wizard.c|
|00000c10| 3a 20 74 6d 70 5f 76 61 | 6c 20 3d 20 2d 39 39 39 |: tmp_va|l = -999|
|00000c20| 3b 20 66 6f 72 20 67 6f | 6c 64 20 63 68 61 6e 67 |; for go|ld chang|
|00000c30| 65 64 20 74 6f 20 74 6d | 70 5f 6c 76 61 6c 0a 58 |ed to tm|p_lval.X|
|00000c40| 73 69 67 6e 61 6c 73 2e | 63 3a 20 61 64 64 65 64 |signals.|c: added|
|00000c50| 20 53 49 47 58 43 50 55 | 20 74 6f 20 6c 69 73 74 | SIGXCPU| to list|
|00000c60| 20 6f 66 20 73 69 67 6e | 61 6c 73 20 74 68 61 74 | of sign|als that|
|00000c70| 20 63 61 75 73 65 20 70 | 61 6e 69 63 20 73 61 76 | cause p|anic sav|
|00000c80| 65 0a 58 73 70 65 6c 6c | 73 2e 63 3a 20 63 61 6c |e.Xspell|s.c: cal|
|00000c90| 6c 20 6d 6f 6e 73 74 65 | 72 5f 6e 61 6d 65 20 62 |l monste|r_name b|
|00000ca0| 65 66 6f 72 65 20 6d 6f | 6e 5f 74 61 6b 65 5f 68 |efore mo|n_take_h|
|00000cb0| 69 74 20 69 6e 20 66 69 | 72 65 5f 62 6f 6c 74 28 |it in fi|re_bolt(|
|00000cc0| 29 0a 58 6d 6f 72 69 61 | 32 2e 63 3a 20 6d 6f 76 |).Xmoria|2.c: mov|
|00000cd0| 65 5f 63 68 61 72 20 28 | 29 2c 20 73 74 6f 70 20 |e_char (|), stop |
|00000ce0| 62 65 66 6f 72 65 20 61 | 74 74 61 63 6b 69 6e 67 |before a|ttacking|
|00000cf0| 20 61 20 63 72 65 61 74 | 75 72 65 0a 58 64 75 6e | a creat|ure.Xdun|
|00000d00| 67 65 6f 6e 2e 63 3a 20 | 61 64 64 65 64 20 6d 6f |geon.c: |added mo|
|00000d10| 76 65 5f 63 68 61 72 20 | 28 35 29 20 74 6f 20 73 |ve_char |(5) to s|
|00000d20| 65 65 5f 69 6e 66 72 61 | 20 61 6e 64 20 73 65 65 |ee_infra| and see|
|00000d30| 5f 69 6e 76 69 73 20 73 | 65 74 74 69 6e 67 20 61 |_invis s|etting a|
|00000d40| 6e 64 20 63 6c 65 61 72 | 69 6e 67 0a 58 2d 2d 2d |nd clear|ing.X---|
|00000d50| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000d60| 2d 2d 20 33 2f 31 30 0a | 58 63 72 65 61 74 75 72 |-- 3/10.|Xcreatur|
|00000d70| 65 2e 63 3a 20 61 64 64 | 65 64 20 74 61 6b 65 5f |e.c: add|ed take_|
|00000d80| 68 69 74 20 28 30 2c 20 | 64 64 65 73 63 29 20 6c |hit (0, |ddesc) l|
|00000d90| 69 6e 65 20 74 6f 20 65 | 76 65 72 79 20 6d 6f 6e |ine to e|very mon|
|00000da0| 73 74 65 72 20 73 70 65 | 6c 6c 2c 20 65 6e 73 75 |ster spe|ll, ensu|
|00000db0| 72 65 0a 58 09 74 68 61 | 74 20 70 6c 61 79 65 72 |re.X.tha|t player|
|00000dc0| 20 6c 65 61 76 65 73 20 | 72 65 73 74 69 6e 67 2f | leaves |resting/|
|00000dd0| 66 69 6e 64 2f 73 65 61 | 72 63 68 20 6d 6f 64 65 |find/sea|rch mode|
|00000de0| 73 0a 58 70 6f 74 69 6f | 6e 73 2e 63 3a 20 72 65 |s.Xpotio|ns.c: re|
|00000df0| 6d 6f 76 65 20 63 68 70 | 20 2b 3d 20 6d 68 70 20 |move chp| += mhp |
|00000e00| 63 6f 64 65 20 66 72 6f | 6d 20 67 61 69 6e 20 63 |code fro|m gain c|
|00000e10| 6f 6e 73 74 20 70 6f 74 | 69 6f 6e 2c 20 6e 6f 77 |onst pot|ion, now|
|00000e20| 20 63 68 70 20 3d 20 6d | 68 70 0a 58 6d 6f 72 69 | chp = m|hp.Xmori|
|00000e30| 61 32 2e 63 3a 20 63 68 | 61 6e 67 65 20 6d 6f 6e |a2.c: ch|ange mon|
|00000e40| 73 74 65 72 5f 64 65 61 | 74 68 28 29 2c 20 73 75 |ster_dea|th(), su|
|00000e50| 6d 6d 6f 6e 5f 6f 62 6a | 65 63 74 20 34 64 32 20 |mmon_obj|ect 4d2 |
|00000e60| 69 6e 73 74 65 61 64 20 | 6f 66 20 34 64 33 0a 58 |instead |of 4d3.X|
|00000e70| 09 73 6f 20 74 68 61 74 | 20 63 6f 6d 6d 65 6e 74 |.so that| comment|
|00000e80| 73 20 6d 61 74 63 68 20 | 63 6f 64 65 0a 58 63 72 |s match |code.Xcr|
|00000e90| 65 61 74 75 72 65 2e 63 | 3a 20 6d 61 6b 65 5f 6d |eature.c|: make_m|
|00000ea0| 6f 76 65 28 29 2c 20 70 | 72 65 76 65 6e 74 20 6d |ove(), p|revent m|
|00000eb0| 6f 6e 73 74 65 72 20 66 | 72 6f 6d 20 6d 6f 76 69 |onster f|rom movi|
|00000ec0| 6e 67 20 61 67 61 69 6e | 20 61 66 74 65 72 20 6f |ng again| after o|
|00000ed0| 70 65 6e 69 6e 67 0a 58 | 09 61 20 64 6f 6f 72 2c |pening.X|.a door,|
|00000ee0| 20 61 6c 73 6f 2c 20 6d | 61 6b 65 20 63 68 61 6e | also, m|ake chan|
|00000ef0| 63 65 20 6f 66 20 6f 70 | 65 6e 69 6e 67 20 6c 6f |ce of op|ening lo|
|00000f00| 63 6b 65 64 20 64 6f 6f | 72 20 64 65 70 65 6e 64 |cked doo|r depend|
|00000f10| 61 6e 74 20 6f 6e 20 6d | 6f 6e 73 74 65 72 0a 58 |ant on m|onster.X|
|00000f20| 09 6c 65 76 65 6c 0a 58 | 6d 6f 6e 73 74 65 72 73 |.level.X|monsters|
|00000f30| 2e 63 3a 20 67 69 61 6e | 74 20 72 65 64 20 61 6e |.c: gian|t red an|
|00000f40| 74 20 6c 69 6f 6e 2c 20 | 6e 6f 74 20 68 75 72 74 |t lion, |not hurt|
|00000f50| 20 62 79 20 66 69 72 65 | 2c 20 6d 6f 76 65 26 61 | by fire|, move&a|
|00000f60| 74 74 61 63 6b 20 6e 6f | 72 6d 61 6c 6c 79 0a 58 |ttack no|rmally.X|
|00000f70| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000f80| 2d 2d 2d 2d 2d 20 35 2f | 35 0a 58 67 65 6e 65 72 |----- 5/|5.Xgener|
|00000f90| 61 74 65 2e 63 3a 20 66 | 69 78 65 64 20 65 72 72 |ate.c: f|ixed err|
|00000fa0| 6f 72 20 69 6e 20 67 65 | 6e 65 72 61 74 69 6f 6e |or in ge|neration|
|00000fb0| 20 6f 66 20 74 79 70 65 | 20 33 20 28 73 75 62 74 | of type| 3 (subt|
|00000fc0| 79 70 65 20 33 29 20 72 | 6f 6f 6d 73 0a 58 6d 69 |ype 3) r|ooms.Xmi|
|00000fd0| 73 63 32 2e 63 2c 20 63 | 6f 6e 66 69 67 2e 63 3a |sc2.c, c|onfig.c:|
|00000fe0| 20 61 64 64 65 64 20 61 | 6c 74 65 72 6e 61 74 65 | added a|lternate|
|00000ff0| 20 77 69 7a 61 72 64 20 | 63 6f 64 65 2f 64 65 66 | wizard |code/def|
|00001000| 69 6e 69 74 69 6f 6e 73 | 0a 58 74 72 65 61 73 75 |initions|.Xtreasu|
|00001010| 72 31 2e 63 3a 20 72 65 | 73 74 6f 72 65 20 6d 61 |r1.c: re|store ma|
|00001020| 6e 61 20 70 6f 74 69 6f | 6e 20 6d 61 64 65 20 6d |na potio|n made m|
|00001030| 6f 72 65 20 76 61 6c 75 | 61 62 6c 65 20 28 33 35 |ore valu|able (35|
|00001040| 20 2d 3e 20 33 35 30 29 | 0a 58 09 20 20 20 20 73 | -> 350)|.X. s|
|00001050| 74 61 66 66 20 6f 66 20 | 73 70 65 65 64 20 76 61 |taff of |speed va|
|00001060| 6c 75 65 20 69 6e 63 72 | 65 61 73 65 64 20 20 20 |lue incr|eased |
|00001070| 28 38 30 30 20 2d 3e 20 | 31 30 30 30 29 0a 58 09 |(800 -> |1000).X.|
|00001080| 20 20 20 20 72 69 6e 67 | 20 6f 66 20 73 75 73 74 | ring| of sust|
|00001090| 61 69 6e 20 63 68 61 72 | 69 73 6d 61 20 6c 65 76 |ain char|isma lev|
|000010a0| 65 6c 20 63 68 61 6e 67 | 65 64 20 28 37 20 2d 3e |el chang|ed (7 ->|
|000010b0| 20 34 34 29 0a 58 09 20 | 20 20 20 72 69 6e 67 20 | 44).X. | ring |
|000010c0| 6f 66 20 73 74 75 70 69 | 64 69 74 79 20 6c 65 76 |of stupi|dity lev|
|000010d0| 65 6c 20 64 65 63 72 65 | 61 73 65 64 20 20 28 32 |el decre|ased (2|
|000010e0| 30 20 2d 3e 20 37 29 0a | 58 09 20 20 20 20 70 6f |0 -> 7).|X. po|
|000010f0| 74 69 6f 6e 20 6f 66 20 | 67 61 69 6e 20 73 74 72 |tion of |gain str|
|00001100| 65 6e 67 74 68 20 76 61 | 6c 75 65 20 69 6e 63 72 |ength va|lue incr|
|00001110| 65 61 73 65 64 20 20 28 | 32 30 30 20 2d 3e 20 33 |eased (|200 -> 3|
|00001120| 30 30 29 0a 58 76 61 72 | 69 61 62 6c 65 2e 63 3a |00).Xvar|iable.c:|
|00001130| 20 68 61 6c 66 6c 69 6e | 67 20 63 6c 61 6e 20 65 | halflin|g clan e|
|00001140| 6c 64 65 72 20 68 61 64 | 20 30 25 20 63 68 61 6e |lder had| 0% chan|
|00001150| 63 65 0a 58 09 20 20 20 | 20 67 61 76 65 20 77 61 |ce.X. | gave wa|
|00001160| 72 72 69 6f 72 20 68 69 | 67 68 65 72 20 62 61 73 |rrior hi|gher bas|
|00001170| 65 20 74 6f 20 68 69 74 | 20 63 68 61 6e 63 65 20 |e to hit| chance |
|00001180| 74 68 61 6e 20 70 61 6c | 61 64 69 6e 0a 58 73 74 |than pal|adin.Xst|
|00001190| 6f 72 65 31 2e 63 3a 20 | 64 69 67 67 69 6e 67 20 |ore1.c: |digging |
|000011a0| 74 6f 6f 6c 73 20 6d 75 | 73 74 20 62 65 20 69 64 |tools mu|st be id|
|000011b0| 65 6e 74 69 66 69 65 64 | 20 62 65 66 6f 72 65 20 |entified| before |
|000011c0| 70 72 69 63 65 20 69 73 | 20 61 64 6a 75 73 74 65 |price is| adjuste|
|000011d0| 64 0a 58 6d 69 73 63 31 | 2e 63 3a 20 20 64 6f 20 |d.Xmisc1|.c: do |
|000011e0| 6e 6f 74 20 61 64 6a 75 | 73 74 20 63 6f 73 74 20 |not adju|st cost |
|000011f0| 6f 66 20 64 69 67 67 69 | 6e 67 20 74 6f 6f 6c 73 |of diggi|ng tools|
|00001200| 20 62 61 73 65 64 20 6f | 6e 20 76 61 6c 75 65 20 | based o|n value |
|00001210| 6f 66 20 70 31 0a 58 09 | 20 20 63 68 61 6e 67 65 |of p1.X.| change|
|00001220| 20 61 6c 6c 20 6d 6f 64 | 73 20 74 6f 20 66 69 65 | all mod|s to fie|
|00001230| 6c 64 73 20 74 6f 61 63 | 2f 74 6f 64 61 6d 2f 74 |lds toac|/todam/t|
|00001240| 6f 68 69 74 20 74 6f 20 | 62 65 20 2b 3d 20 6f 72 |ohit to |be += or|
|00001250| 20 2d 3d 0a 58 09 20 20 | 73 65 76 65 72 61 6c 20 | -=.X. |several |
|00001260| 69 74 65 6d 73 20 28 6d | 6f 73 74 6c 79 20 63 75 |items (m|ostly cu|
|00001270| 72 73 65 64 20 69 74 65 | 6d 73 29 20 6e 65 65 64 |rsed ite|ms) need|
|00001280| 65 64 20 25 50 31 20 61 | 64 64 65 64 20 74 6f 20 |ed %P1 a|dded to |
|00001290| 6e 61 6d 65 0a 58 09 20 | 20 66 6f 72 20 64 69 67 |name.X. | for dig|
|000012a0| 67 69 6e 67 20 74 6f 6f | 6c 73 2c 20 69 6e 63 20 |ging too|ls, inc |
|000012b0| 70 31 20 69 6e 73 74 65 | 61 64 20 6f 66 20 72 65 |p1 inste|ad of re|
|000012c0| 70 6c 61 63 69 6e 67 20 | 69 74 2c 20 73 6f 20 74 |placing |it, so t|
|000012d0| 68 61 74 20 74 6f 6f 6c | 73 0a 58 09 20 20 20 20 |hat tool|s.X. |
|000012e0| 20 77 69 6c 6c 20 73 74 | 69 6c 6c 20 68 61 76 65 | will st|ill have|
|000012f0| 20 73 61 6d 65 20 6d 69 | 6e 69 6d 75 6d 20 76 61 | same mi|nimum va|
|00001300| 6c 75 65 73 20 61 73 20 | 73 70 65 63 69 66 69 65 |lues as |specifie|
|00001310| 64 20 69 6e 20 74 72 65 | 61 73 75 72 31 2e 63 0a |d in tre|asur1.c.|
|00001320| 58 6d 6f 6e 73 74 65 72 | 73 2e 63 3a 20 46 6f 72 |Xmonster|s.c: For|
|00001330| 65 73 74 20 57 69 67 68 | 74 20 73 68 6f 75 6c 64 |est Wigh|t should|
|00001340| 20 62 65 20 61 62 6c 65 | 20 74 6f 20 6f 70 65 6e | be able| to open|
|00001350| 20 64 6f 6f 72 73 2e 0a | 58 09 20 20 20 20 47 72 | doors..|X. Gr|
|00001360| 65 79 20 57 72 61 69 74 | 68 20 73 68 6f 75 6c 64 |ey Wrait|h should|
|00001370| 20 6e 6f 74 20 64 72 61 | 69 6e 20 6d 61 6e 61 0a | not dra|in mana.|
|00001380| 58 6d 6f 72 69 61 31 2e | 63 3a 20 66 69 78 20 73 |Xmoria1.|c: fix s|
|00001390| 74 65 61 6c 74 68 20 73 | 6f 20 74 68 61 74 20 69 |tealth s|o that i|
|000013a0| 74 20 75 73 65 73 20 74 | 68 65 20 76 61 6c 75 65 |t uses t|he value|
|000013b0| 20 6f 66 20 70 31 0a 58 | 74 72 65 61 73 75 72 32 | of p1.X|treasur2|
|000013c0| 2e 63 3a 20 63 68 61 6e | 67 65 20 27 61 27 73 20 |.c: chan|ge 'a's |
|000013d0| 74 6f 20 27 26 27 73 20 | 66 6f 72 20 64 6f 6f 72 |to '&'s |for door|
|000013e0| 73 0a 58 73 70 65 6c 6c | 73 2e 63 3a 20 77 6f 72 |s.Xspell|s.c: wor|
|000013f0| 64 20 6f 66 20 64 65 73 | 74 72 75 63 74 69 6f 6e |d of des|truction|
|00001400| 20 73 68 6f 75 6c 64 20 | 6e 6f 74 20 70 75 74 20 | should |not put |
|00001410| 77 61 6c 6c 20 6f 76 65 | 72 20 63 68 61 72 61 63 |wall ove|r charac|
|00001420| 74 65 72 0a 58 09 20 20 | 43 6f 75 6c 64 20 6e 6f |ter.X. |Could no|
|00001430| 74 20 75 73 65 20 77 61 | 6e 64 20 6f 66 20 64 72 |t use wa|nd of dr|
|00001440| 61 69 6e 20 6c 69 66 65 | 20 61 74 20 61 20 64 69 |ain life| at a di|
|00001450| 73 74 61 6e 63 65 0a 58 | 6d 6f 72 69 61 32 2e 63 |stance.X|moria2.c|
|00001460| 3a 20 77 68 65 6e 20 69 | 6e 20 66 69 6e 64 20 6d |: when i|n find m|
|00001470| 6f 64 65 2c 20 61 74 74 | 61 63 6b 20 69 66 20 72 |ode, att|ack if r|
|00001480| 75 6e 20 69 6e 74 6f 20 | 63 72 65 61 74 75 72 65 |un into |creature|
|00001490| 20 6f 6e 6c 79 20 69 66 | 20 63 61 6e 27 74 20 73 | only if| can't s|
|000014a0| 65 65 20 69 74 0a 58 2d | 2d 2d 2d 2d 2d 2d 2d 2d |ee it.X-|--------|
|000014b0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000014c0| 35 2f 37 0a 58 6d 6f 72 | 69 61 31 2e 63 2c 6d 6f |5/7.Xmor|ia1.c,mo|
|000014d0| 72 69 61 32 2e 63 3a 20 | 72 65 6d 6f 76 65 20 68 |ria2.c: |remove h|
|000014e0| 65 61 76 79 20 77 65 61 | 70 6f 6e 20 6d 65 73 73 |eavy wea|pon mess|
|000014f0| 61 67 65 20 66 72 6f 6d | 20 74 65 73 74 5f 68 69 |age from| test_hi|
|00001500| 74 20 61 6e 64 20 70 75 | 74 20 69 74 20 69 6e 0a |t and pu|t it in.|
|00001510| 58 20 20 70 79 5f 61 74 | 74 61 63 6b 20 69 6e 73 |X py_at|tack ins|
|00001520| 74 65 61 64 0a 58 73 70 | 65 6c 6c 73 2e 63 3a 20 |tead.Xsp|ells.c: |
|00001530| 74 65 6c 65 70 6f 72 74 | 5f 61 77 61 79 20 6e 6f |teleport|_away no|
|00001540| 77 20 63 61 6c 6c 73 20 | 75 6e 6c 69 74 65 5f 73 |w calls |unlite_s|
|00001550| 70 6f 74 20 69 66 20 6e | 65 63 65 73 73 61 72 79 |pot if n|ecessary|
|00001560| 2c 20 66 69 78 65 73 20 | 62 75 67 20 74 68 61 74 |, fixes |bug that|
|00001570| 0a 58 20 20 20 20 49 20 | 74 68 6f 75 67 68 74 20 |.X I |thought |
|00001580| 68 61 64 20 62 65 65 6e | 20 66 69 78 65 64 20 33 |had been| fixed 3|
|00001590| 2f 32 38 2f 38 38 0a 58 | 73 61 76 65 2e 63 3a 20 |/28/88.X|save.c: |
|000015a0| 66 6f 72 20 4d 53 44 4f | 53 3a 20 77 68 65 6e 20 |for MSDO|S: when |
|000015b0| 72 65 73 74 6f 72 65 20 | 73 61 76 65 20 66 69 6c |restore |save fil|
|000015c0| 65 2c 20 6d 75 73 74 20 | 73 65 61 72 63 68 20 6f |e, must |search o|
|000015d0| 62 6a 65 63 74 20 6c 69 | 73 74 20 66 6f 72 20 73 |bject li|st for s|
|000015e0| 65 63 72 65 74 0a 58 20 | 20 20 20 64 6f 6f 72 73 |ecret.X | doors|
|000015f0| 2f 74 72 61 70 73 2c 20 | 61 6e 64 20 63 6f 6e 76 |/traps, |and conv|
|00001600| 65 72 74 20 74 68 65 20 | 27 23 2f 2e 27 20 63 68 |ert the |'#/.' ch|
|00001610| 61 72 20 74 6f 20 77 61 | 6c 6c 73 79 6d 2f 66 6c |ar to wa|llsym/fl|
|00001620| 6f 6f 72 73 79 6d 2c 20 | 77 68 65 6e 20 73 61 76 |oorsym, |when sav|
|00001630| 65 20 0a 58 20 20 20 20 | 66 69 6c 65 2c 20 6d 75 |e .X |file, mu|
|00001640| 73 74 20 64 6f 20 74 68 | 65 20 72 65 76 65 72 73 |st do th|e revers|
|00001650| 65 20 74 72 61 6e 73 6c | 61 74 69 6f 6e 0a 58 73 |e transl|ation.Xs|
|00001660| 70 65 6c 6c 73 2e 63 3a | 20 75 6e 6c 69 67 68 74 |pells.c:| unlight|
|00001670| 5f 61 72 65 61 28 29 20 | 77 61 73 20 72 65 61 6c |_area() |was real|
|00001680| 6c 79 20 6d 65 73 73 65 | 64 20 75 70 2c 20 69 73 |ly messe|d up, is|
|00001690| 20 6d 75 63 68 20 73 68 | 6f 72 74 65 72 20 6e 6f | much sh|orter no|
|000016a0| 77 2c 20 77 69 6c 6c 0a | 58 09 61 6c 77 61 79 73 |w, will.|X.always|
|000016b0| 20 70 72 69 6e 74 20 22 | 64 61 72 6b 6e 65 73 73 | print "|darkness|
|000016c0| 22 20 6d 65 73 73 61 67 | 65 20 6e 6f 77 20 69 66 |" messag|e now if|
|000016d0| 20 69 74 20 73 68 6f 75 | 6c 64 0a 58 6d 69 73 63 | it shou|ld.Xmisc|
|000016e0| 31 2e 63 3a 20 63 6c 65 | 61 6e 65 64 20 75 70 20 |1.c: cle|aned up |
|000016f0| 70 72 74 5f 6d 61 70 28 | 29 2c 20 70 72 6f 62 61 |prt_map(|), proba|
|00001700| 62 6c 79 20 6d 75 63 68 | 20 66 61 73 74 65 72 20 |bly much| faster |
|00001710| 6e 6f 77 0a 58 6d 6f 72 | 69 61 31 2e 63 3a 20 63 |now.Xmor|ia1.c: c|
|00001720| 6c 65 61 6e 65 64 20 75 | 70 20 6c 69 67 68 74 5f |leaned u|p light_|
|00001730| 72 6f 6f 6d 28 29 2c 20 | 64 72 61 77 5f 62 6c 6f |room(), |draw_blo|
|00001740| 63 6b 28 29 2c 20 73 75 | 62 32 5f 6d 6f 76 65 5f |ck(), su|b2_move_|
|00001750| 6c 69 67 68 74 28 29 2c | 0a 58 09 74 68 65 79 20 |light(),|.X.they |
|00001760| 61 72 65 20 70 72 6f 62 | 61 62 6c 79 20 6d 75 63 |are prob|ably muc|
|00001770| 68 20 66 61 73 74 65 72 | 20 6e 6f 77 0a 58 61 6c |h faster| now.Xal|
|00001780| 6c 3a 20 20 63 68 61 6e | 67 65 64 20 70 72 69 6e |l: chan|ged prin|
|00001790| 74 28 63 68 61 72 20 2a | 2c 20 69 6e 74 2c 20 69 |t(char *|, int, i|
|000017a0| 6e 74 29 20 74 6f 20 70 | 72 69 6e 74 28 63 68 61 |nt) to p|rint(cha|
|000017b0| 72 2c 20 69 6e 74 2c 20 | 69 6e 74 29 20 69 6e 20 |r, int, |int) in |
|000017c0| 69 6f 2e 63 0a 58 6d 69 | 73 63 31 2e 63 3a 20 63 |io.c.Xmi|sc1.c: c|
|000017d0| 72 6f 77 6e 20 6f 66 20 | 74 68 65 20 6d 61 67 69 |rown of |the magi|
|000017e0| 2c 20 6e 6f 77 20 68 61 | 73 20 52 4c 20 69 6e 73 |, now ha|s RL ins|
|000017f0| 74 65 61 64 20 6f 66 20 | 73 65 65 20 69 6e 76 69 |tead of |see invi|
|00001800| 73 69 62 6c 65 0a 58 2d | 2d 2d 2d 2d 2d 2d 2d 2d |sible.X-|--------|
|00001810| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 20 35 2f |--------|----- 5/|
|00001820| 38 0a 58 61 6c 6c 3a 20 | 63 68 65 63 6b 65 64 20 |8.Xall: |checked |
|00001830| 75 73 65 73 20 6f 66 20 | 66 6d 2f 70 6c 2f 74 6c |uses of |fm/pl/tl|
|00001840| 20 66 6f 72 20 63 6f 6e | 73 69 73 74 65 6e 63 79 | for con|sistency|
|00001850| 2c 20 65 6c 69 6d 69 6e | 61 74 65 20 65 78 74 72 |, elimin|ate extr|
|00001860| 61 20 70 61 72 65 6e 73 | 2f 74 65 73 74 73 2f 65 |a parens|/tests/e|
|00001870| 74 63 0a 58 64 65 61 74 | 68 2e 63 3a 20 63 68 61 |tc.Xdeat|h.c: cha|
|00001880| 6e 67 65 64 20 63 61 6c | 6c 20 74 6f 20 65 78 69 |nged cal|l to exi|
|00001890| 74 28 31 29 20 74 6f 20 | 65 78 69 74 5f 67 61 6d |t(1) to |exit_gam|
|000018a0| 65 20 69 6e 73 74 65 61 | 64 2c 0a 58 69 6f 2e 63 |e instea|d,.Xio.c|
|000018b0| 2c 20 64 75 6e 67 65 6f | 6e 2e 63 3a 20 6e 65 77 |, dungeo|n.c: new|
|000018c0| 20 66 75 6e 63 74 69 6f | 6e 20 6d 6f 76 65 5f 63 | functio|n move_c|
|000018d0| 75 72 73 6f 72 5f 72 65 | 6c 61 74 69 76 65 20 74 |ursor_re|lative t|
|000018e0| 6f 20 70 6f 73 69 74 69 | 6f 6e 20 63 75 72 73 6f |o positi|on curso|
|000018f0| 72 20 6f 6e 20 6d 61 70 | 0a 58 2d 2d 2d 2d 2d 2d |r on map|.X------|
|00001900| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 20 |--------|------- |
|00001910| 35 2f 31 33 0a 58 4d 6f | 72 69 61 2e 64 6f 63 3a |5/13.XMo|ria.doc:|
|00001920| 20 61 64 64 65 64 20 63 | 68 61 6e 67 65 73 20 74 | added c|hanges t|
|00001930| 6f 20 62 72 69 6e 67 20 | 69 74 20 75 70 2d 74 6f |o bring |it up-to|
|00001940| 2d 64 61 74 65 2c 20 72 | 61 6e 20 74 68 72 6f 75 |-date, r|an throu|
|00001950| 67 68 20 53 70 65 6c 6c | 20 61 67 61 69 6e 0a 58 |gh Spell| again.X|
|00001960| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001970| 2d 2d 2d 2d 2d 20 35 2f | 31 38 0a 58 73 70 65 6c |----- 5/|18.Xspel|
|00001980| 6c 73 2e 63 3a 20 70 6f | 6c 79 6d 6f 72 70 68 20 |ls.c: po|lymorph |
|00001990| 6d 6f 6e 73 74 65 72 20 | 73 70 65 6c 6c 20 69 6e |monster |spell in|
|000019a0| 63 6f 72 72 65 63 74 2c | 20 6d 69 73 73 69 6e 67 |correct,| missing|
|000019b0| 20 61 6e 20 65 6c 73 65 | 20 66 6c 61 67 20 3d 20 | an else| flag = |
|000019c0| 54 52 55 45 20 6c 69 6e | 65 0a 58 6d 6f 72 69 61 |TRUE lin|e.Xmoria|
|000019d0| 32 2e 63 3a 20 66 69 78 | 20 73 65 74 74 69 6e 67 |2.c: fix| setting|
|000019e0| 20 6f 66 20 72 65 73 65 | 74 5f 66 6c 61 67 20 69 | of rese|t_flag i|
|000019f0| 6e 20 66 69 6e 64 20 6d | 6f 64 65 20 69 6e 20 6d |n find m|ode in m|
|00001a00| 6f 76 65 5f 63 68 61 72 | 28 29 20 72 6f 75 74 69 |ove_char|() routi|
|00001a10| 6e 65 0a 58 4d 6f 72 69 | 61 2e 64 6f 63 3a 20 63 |ne.XMori|a.doc: c|
|00001a20| 72 65 61 74 65 64 20 4d | 61 63 57 72 69 74 65 20 |reated M|acWrite |
|00001a30| 76 65 72 73 69 6f 6e 20 | 66 6f 72 20 4d 61 63 69 |version |for Maci|
|00001a40| 6e 74 6f 73 68 2c 20 70 | 6c 75 73 20 73 6f 6d 65 |ntosh, p|lus some|
|00001a50| 20 6d 6f 72 65 20 65 64 | 69 74 69 6e 67 0a 58 09 | more ed|iting.X.|
|00001a60| 63 6f 72 72 65 63 74 69 | 6f 6e 73 0a 58 2d 2d 2d |correcti|ons.X---|
|00001a70| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001a80| 2d 2d 20 35 2f 32 39 0a | 58 64 65 61 74 68 2e 63 |-- 5/29.|Xdeath.c|
|00001a90| 2c 20 65 78 74 65 72 6e | 73 2e 68 2c 20 66 69 6c |, extern|s.h, fil|
|00001aa0| 65 73 2e 63 2c 20 69 6f | 2e 63 2c 20 6d 69 73 63 |es.c, io|.c, misc|
|00001ab0| 32 2e 63 2c 20 6d 6f 72 | 69 61 32 2e 63 3a 20 65 |2.c, mor|ia2.c: e|
|00001ac0| 6c 69 6d 69 6e 61 74 65 | 64 20 74 68 65 20 66 75 |liminate|d the fu|
|00001ad0| 6e 63 74 69 6f 6e 0a 58 | 09 70 61 64 2c 20 72 65 |nction.X|.pad, re|
|00001ae0| 70 6c 61 63 65 64 20 6d | 6f 73 74 20 63 61 6c 6c |placed m|ost call|
|00001af0| 73 20 77 69 74 68 20 70 | 72 69 6e 74 66 20 25 2d |s with p|rintf %-|
|00001b00| 33 30 73 20 66 6f 72 6d | 61 74 73 0a 58 64 65 61 |30s form|ats.Xdea|
|00001b10| 74 68 2e 63 3a 20 72 65 | 77 72 6f 74 65 20 66 69 |th.c: re|wrote fi|
|00001b20| 6c 6c 5f 73 74 72 20 61 | 6e 64 20 72 65 6e 61 6d |ll_str a|nd renam|
|00001b30| 65 64 20 69 74 20 74 6f | 20 63 65 6e 74 65 72 5f |ed it to| center_|
|00001b40| 73 74 72 69 6e 67 2c 20 | 70 72 65 76 69 6f 75 73 |string, |previous|
|00001b50| 6c 79 20 77 61 73 0a 58 | 09 72 65 74 75 72 6e 69 |ly was.X|.returni|
|00001b60| 6e 67 20 70 6f 69 6e 74 | 65 72 20 74 6f 20 6c 6f |ng point|er to lo|
|00001b70| 63 61 6c 20 76 61 72 69 | 61 62 6c 65 0a 58 64 65 |cal vari|able.Xde|
|00001b80| 61 74 68 2e 63 3a 20 65 | 6c 69 6d 69 6e 61 74 65 |ath.c: e|liminate|
|00001b90| 64 20 64 70 72 69 6e 74 | 2c 20 72 65 70 6c 61 63 |d dprint|, replac|
|00001ba0| 65 64 20 69 74 20 77 69 | 74 68 20 63 61 6c 6c 73 |ed it wi|th calls|
|00001bb0| 20 74 6f 20 70 75 74 5f | 62 75 66 66 65 72 0a 58 | to put_|buffer.X|
|00001bc0| 73 69 67 6e 61 6c 73 2e | 63 3a 20 73 75 73 70 65 |signals.|c: suspe|
|00001bd0| 6e 64 20 68 61 6e 64 6c | 65 72 20 6e 6f 77 20 73 |nd handl|er now s|
|00001be0| 61 76 65 73 2f 72 65 73 | 74 6f 72 65 20 73 70 65 |aves/res|tore spe|
|00001bf0| 63 69 61 6c 20 6c 6f 63 | 61 6c 20 63 68 61 72 73 |cial loc|al chars|
|00001c00| 20 28 5e 52 2c 20 5e 57 | 2c 20 65 74 63 29 0a 58 | (^R, ^W|, etc).X|
|00001c10| 67 65 6e 65 72 61 74 65 | 2e 63 3a 20 72 65 77 72 |generate|.c: rewr|
|00001c20| 6f 74 65 20 62 6c 61 6e | 6b 5f 63 61 76 65 2c 20 |ote blan|k_cave, |
|00001c30| 73 68 6f 75 6c 64 20 62 | 65 20 61 20 62 69 74 20 |should b|e a bit |
|00001c40| 66 61 73 74 65 72 20 6e | 6f 77 0a 58 65 78 74 65 |faster n|ow.Xexte|
|00001c50| 72 6e 73 2e 68 2c 20 69 | 6f 2e 63 2c 20 6d 69 73 |rns.h, i|o.c, mis|
|00001c60| 63 31 2e 63 2c 20 76 61 | 72 69 61 62 6c 65 2e 63 |c1.c, va|riable.c|
|00001c70| 3a 20 65 6c 69 6d 69 6e | 61 74 65 20 75 73 65 64 |: elimin|ate used|
|00001c80| 5f 6c 69 6e 65 20 61 72 | 72 61 79 2c 20 6e 6f 20 |_line ar|ray, no |
|00001c90| 6c 6f 6e 67 65 72 0a 58 | 09 63 61 6c 6c 20 65 72 |longer.X|.call er|
|00001ca0| 61 73 65 5f 6c 69 6e 65 | 20 69 6e 20 70 72 74 5f |ase_line| in prt_|
|00001cb0| 6d 61 70 20 69 6e 20 6d | 69 73 63 31 2e 63 0a 58 |map in m|isc1.c.X|
|00001cc0| 6d 69 73 63 32 2e 63 2c | 20 6d 6f 72 69 61 31 2e |misc2.c,| moria1.|
|00001cd0| 63 2c 20 73 74 6f 72 65 | 32 2e 63 3a 20 6d 61 6b |c, store|2.c: mak|
|00001ce0| 65 20 73 75 72 65 20 63 | 75 72 73 6f 72 20 69 73 |e sure c|ursor is|
|00001cf0| 20 61 6c 77 61 79 73 20 | 69 6e 20 74 68 65 20 72 | always |in the r|
|00001d00| 69 67 68 74 0a 58 09 70 | 6c 61 63 65 20 61 66 74 |ight.X.p|lace aft|
|00001d10| 65 72 20 61 6e 20 69 6e | 6b 65 79 20 63 61 6c 6c |er an in|key call|
|00001d20| 0a 58 63 72 65 61 74 65 | 2e 63 2c 20 6d 69 73 63 |.Xcreate|.c, misc|
|00001d30| 32 2e 63 3a 20 72 65 77 | 72 69 74 65 20 70 75 74 |2.c: rew|rite put|
|00001d40| 5f 63 68 61 72 61 63 74 | 65 72 20 61 6e 64 20 61 |_charact|er and a|
|00001d50| 73 73 6f 63 69 61 74 65 | 64 20 72 6f 75 74 69 6e |ssociate|d routin|
|00001d60| 65 73 2c 20 6c 69 6e 65 | 20 75 70 0a 58 09 63 6f |es, line| up.X.co|
|00001d70| 6c 75 6d 6e 73 2c 20 65 | 6c 69 6d 69 6e 61 74 65 |lumns, e|liminate|
|00001d80| 20 73 74 72 63 61 74 2f | 73 74 72 63 70 79 20 63 | strcat/|strcpy c|
|00001d90| 61 6c 6c 73 0a 58 66 69 | 6c 65 73 2e 63 3a 20 72 |alls.Xfi|les.c: r|
|00001da0| 65 77 72 6f 74 65 20 66 | 69 6c 65 5f 63 68 61 72 |ewrote f|ile_char|
|00001db0| 61 63 74 65 72 20 73 6f | 20 74 68 61 74 20 69 74 |acter so| that it|
|00001dc0| 20 6d 61 74 63 68 65 73 | 20 70 75 74 5f 63 68 61 | matches| put_cha|
|00001dd0| 72 61 63 74 65 72 2c 20 | 65 74 63 2e 0a 58 69 6f |racter, |etc..Xio|
|00001de0| 2e 63 3a 20 66 69 78 65 | 64 20 70 75 74 5f 62 75 |.c: fixe|d put_bu|
|00001df0| 66 66 65 72 20 73 6f 20 | 74 68 61 74 20 69 74 20 |ffer so |that it |
|00001e00| 77 6f 6e 27 74 20 70 72 | 69 6e 74 20 70 61 73 74 |won't pr|int past|
|00001e10| 20 72 69 67 68 74 20 65 | 64 67 65 20 6f 66 20 73 | right e|dge of s|
|00001e20| 63 72 65 65 6e 0a 58 66 | 69 6c 65 73 2e 63 2c 20 |creen.Xf|iles.c, |
|00001e30| 6d 69 73 63 31 2e 63 2c | 20 6d 6f 72 69 61 31 2e |misc1.c,| moria1.|
|00001e40| 63 2c 20 6d 73 5f 6d 69 | 73 63 31 2e 63 3a 20 6c |c, ms_mi|sc1.c: l|
|00001e50| 6f 63 5f 73 79 6d 62 6f | 6c 20 72 65 77 72 69 74 |oc_symbo|l rewrit|
|00001e60| 74 65 6e 2c 20 6e 6f 77 | 20 63 68 65 63 6b 73 0a |ten, now| checks.|
|00001e70| 58 09 76 61 6c 75 65 73 | 20 6f 66 20 70 6c 2f 74 |X.values| of pl/t|
|00001e80| 6c 2f 66 6d 2c 20 64 69 | 64 20 6e 6f 74 20 63 6f |l/fm, di|d not co|
|00001e90| 72 72 65 63 74 6c 79 20 | 68 61 6e 64 6c 65 20 6d |rrectly |handle m|
|00001ea0| 6f 6e 73 74 65 72 73 20 | 77 68 69 63 68 20 77 65 |onsters |which we|
|00001eb0| 72 65 0a 58 09 76 69 73 | 69 62 6c 65 2c 20 62 75 |re.X.vis|ible, bu|
|00001ec0| 74 20 77 65 72 65 20 6e | 6f 74 20 69 6e 20 61 20 |t were n|ot in a |
|00001ed0| 6c 69 67 68 74 65 64 20 | 73 70 6f 74 0a 58 6d 6f |lighted |spot.Xmo|
|00001ee0| 72 69 61 31 2e 63 2c 20 | 69 6f 2e 63 3a 20 72 65 |ria1.c, |io.c: re|
|00001ef0| 73 74 28 29 20 6f 6e 6c | 79 20 65 72 61 73 65 73 |st() onl|y erases|
|00001f00| 20 4d 53 47 5f 4c 49 4e | 45 20 6e 6f 77 20 69 66 | MSG_LIN|E now if|
|00001f10| 20 6f 72 69 67 69 6e 61 | 6c 20 27 68 69 74 20 2e | origina|l 'hit .|
|00001f20| 2e 2e 20 74 6f 20 71 75 | 69 74 27 0a 58 09 6d 65 |.. to qu|it'.X.me|
|00001f30| 73 73 61 67 65 20 64 69 | 73 70 6c 61 79 65 64 2c |ssage di|splayed,|
|00001f40| 20 6e 65 77 20 66 75 6e | 63 74 69 6f 6e 20 69 6e | new fun|ction in|
|00001f50| 20 69 6f 2e 63 20 65 72 | 61 73 65 5f 6e 6f 6e 5f | io.c er|ase_non_|
|00001f60| 6d 73 67 20 64 6f 65 73 | 20 74 68 69 73 0a 58 6d |msg does| this.Xm|
|00001f70| 69 73 63 31 2e 63 3a 20 | 6d 61 67 69 63 5f 74 72 |isc1.c: |magic_tr|
|00001f80| 65 61 73 75 72 65 28 29 | 2c 20 66 69 78 65 64 20 |easure()|, fixed |
|00001f90| 68 65 6c 6d 73 20 77 68 | 69 63 68 20 68 61 64 20 |helms wh|ich had |
|00001fa0| 77 72 6f 6e 67 20 65 6c | 73 65 20 6c 65 76 65 6c |wrong el|se level|
|00001fb0| 20 6f 66 20 63 75 72 73 | 65 64 0a 58 09 69 74 65 | of curs|ed.X.ite|
|00001fc0| 6d 73 2c 20 61 64 64 65 | 64 20 63 75 72 73 65 64 |ms, adde|d cursed|
|00001fd0| 20 72 69 6e 67 73 20 6f | 66 20 73 65 61 72 63 68 | rings o|f search|
|00001fe0| 69 6e 67 2c 20 73 65 74 | 20 70 31 20 76 61 6c 75 |ing, set| p1 valu|
|00001ff0| 65 20 66 6f 72 20 61 6d | 75 6c 65 74 20 6f 66 20 |e for am|ulet of |
|00002000| 6d 61 67 69 0a 58 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |magi.X--|--------|
|00002010| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 20 35 2f 33 |--------|---- 5/3|
|00002020| 30 0a 58 74 72 65 61 73 | 75 72 65 31 2e 63 2c 20 |0.Xtreas|ure1.c, |
|00002030| 74 72 65 61 73 75 72 65 | 32 2e 63 3a 20 74 68 72 |treasure|2.c: thr|
|00002040| 65 65 20 61 78 65 73 20 | 63 68 61 6e 67 65 64 20 |ee axes |changed |
|00002050| 66 72 6f 6d 20 74 79 70 | 65 20 32 31 20 74 6f 20 |from typ|e 21 to |
|00002060| 32 32 2c 20 74 68 69 73 | 20 70 72 65 76 65 6e 74 |22, this| prevent|
|00002070| 73 0a 58 09 74 68 65 20 | 50 72 69 65 73 74 20 73 |s.X.the |Priest s|
|00002080| 68 6f 70 20 66 72 6f 6d | 20 62 75 79 69 6e 67 20 |hop from| buying |
|00002090| 74 68 65 73 65 20 77 65 | 61 70 6f 6e 73 0a 58 2d |these we|apons.X-|
|000020a0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000020b0| 2d 2d 2d 2d 20 36 2f 32 | 0a 58 63 72 65 61 74 75 |---- 6/2|.Xcreatu|
|000020c0| 72 65 2e 63 2c 20 6d 6f | 72 69 61 31 2e 63 2c 20 |re.c, mo|ria1.c, |
|000020d0| 6d 6f 72 69 61 32 2e 63 | 2c 20 73 70 65 6c 6c 73 |moria2.c|, spells|
|000020e0| 2e 63 2c 20 74 79 70 65 | 73 2e 68 3a 20 6d 61 73 |.c, type|s.h: mas|
|000020f0| 73 69 76 65 20 72 65 6f | 72 67 61 6e 69 7a 61 74 |sive reo|rganizat|
|00002100| 69 6f 6e 0a 58 09 6f 66 | 20 74 68 65 20 77 61 79 |ion.X.of| the way|
|00002110| 20 74 68 61 74 20 76 69 | 73 69 62 6c 65 20 6d 6f | that vi|sible mo|
|00002120| 6e 73 74 65 72 73 20 61 | 72 65 20 68 61 6e 64 6c |nsters a|re handl|
|00002130| 65 64 2c 20 6e 6f 77 20 | 6d 6c 20 69 73 20 73 65 |ed, now |ml is se|
|00002140| 74 20 69 66 20 61 6e 64 | 0a 58 09 6f 6e 6c 79 20 |t if and|.X.only |
|00002150| 69 66 20 74 68 65 20 63 | 72 65 61 74 75 72 65 20 |if the c|reature |
|00002160| 69 73 20 76 69 73 69 62 | 6c 65 20 6f 6e 20 73 63 |is visib|le on sc|
|00002170| 72 65 65 6e 0a 58 63 72 | 65 61 74 75 72 65 2e 63 |reen.Xcr|eature.c|
|00002180| 2c 20 65 78 74 65 72 6e | 73 2e 68 2c 20 6d 6f 72 |, extern|s.h, mor|
|00002190| 69 61 32 2e 63 3a 20 70 | 72 6f 63 65 64 75 72 65 |ia2.c: p|rocedure|
|000021a0| 20 63 68 65 63 6b 5f 6d | 6f 6e 5f 6c 69 74 65 20 | check_m|on_lite |
|000021b0| 72 65 6d 6f 76 65 64 2c | 20 63 61 6c 6c 73 20 74 |removed,| calls t|
|000021c0| 6f 0a 58 09 69 74 20 72 | 65 70 6c 61 63 65 64 20 |o.X.it r|eplaced |
|000021d0| 62 79 20 63 61 6c 6c 73 | 20 74 6f 20 75 70 64 61 |by calls| to upda|
|000021e0| 74 65 5f 6d 6f 6e 20 28 | 29 0a 58 6d 69 73 63 31 |te_mon (|).Xmisc1|
|000021f0| 2e 63 3a 20 64 65 6c 65 | 74 65 20 75 6e 75 73 65 |.c: dele|te unuse|
|00002200| 64 20 63 6f 64 65 0a 58 | 63 72 65 61 74 75 72 65 |d code.X|creature|
|00002210| 2e 63 2c 20 6d 6f 72 69 | 61 32 2e 63 3a 20 74 77 |.c, mori|a2.c: tw|
|00002220| 6f 20 70 6c 61 63 65 73 | 20 6e 65 65 64 65 64 20 |o places| needed |
|00002230| 74 6f 20 74 65 73 74 20 | 66 6d 20 69 6e 20 61 64 |to test |fm in ad|
|00002240| 64 69 74 69 6f 6e 20 74 | 6f 20 70 6c 20 61 6e 64 |dition t|o pl and|
|00002250| 20 74 6c 0a 58 73 70 65 | 6c 6c 73 2e 63 3a 20 6e | tl.Xspe|lls.c: n|
|00002260| 65 65 64 20 74 6f 20 73 | 65 74 20 66 6d 2f 74 6c |eed to s|et fm/tl|
|00002270| 2f 70 6c 20 62 65 66 6f | 72 65 20 63 61 6c 6c 20 |/pl befo|re call |
|00002280| 74 6f 20 6c 69 74 65 5f | 73 70 6f 74 2f 63 68 61 |to lite_|spot/cha|
|00002290| 6e 67 65 5f 74 72 61 70 | 2c 20 65 6c 69 6d 69 6e |nge_trap|, elimin|
|000022a0| 61 74 65 0a 58 09 73 6f | 6d 65 20 75 6e 6e 63 65 |ate.X.so|me unnce|
|000022b0| 73 73 61 72 79 20 63 61 | 6c 6c 73 20 74 6f 20 6c |ssary ca|lls to l|
|000022c0| 69 74 65 5f 73 70 6f 74 | 2c 20 65 6c 69 6d 69 6e |ite_spot|, elimin|
|000022d0| 61 74 65 20 75 6e 6e 65 | 63 63 73 61 72 79 20 63 |ate unne|ccsary c|
|000022e0| 6c 65 61 72 69 6e 67 20 | 6f 66 20 66 6d 0a 58 2d |learing |of fm.X-|
|000022f0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00002300| 2d 2d 2d 2d 2d 2d 2d 2d | 20 36 2f 38 0a 58 64 75 |--------| 6/8.Xdu|
|00002310| 6e 67 65 6f 6e 2e 63 2c | 20 6d 6f 72 69 61 31 2e |ngeon.c,| moria1.|
|00002320| 63 2c 20 6d 6f 72 69 61 | 32 2e 63 3a 20 61 6c 6c |c, moria|2.c: all|
|00002330| 6f 77 20 73 65 61 72 63 | 68 69 6e 67 20 77 68 69 |ow searc|hing whi|
|00002340| 6c 65 20 62 6c 69 6e 64 | 2c 20 64 65 63 72 65 61 |le blind|, decrea|
|00002350| 73 65 20 63 68 61 6e 63 | 65 20 6f 66 0a 58 09 73 |se chanc|e of.X.s|
|00002360| 75 63 63 65 73 73 73 20 | 69 66 20 62 6c 69 6e 64 |uccesss |if blind|
|00002370| 20 6f 72 20 68 61 76 65 | 20 6e 6f 20 6c 69 67 68 | or have| no ligh|
|00002380| 74 0a 58 6d 6f 72 69 61 | 31 2e 63 2c 20 6d 6f 72 |t.Xmoria|1.c, mor|
|00002390| 69 61 32 2e 63 2c 20 73 | 74 6f 72 65 32 2e 63 3a |ia2.c, s|tore2.c:|
|000023a0| 20 63 68 61 6e 67 65 20 | 70 72 74 28 22 22 2c 20 | change |prt("", |
|000023b0| 78 2c 20 79 29 20 74 6f | 20 65 72 61 73 65 5f 6c |x, y) to| erase_l|
|000023c0| 69 6e 65 20 28 78 2c 20 | 79 29 0a 58 6d 69 73 63 |ine (x, |y).Xmisc|
|000023d0| 32 2e 63 3a 20 72 65 70 | 6c 61 63 65 20 61 6c 6c |2.c: rep|lace all|
|000023e0| 20 22 5c 30 22 20 77 69 | 74 68 20 6a 75 73 74 20 | "\0" wi|th just |
|000023f0| 22 22 0a 58 69 6f 2e 63 | 2c 20 6d 6f 72 69 61 32 |"".Xio.c|, moria2|
|00002400| 2e 63 2c 20 73 63 72 6f | 6c 6c 73 2e 63 2c 20 73 |.c, scro|lls.c, s|
|00002410| 74 6f 72 65 32 2e 63 3a | 20 61 64 64 20 27 2e 27 |tore2.c:| add '.'|
|00002420| 20 74 6f 20 65 6e 64 20 | 6f 66 20 73 65 6e 74 65 | to end |of sente|
|00002430| 6e 63 65 73 0a 58 64 75 | 6e 67 65 6f 6e 2e 63 2c |nces.Xdu|ngeon.c,|
|00002440| 20 6d 69 73 63 32 2e 63 | 2c 20 6d 6f 72 69 61 32 | misc2.c|, moria2|
|00002450| 2e 63 2c 20 73 63 72 6f | 6c 6c 73 2e 63 2c 20 73 |.c, scro|lls.c, s|
|00002460| 74 6f 72 65 32 2e 63 3a | 20 61 64 64 20 6d 73 67 |tore2.c:| add msg|
|00002470| 5f 66 6c 61 67 20 3d 20 | 46 41 4c 53 45 20 61 66 |_flag = |FALSE af|
|00002480| 74 65 72 0a 58 09 6c 6f | 74 73 20 6f 66 20 6d 73 |ter.X.lo|ts of ms|
|00002490| 67 5f 70 72 69 6e 74 73 | 2c 20 74 6f 20 6d 61 6b |g_prints|, to mak|
|000024a0| 65 20 73 75 72 65 20 6e | 65 76 65 72 20 67 65 74 |e sure n|ever get|
|000024b0| 20 22 20 2d 6d 6f 72 65 | 22 20 6d 65 73 73 61 67 | " -more|" messag|
|000024c0| 65 20 6c 69 6e 65 0a 58 | 63 72 65 61 74 75 72 65 |e line.X|creature|
|000024d0| 2e 63 2c 20 64 75 6e 67 | 65 6f 6e 2e 63 2c 20 73 |.c, dung|eon.c, s|
|000024e0| 70 65 6c 6c 73 2e 63 2c | 20 73 74 61 66 66 2e 63 |pells.c,| staff.c|
|000024f0| 3a 20 64 6f 6e 27 74 20 | 70 72 69 6e 74 20 27 6c |: don't |print 'l|
|00002500| 69 67 68 74 27 20 6d 65 | 73 73 61 67 65 73 20 69 |ight' me|ssages i|
|00002510| 66 20 62 6c 69 6e 64 0a | 58 6d 6f 72 69 61 32 2e |f blind.|Xmoria2.|
|00002520| 63 3a 20 64 69 73 61 72 | 6d 5f 74 72 61 70 28 29 |c: disar|m_trap()|
|00002530| 2c 20 6d 61 6b 65 20 6e | 6f 5f 6c 69 67 68 74 20 |, make n|o_light |
|00002540| 61 6e 64 20 62 6c 69 6e | 64 20 73 61 6d 65 20 70 |and blin|d same p|
|00002550| 65 6e 61 6c 74 79 2c 20 | 69 6e 63 72 65 61 73 65 |enalty, |increase|
|00002560| 0a 58 09 62 6c 69 6e 64 | 2f 6e 6f 5f 6c 69 67 68 |.X.blind|/no_ligh|
|00002570| 74 20 61 6e 64 20 63 6f | 6e 66 75 73 65 64 20 70 |t and co|nfused p|
|00002580| 65 6e 61 6c 74 69 65 73 | 0a 58 6d 6f 72 69 61 31 |enalties|.Xmoria1|
|00002590| 2e 63 3a 20 72 65 77 72 | 6f 74 65 20 61 72 65 61 |.c: rewr|ote area|
|000025a0| 5f 61 66 66 65 63 74 2c | 20 64 65 6c 65 74 65 20 |_affect,| delete |
|000025b0| 72 65 64 75 6e 64 61 6e | 74 20 63 6f 64 65 2c 20 |redundan|t code, |
|000025c0| 64 6f 6e 27 74 20 73 74 | 6f 70 20 61 74 20 64 6f |don't st|op at do|
|000025d0| 6f 72 77 61 79 0a 58 09 | 69 66 20 6e 6f 5f 6c 69 |orway.X.|if no_li|
|000025e0| 67 68 74 20 61 6e 64 20 | 69 74 20 69 73 20 75 6e |ght and |it is un|
|000025f0| 6c 69 74 0a 58 67 65 6e | 65 72 61 74 65 2e 63 3a |lit.Xgen|erate.c:|
|00002600| 20 66 69 78 65 64 20 65 | 72 72 6f 72 20 69 6e 20 | fixed e|rror in |
|00002610| 62 75 69 6c 64 5f 74 75 | 6e 6e 65 6c 2c 20 73 74 |build_tu|nnel, st|
|00002620| 61 63 6b 20 70 6f 69 6e | 74 73 20 63 6f 75 6c 64 |ack poin|ts could|
|00002630| 20 6f 76 65 72 72 75 6e | 20 73 74 61 63 6b 0a 58 | overrun| stack.X|
|00002640| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00002650| 2d 2d 2d 2d 2d 2d 2d 2d | 20 36 2f 39 0a 58 6d 6f |--------| 6/9.Xmo|
|00002660| 72 69 61 31 2e 63 3a 20 | 63 68 61 6e 67 65 20 74 |ria1.c: |change t|
|00002670| 65 73 74 5f 68 69 74 20 | 73 6f 20 74 68 61 74 20 |est_hit |so that |
|00002680| 61 6c 77 61 79 73 20 6d | 69 73 73 20 31 2f 32 30 |always m|iss 1/20|
|00002690| 2c 20 61 6e 64 20 61 6c | 77 61 79 73 20 68 69 74 |, and al|ways hit|
|000026a0| 20 31 2f 32 30 0a 58 6d | 6f 72 69 61 31 2e 63 2c | 1/20.Xm|oria1.c,|
|000026b0| 20 6d 6f 72 69 61 32 2e | 63 2c 20 73 70 65 6c 6c | moria2.|c, spell|
|000026c0| 73 2e 63 3a 20 63 68 61 | 6e 67 65 64 20 66 76 61 |s.c: cha|nged fva|
|000026d0| 6c 20 69 6e 63 6f 72 72 | 65 63 74 6c 79 20 77 68 |l incorr|ectly wh|
|000026e0| 65 6e 20 6d 61 6e 69 70 | 75 6c 61 74 69 6e 67 20 |en manip|ulating |
|000026f0| 64 6f 6f 72 73 2c 0a 58 | 09 6f 6e 6c 79 20 63 68 |doors,.X|.only ch|
|00002700| 61 6e 67 65 20 74 6f 20 | 63 6f 72 72 5f 66 6c 6f |ange to |corr_flo|
|00002710| 6f 72 32 20 69 66 20 6e | 65 78 74 5f 74 6f 34 20 |or2 if n|ext_to4 |
|00002720| 61 20 72 6f 6f 6d 20 73 | 70 61 63 65 0a 58 63 72 |a room s|pace.Xcr|
|00002730| 65 61 74 75 72 65 2e 63 | 3a 20 69 6e 20 67 65 74 |eature.c|: in get|
|00002740| 5f 6d 6f 76 65 73 2c 20 | 63 68 61 6e 67 65 20 31 |_moves, |change 1|
|00002750| 2e 37 33 32 20 74 6f 20 | 32 2c 20 6d 61 6b 65 73 |.732 to |2, makes|
|00002760| 20 69 74 20 66 61 73 74 | 65 72 2c 20 61 6c 73 6f | it fast|er, also|
|00002770| 20 63 61 6e 20 6e 6f 0a | 58 09 6c 6f 6e 67 65 72 | can no.|X.longer|
|00002780| 20 63 69 72 63 6c 65 20 | 6d 6f 6e 73 74 65 72 73 | circle |monsters|
|00002790| 20 62 79 20 6d 6f 76 69 | 6e 67 20 69 6e 20 61 20 | by movi|ng in a |
|000027a0| 64 69 61 6d 6f 6e 64 20 | 73 68 61 70 65 0a 58 64 |diamond |shape.Xd|
|000027b0| 65 61 74 68 2e 63 2c 20 | 69 6f 2e 63 2c 20 66 69 |eath.c, |io.c, fi|
|000027c0| 6c 65 73 2e 63 2c 20 6d | 61 69 6e 2e 63 3a 20 66 |les.c, m|ain.c: f|
|000027d0| 6f 72 20 4d 53 44 4f 53 | 2c 20 64 6f 6e 27 74 20 |or MSDOS|, don't |
|000027e0| 6c 65 61 76 65 20 74 68 | 65 20 68 69 67 68 73 63 |leave th|e highsc|
|000027f0| 6f 72 65 5f 66 64 20 66 | 69 6c 65 0a 58 09 6f 70 |ore_fd f|ile.X.op|
|00002800| 65 6e 20 70 65 72 6d 61 | 6e 65 6e 74 6c 79 0a 58 |en perma|nently.X|
|00002810| 73 61 76 65 2e 63 3a 20 | 73 61 76 65 20 76 61 6c |save.c: |save val|
|00002820| 75 65 20 6f 66 20 74 6f | 74 61 6c 5f 77 69 6e 6e |ue of to|tal_winn|
|00002830| 65 72 2c 20 69 6e 20 63 | 61 73 65 20 6f 66 20 61 |er, in c|ase of a|
|00002840| 20 66 6f 72 63 65 64 20 | 63 61 6c 6c 20 74 6f 20 | forced |call to |
|00002850| 73 61 76 65 5f 63 68 61 | 72 28 29 0a 58 61 6c 6c |save_cha|r().Xall|
|00002860| 2c 20 74 79 70 65 73 2e | 68 3a 20 64 65 6c 65 74 |, types.|h: delet|
|00002870| 65 64 20 4d 53 44 4f 53 | 20 69 66 64 65 66 73 2c |ed MSDOS| ifdefs,|
|00002880| 20 74 68 65 20 62 79 74 | 6c 69 6e 74 2f 62 79 74 | the byt|lint/byt|
|00002890| 65 69 6e 74 2f 77 6f 72 | 64 69 6e 74 2f 77 6f 72 |eint/wor|dint/wor|
|000028a0| 6c 69 6e 74 20 74 79 70 | 65 0a 58 09 64 65 66 69 |lint typ|e.X.defi|
|000028b0| 6e 69 74 69 6f 6e 73 20 | 77 65 72 65 20 63 6f 6e |nitions |were con|
|000028c0| 66 75 73 69 6e 67 2c 20 | 73 6f 20 63 68 61 6e 67 |fusing, |so chang|
|000028d0| 65 64 20 61 6c 6c 20 74 | 6f 20 69 6e 74 38 2f 69 |ed all t|o int8/i|
|000028e0| 6e 74 38 75 2f 69 6e 74 | 31 36 75 2f 69 6e 74 31 |nt8u/int|16u/int1|
|000028f0| 36 0a 58 67 65 6e 65 72 | 61 74 65 2e 63 3a 20 72 |6.Xgener|ate.c: r|
|00002900| 65 77 72 6f 74 65 20 6c | 6f 6f 70 73 20 74 6f 20 |ewrote l|oops to |
|00002910| 74 72 79 20 74 6f 20 73 | 70 65 65 64 20 75 70 20 |try to s|peed up |
|00002920| 6c 65 76 65 6c 20 67 65 | 6e 65 72 61 74 69 6f 6e |level ge|neration|
|00002930| 0a 58 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |.X------|--------|
|00002940| 2d 2d 20 36 2f 31 32 0a | 58 6d 69 73 63 31 2e 63 |-- 6/12.|Xmisc1.c|
|00002950| 3a 20 66 6f 72 20 69 74 | 65 6d 73 20 77 69 74 68 |: for it|ems with|
|00002960| 20 64 75 70 6c 69 63 61 | 74 65 73 20 69 6e 20 74 | duplica|tes in t|
|00002970| 72 65 61 73 75 72 65 31 | 2e 63 2c 20 73 65 74 20 |reasure1|.c, set |
|00002980| 6c 65 76 65 6c 20 6f 66 | 20 61 6c 6c 20 65 71 75 |level of| all equ|
|00002990| 61 6c 0a 58 09 74 6f 20 | 74 68 61 74 20 6f 66 20 |al.X.to |that of |
|000029a0| 6c 6f 77 65 73 74 0a 58 | 74 72 65 61 73 75 72 32 |lowest.X|treasur2|
|000029b0| 2e 63 3a 20 73 65 76 65 | 72 61 6c 20 69 74 65 6d |.c: seve|ral item|
|000029c0| 73 20 64 69 64 20 6e 6f | 74 20 6d 61 74 63 68 20 |s did no|t match |
|000029d0| 73 61 6d 65 20 69 74 65 | 6d 20 69 6e 20 74 72 65 |same ite|m in tre|
|000029e0| 61 73 75 72 65 31 2e 63 | 0a 58 2d 2d 2d 2d 2d 2d |asure1.c|.X------|
|000029f0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 20 36 2f 31 33 |--------|--- 6/13|
|00002a00| 0a 58 74 72 65 61 73 75 | 72 32 2e 63 3a 20 77 61 |.Xtreasu|r2.c: wa|
|00002a10| 6e 64 73 2f 73 74 61 66 | 66 73 20 69 6e 20 73 74 |nds/staf|fs in st|
|00002a20| 6f 72 65 20 6e 6f 77 20 | 68 61 76 65 20 73 61 6d |ore now |have sam|
|00002a30| 65 20 6c 65 76 65 6c 20 | 61 73 20 74 68 6f 73 65 |e level |as those|
|00002a40| 20 69 6e 20 64 75 6e 67 | 65 6f 6e 0a 58 64 75 6e | in dung|eon.Xdun|
|00002a50| 67 65 6f 6e 2e 63 2c 20 | 6d 69 73 63 32 2e 63 2c |geon.c, |misc2.c,|
|00002a60| 20 6d 6f 72 69 61 31 2e | 63 2c 20 6d 73 5f 6d 69 | moria1.|c, ms_mi|
|00002a70| 73 63 2e 63 2c 20 73 74 | 6f 72 65 32 2e 63 3a 20 |sc.c, st|ore2.c: |
|00002a80| 72 65 6d 6f 76 65 64 20 | 73 6f 6d 65 20 41 53 43 |removed |some ASC|
|00002a90| 49 49 0a 58 09 64 65 70 | 65 6e 64 65 6e 63 69 65 |II.X.dep|endencie|
|00002aa0| 73 0a 58 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |s.X-----|--------|
|00002ab0| 2d 2d 2d 2d 2d 20 36 2f | 31 36 0a 58 65 78 74 65 |----- 6/|16.Xexte|
|00002ac0| 72 6e 73 2e 68 2c 20 63 | 6f 6e 73 74 61 6e 74 73 |rns.h, c|onstants|
|00002ad0| 2e 63 2c 20 67 65 6e 65 | 72 61 74 65 2e 63 2c 20 |.c, gene|rate.c, |
|00002ae0| 6d 69 73 63 31 2e 63 3a | 20 66 69 78 65 73 20 74 |misc1.c:| fixes t|
|00002af0| 6f 20 6d 61 6b 65 20 6c | 65 76 65 6c 20 67 65 6e |o make l|evel gen|
|00002b00| 65 72 61 74 69 6f 6e 0a | 58 09 66 61 73 74 65 72 |eration.|X.faster|
|00002b10| 2c 20 72 65 61 72 72 61 | 6e 67 65 20 6f 72 64 65 |, rearra|nge orde|
|00002b20| 72 20 62 75 69 6c 64 5f | 74 75 6e 6e 65 6c 20 6d |r build_|tunnel m|
|00002b30| 61 6b 65 73 20 63 6f 6d | 70 61 72 69 73 6f 6e 73 |akes com|parisons|
|00002b40| 2c 20 63 61 6c 6c 0a 58 | 09 63 6f 72 72 65 63 74 |, call.X|.correct|
|00002b50| 5f 64 69 72 20 64 69 72 | 65 63 74 6c 79 20 69 6e |_dir dir|ectly in|
|00002b60| 73 74 65 61 64 20 6f 66 | 20 74 68 72 6f 75 67 68 |stead of| through|
|00002b70| 20 72 61 6e 64 5f 64 69 | 72 2c 20 72 65 77 72 69 | rand_di|r, rewri|
|00002b80| 74 65 20 6c 6f 6f 70 73 | 2c 0a 58 09 72 65 77 72 |te loops|,.X.rewr|
|00002b90| 69 74 65 20 6e 65 78 74 | 5f 74 6f 34 2c 20 72 65 |ite next|_to4, re|
|00002ba0| 77 72 69 74 65 20 6e 65 | 78 74 5f 74 6f 38 0a 58 |write ne|xt_to8.X|
|00002bb0| 65 78 74 65 72 6e 73 2e | 68 2c 20 66 69 6c 65 73 |externs.|h, files|
|00002bc0| 2e 63 2c 20 6d 69 73 63 | 31 2e 63 2c 20 6d 6f 72 |.c, misc|1.c, mor|
|00002bd0| 69 61 31 2e 63 2c 20 6d | 73 5f 6d 69 73 63 2e 63 |ia1.c, m|s_misc.c|
|00002be0| 3a 20 6c 6f 63 5f 73 79 | 6d 62 6f 6c 20 72 65 74 |: loc_sy|mbol ret|
|00002bf0| 75 72 6e 73 20 63 68 61 | 72 0a 58 3d 3d 20 74 68 |urns cha|r.X== th|
|00002c00| 65 20 66 6f 6c 6c 6f 77 | 69 6e 67 20 61 72 65 20 |e follow|ing are |
|00002c10| 64 75 65 20 74 6f 20 43 | 4a 53 20 28 42 72 75 63 |due to C|JS (Bruc|
|00002c20| 65 20 4d 6f 72 69 61 29 | 0a 58 63 72 65 61 74 65 |e Moria)|.Xcreate|
|00002c30| 2e 63 3a 20 69 6e 20 67 | 65 74 5f 6d 6f 6e 65 79 |.c: in g|et_money|
|00002c40| 28 29 2c 20 63 68 61 72 | 69 73 6d 61 20 77 61 73 |(), char|isma was|
|00002c50| 20 73 75 62 74 72 61 63 | 74 65 64 20 61 6e 64 20 | subtrac|ted and |
|00002c60| 61 64 64 65 64 2c 20 6e | 6f 77 20 6f 6e 6c 79 20 |added, n|ow only |
|00002c70| 61 64 64 0a 58 64 65 73 | 63 2e 63 3a 20 75 6e 71 |add.Xdes|c.c: unq|
|00002c80| 75 6f 74 65 28 29 20 64 | 69 64 20 6e 6f 74 20 77 |uote() d|id not w|
|00002c90| 6f 72 6b 20 61 74 20 61 | 6c 6c 2c 20 72 65 77 72 |ork at a|ll, rewr|
|00002ca0| 6f 74 65 20 74 68 65 20 | 77 68 6f 6c 65 20 74 68 |ote the |whole th|
|00002cb0| 69 6e 67 0a 58 09 69 6e | 20 69 64 65 6e 74 69 66 |ing.X.in| identif|
|00002cc0| 79 2c 20 73 74 72 69 6e | 67 5b 30 5d 20 3d 3d 20 |y, strin|g[0] == |
|00002cd0| 27 54 27 20 73 68 6f 75 | 6c 64 20 62 65 20 73 74 |'T' shou|ld be st|
|00002ce0| 72 69 6e 67 5b 31 5d 0a | 58 6d 6f 72 69 61 31 2e |ring[1].|Xmoria1.|
|00002cf0| 63 3a 20 61 72 65 61 5f | 61 66 66 65 63 74 2c 20 |c: area_|affect, |
|00002d00| 66 6f 72 20 64 69 72 65 | 63 74 69 6f 6e 20 31 2c |for dire|ction 1,|
|00002d10| 20 74 68 65 20 33 20 73 | 68 6f 75 6c 64 20 62 65 | the 3 s|hould be|
|00002d20| 20 61 20 32 0a 58 6d 69 | 73 63 32 2e 63 2c 20 6d | a 2.Xmi|sc2.c, m|
|00002d30| 6f 72 69 61 32 2e 63 2c | 20 73 63 72 6f 6c 6c 73 |oria2.c,| scrolls|
|00002d40| 2e 63 2c 20 73 70 65 6c | 6c 73 2e 63 2c 20 73 74 |.c, spel|ls.c, st|
|00002d50| 6f 72 65 32 2e 63 3a 20 | 63 68 61 6e 67 65 20 6d |ore2.c: |change m|
|00002d60| 73 67 5f 70 72 69 6e 74 | 28 22 20 22 29 20 74 6f |sg_print|(" ") to|
|00002d70| 20 22 22 0a 58 73 74 6f | 72 65 32 2e 63 3a 20 65 | "".Xsto|re2.c: e|
|00002d80| 6c 69 6d 69 6e 61 74 65 | 20 65 72 61 73 65 5f 6c |liminate| erase_l|
|00002d90| 69 6e 65 2f 64 69 73 70 | 6c 61 79 5f 63 6f 6d 6d |ine/disp|lay_comm|
|00002da0| 61 6e 64 73 20 61 74 20 | 65 6e 64 20 6f 66 20 70 |ands at |end of p|
|00002db0| 75 72 63 68 61 73 65 5f | 68 61 67 67 6c 65 0a 58 |urchase_|haggle.X|
|00002dc0| 63 6f 6e 66 69 67 2e 68 | 3a 20 66 6f 72 20 64 65 |config.h|: for de|
|00002dd0| 66 69 6e 65 64 28 50 79 | 72 61 6d 69 64 29 2c 20 |fined(Py|ramid), |
|00002de0| 64 65 66 69 6e 65 20 75 | 6c 74 72 69 78 0a 58 65 |define u|ltrix.Xe|
|00002df0| 61 74 2e 63 3a 20 70 79 | 2e 73 74 61 74 73 2e 69 |at.c: py|.stats.i|
|00002e00| 6e 74 65 6c 20 74 6f 20 | 73 5f 70 74 72 2d 3e 69 |ntel to |s_ptr->i|
|00002e10| 6e 74 65 6c 0a 58 63 72 | 65 61 74 75 72 65 2e 63 |ntel.Xcr|eature.c|
|00002e20| 3a 20 20 69 6e 20 6d 61 | 6b 65 5f 6d 6f 76 65 28 |: in ma|ke_move(|
|00002e30| 29 2c 20 73 65 74 20 6d | 5f 70 74 72 20 61 74 20 |), set m|_ptr at |
|00002e40| 62 65 67 69 6e 69 6e 67 | 20 6f 66 20 66 75 6e 63 |begining| of func|
|00002e50| 74 69 6f 6e 2c 0a 58 09 | 20 20 69 6e 20 6d 6f 6e |tion,.X.| in mon|
|00002e60| 5f 6d 6f 76 65 28 29 2c | 20 73 65 74 20 6d 5f 70 |_move(),| set m_p|
|00002e70| 74 72 20 61 74 20 62 65 | 67 69 6e 69 6e 67 20 6f |tr at be|gining o|
|00002e80| 66 20 66 75 6e 63 74 69 | 6f 6e 2c 0a 58 09 74 65 |f functi|on,.X.te|
|00002e90| 73 74 20 63 6d 6f 76 65 | 20 62 65 66 6f 72 65 20 |st cmove| before |
|00002ea0| 63 61 6c 6c 69 6e 67 20 | 72 61 6e 64 69 6e 74 20 |calling |randint |
|00002eb0| 69 6e 20 6d 6f 6e 5f 6d | 6f 76 65 28 29 0a 58 09 |in mon_m|ove().X.|
|00002ec0| 63 68 61 6e 67 65 20 69 | 66 20 28 72 61 6e 64 69 |change i|f (randi|
|00002ed0| 6e 74 28 31 30 29 20 3e | 20 70 79 2e 6d 69 73 63 |nt(10) >| py.misc|
|00002ee0| 2e 73 74 6c 29 20 74 6f | 20 26 26 20 28 72 61 6e |.stl) to| && (ran|
|00002ef0| 64 69 6e 74 28 2e 2e 2e | 29 29 0a 58 64 75 6e 67 |dint(...|)).Xdung|
|00002f00| 65 6f 6e 2e 63 3a 20 6d | 6f 76 65 20 72 61 6e 64 |eon.c: m|ove rand|
|00002f10| 6f 6d 20 74 65 6c 65 70 | 6f 72 74 20 6f 75 74 73 |om telep|ort outs|
|00002f20| 69 64 65 20 69 6e 6e 65 | 72 6d 6f 73 74 20 6c 6f |ide inne|rmost lo|
|00002f30| 6f 70 2c 20 70 75 74 20 | 77 69 74 68 20 6f 74 68 |op, put |with oth|
|00002f40| 65 72 20 63 68 65 63 6b | 73 0a 58 3d 3d 20 65 6e |er check|s.X== en|
|00002f50| 64 20 43 4a 53 20 66 69 | 78 65 73 20 3d 3d 0a 58 |d CJS fi|xes ==.X|
|00002f60| 63 72 65 61 74 75 72 65 | 2e 63 3a 20 63 6f 6c 6c |creature|.c: coll|
|00002f70| 61 70 73 65 20 61 20 6c | 61 72 67 65 20 6e 75 6d |apse a l|arge num|
|00002f80| 62 65 72 20 6f 66 20 69 | 66 20 28 2e 2e 2e 29 20 |ber of i|f (...) |
|00002f90| 69 66 20 28 2e 2e 2e 29 | 20 63 6f 6e 73 74 72 75 |if (...)| constru|
|00002fa0| 63 74 69 6f 6e 73 0a 58 | 09 74 6f 20 69 66 20 28 |ctions.X|.to if (|
|00002fb0| 2e 2e 2e 20 26 26 20 2e | 2e 2e 29 0a 58 63 6f 6e |... && .|..).Xcon|
|00002fc0| 73 74 61 6e 74 2e 68 2c | 20 64 65 73 63 2e 63 2c |stant.h,| desc.c,|
|00002fd0| 20 65 78 74 65 72 6e 73 | 2e 68 2c 20 67 65 6e 65 | externs|.h, gene|
|00002fe0| 72 61 74 65 2e 63 2c 20 | 6d 69 73 63 31 2e 63 2c |rate.c, |misc1.c,|
|00002ff0| 20 72 6e 64 2e 63 2c 20 | 73 61 76 65 2e 63 2c 20 | rnd.c, |save.c, |
|00003000| 76 61 72 69 61 62 6c 65 | 73 2e 63 3a 0a 58 09 61 |variable|s.c:.X.a|
|00003010| 6c 6c 20 76 65 72 73 69 | 6f 6e 73 20 6e 6f 77 20 |ll versi|ons now |
|00003020| 75 73 65 20 72 6e 64 28 | 29 2c 20 72 6e 64 20 64 |use rnd(|), rnd d|
|00003030| 6f 65 73 20 6e 6f 74 20 | 75 73 65 20 53 59 53 56 |oes not |use SYSV|
|00003040| 20 63 61 6c 6c 69 6e 67 | 20 63 6f 6e 76 65 6e 74 | calling| convent|
|00003050| 69 6f 6e 73 0a 58 09 61 | 6e 79 6d 6f 72 65 09 42 |ions.X.a|nymore.B|
|00003060| 53 44 20 72 61 6e 64 6f | 6d 28 29 20 73 74 61 74 |SD rando|m() stat|
|00003070| 65 73 20 65 6c 69 6d 69 | 6e 61 74 65 64 0a 58 67 |es elimi|nated.Xg|
|00003080| 65 6e 65 72 61 74 65 2e | 63 3a 20 61 64 64 65 64 |enerate.|c: added|
|00003090| 20 63 6f 64 65 20 74 6f | 20 62 75 69 6c 64 5f 74 | code to| build_t|
|000030a0| 75 6e 6e 65 6c 20 74 6f | 20 70 72 65 76 65 6e 74 |unnel to| prevent|
|000030b0| 20 69 6e 66 69 6e 69 74 | 65 20 6c 6f 6f 70 73 0a | infinit|e loops.|
|000030c0| 58 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |X-------|--------|
|000030d0| 20 36 2f 31 39 0a 58 2a | 2e 63 3a 20 63 6f 6c 6c | 6/19.X*|.c: coll|
|000030e0| 61 70 73 65 20 61 20 6c | 61 72 67 65 20 6e 75 6d |apse a l|arge num|
|000030f0| 62 65 72 20 6f 66 20 69 | 66 20 28 2e 2e 2e 29 20 |ber of i|f (...) |
|00003100| 69 66 20 28 2e 2e 2e 29 | 20 63 6f 6e 73 74 72 75 |if (...)| constru|
|00003110| 63 74 69 6f 6e 73 0a 58 | 09 74 6f 20 69 66 20 28 |ctions.X|.to if (|
|00003120| 2e 2e 2e 20 26 26 20 2e | 2e 2e 29 2c 20 64 65 6c |... && .|..), del|
|00003130| 65 74 65 20 75 6e 6e 65 | 65 64 65 64 20 62 72 61 |ete unne|eded bra|
|00003140| 63 65 73 0a 58 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |ces.X---|--------|
|00003150| 2d 2d 2d 2d 2d 20 36 2f | 32 31 0a 58 63 72 65 61 |----- 6/|21.Xcrea|
|00003160| 74 75 72 65 2e 63 2c 20 | 73 70 65 6c 6c 73 2e 63 |ture.c, |spells.c|
|00003170| 3a 20 62 75 69 6c 64 5f | 77 61 6c 6c 20 61 6e 64 |: build_|wall and|
|00003180| 20 65 61 72 74 68 71 75 | 61 6b 65 2c 20 6e 6f 77 | earthqu|ake, now|
|00003190| 20 6b 69 6c 6c 20 6d 6f | 6e 73 74 65 72 20 69 66 | kill mo|nster if|
|000031a0| 20 69 74 20 63 61 6e 0a | 58 09 6e 6f 74 20 6d 6f | it can.|X.not mo|
|000031b0| 76 65 20 74 68 72 6f 75 | 67 68 20 77 61 6c 6c 73 |ve throu|gh walls|
|000031c0| 2c 20 61 6e 64 20 69 74 | 20 63 61 6e 20 6e 6f 74 |, and it| can not|
|000031d0| 20 6d 6f 76 65 20 6f 75 | 74 20 6f 66 20 74 68 65 | move ou|t of the|
|000031e0| 20 77 61 79 20 6f 66 20 | 74 68 65 20 6e 65 77 0a | way of |the new.|
|000031f0| 58 09 77 61 6c 6c 2c 20 | 61 6c 73 6f 2c 20 64 6f |X.wall, |also, do|
|00003200| 65 73 20 6d 6f 72 65 20 | 64 61 6d 61 67 65 20 74 |es more |damage t|
|00003210| 6f 20 74 68 6f 73 65 20 | 74 68 61 74 20 65 73 63 |o those |that esc|
|00003220| 61 70 65 2c 20 69 6e 20 | 63 72 65 61 74 75 72 65 |ape, in |creature|
|00003230| 2e 63 2c 0a 58 09 69 66 | 20 69 6e 20 77 61 6c 6c |.c,.X.if| in wall|
|00003240| 2c 20 6d 75 73 74 20 65 | 73 63 61 70 65 20 74 6f |, must e|scape to|
|00003250| 20 65 6d 70 74 79 20 73 | 70 61 63 65 0a 58 2d 2d | empty s|pace.X--|
|00003260| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 20 |--------|------- |
|00003270| 37 2f 31 37 0a 58 6d 61 | 69 6e 2e 63 3a 20 61 64 |7/17.Xma|in.c: ad|
|00003280| 64 65 64 20 61 20 73 65 | 74 62 75 66 20 63 61 6c |ded a se|tbuf cal|
|00003290| 6c 2c 20 66 6f 72 20 62 | 75 66 66 65 72 65 64 20 |l, for b|uffered |
|000032a0| 6f 75 74 70 75 74 0a 58 | 2d 2d 2d 2d 2d 2d 2d 2d |output.X|--------|
|000032b0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 20 38 2f 34 0a 58 |--------|-- 8/4.X|
|000032c0| 6d 65 72 67 69 6e 67 20 | 63 68 61 6e 67 65 73 20 |merging |changes |
|000032d0| 64 75 65 20 74 6f 20 43 | 68 72 69 73 74 6f 70 68 |due to C|hristoph|
|000032e0| 65 72 20 4a 20 53 74 75 | 61 72 74 2e 2e 2e 7a 69 |er J Stu|art...zi|
|000032f0| 6c 6c 69 6f 6e 73 20 6f | 66 20 63 68 61 6e 67 65 |llions o|f change|
|00003300| 73 0a 58 73 74 61 74 20 | 73 74 72 75 63 74 75 72 |s.Xstat |structur|
|00003310| 65 20 63 68 61 6e 67 65 | 64 0a 58 65 78 74 65 72 |e change|d.Xexter|
|00003320| 6e 73 2e 68 3a 20 6d 6f | 76 65 20 66 75 6e 63 74 |ns.h: mo|ve funct|
|00003330| 69 6f 6e 73 20 64 65 66 | 69 6e 69 74 69 6f 6e 73 |ions def|initions|
|00003340| 20 66 6f 72 20 6c 69 6e | 74 20 74 6f 20 68 65 72 | for lin|t to her|
|00003350| 65 0a 58 63 72 65 61 74 | 65 2e 63 3a 20 68 65 6c |e.Xcreat|e.c: hel|
|00003360| 70 20 66 75 6e 63 74 69 | 6f 6e 73 20 73 6f 72 74 |p functi|ons sort|
|00003370| 61 27 20 61 64 64 65 64 | 2c 20 6d 6f 6e 65 79 20 |a' added|, money |
|00003380| 6e 6f 77 20 6d 6f 72 65 | 20 64 65 70 65 6e 64 65 |now more| depende|
|00003390| 6e 74 20 6f 6e 20 73 74 | 61 74 73 2c 0a 58 09 20 |nt on st|ats,.X. |
|000033a0| 20 72 65 61 6c 6c 79 20 | 67 6f 6f 64 2f 62 61 64 | really |good/bad|
|000033b0| 20 63 68 61 72 61 63 74 | 65 72 73 20 65 6c 69 6d | charact|ers elim|
|000033c0| 69 6e 61 74 65 64 2c 20 | 65 74 63 2e 2e 2e 0a 58 |inated, |etc....X|
|000033d0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000033e0| 2d 2d 20 38 2f 38 0a 58 | 63 72 65 61 74 75 72 65 |-- 8/8.X|creature|
|000033f0| 2e 63 3a 20 6e 65 77 20 | 66 75 6e 63 74 69 6f 6e |.c: new |function|
|00003400| 20 64 69 73 74 75 72 62 | 20 75 73 65 64 2c 20 73 | disturb| used, s|
|00003410| 74 6f 70 20 61 74 74 61 | 63 6b 73 20 69 66 20 70 |top atta|cks if p|
|00003420| 6c 61 79 65 72 20 64 65 | 61 64 2c 20 61 64 64 20 |layer de|ad, add |
|00003430| 6d 65 73 73 61 67 65 0a | 58 09 66 6f 72 20 74 77 |message.|X.for tw|
|00003440| 6f 20 61 74 74 61 63 6b | 73 20 77 68 69 63 68 20 |o attack|s which |
|00003450| 68 61 64 20 6e 6f 20 6d | 65 73 73 61 67 65 2c 20 |had no m|essage, |
|00003460| 63 6f 6e 66 75 73 65 2d | 6d 6f 6e 73 74 65 72 20 |confuse-|monster |
|00003470| 6f 6e 6c 79 20 77 6f 72 | 6b 73 20 69 66 0a 58 09 |only wor|ks if.X.|
|00003480| 6d 6f 6e 73 74 65 72 20 | 61 63 74 75 61 6c 6c 79 |monster |actually|
|00003490| 20 68 69 74 73 2c 20 64 | 6f 6f 72 20 62 61 73 68 | hits, d|oor bash|
|000034a0| 69 6e 67 20 64 69 66 66 | 65 72 65 6e 74 20 61 6e |ing diff|erent an|
|000034b0| 64 20 6e 6f 69 73 79 20 | 74 6f 6f 21 2c 20 0a 58 |d noisy |too!, .X|
|000034c0| 09 63 72 65 61 74 75 72 | 65 73 20 6f 6e 6c 79 20 |.creatur|es only |
|000034d0| 65 61 74 20 6c 6f 77 65 | 72 20 6c 65 76 65 6c 20 |eat lowe|r level |
|000034e0| 63 72 65 61 74 75 72 65 | 73 2c 20 6d 6f 6e 73 74 |creature|s, monst|
|000034f0| 65 72 20 64 72 61 77 69 | 6e 67 20 63 68 61 6e 67 |er drawi|ng chang|
|00003500| 65 64 2c 0a 58 09 6d 6f | 6e 73 74 65 72 20 6d 65 |ed,.X.mo|nster me|
|00003510| 6d 6f 72 79 20 61 64 64 | 65 64 2c 20 65 74 63 2e |mory add|ed, etc.|
|00003520| 2e 2e 0a 58 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |...X----|--------|
|00003530| 2d 2d 2d 2d 2d 2d 20 38 | 2f 39 0a 58 64 65 73 63 |------ 8|/9.Xdesc|
|00003540| 2e 63 3a 20 65 6c 69 6d | 69 6e 61 74 65 20 6c 6f |.c: elim|inate lo|
|00003550| 74 73 20 6f 66 20 75 6e | 6e 65 63 65 73 73 61 72 |ts of un|necessar|
|00003560| 79 20 73 74 72 63 70 79 | 2f 73 74 72 6c 65 6e 2f |y strcpy|/strlen/|
|00003570| 65 74 63 20 63 61 6c 6c | 73 2c 20 63 61 6e 20 69 |etc call|s, can i|
|00003580| 6e 73 63 72 69 62 65 0a | 58 09 6f 62 6a 65 63 74 |nscribe.|X.object|
|00003590| 73 2c 20 73 74 6f 72 65 | 2f 64 75 6e 67 65 6f 6e |s, store|/dungeon|
|000035a0| 20 6f 62 6a 65 63 74 73 | 20 77 69 6c 6c 20 62 65 | objects| will be|
|000035b0| 20 6d 65 72 67 65 64 20 | 69 6e 20 74 68 65 20 69 | merged |in the i|
|000035c0| 6e 76 65 6e 74 6f 72 79 | 20 77 68 65 6e 0a 58 09 |nventory| when.X.|
|000035d0| 6f 62 6a 65 63 74 73 20 | 61 72 65 20 69 64 65 6e |objects |are iden|
|000035e0| 74 69 66 69 65 64 2c 20 | 69 66 20 63 75 72 73 65 |tified, |if curse|
|000035f0| 20 61 20 73 70 65 63 69 | 61 6c 20 6f 62 6a 65 63 | a speci|al objec|
|00003600| 74 20 69 74 20 6c 6f 73 | 65 73 20 69 74 73 0a 58 |t it los|es its.X|
|00003610| 09 73 70 65 63 69 61 6c | 20 61 62 69 6c 69 74 79 |.special| ability|
|00003620| 2c 20 25 64 20 63 6f 64 | 65 20 66 6f 72 20 64 61 |, %d cod|e for da|
|00003630| 6d 61 67 65 2c 20 25 61 | 20 63 6f 64 65 20 66 6f |mage, %a| code fo|
|00003640| 72 20 61 72 6d 6f 72 2c | 20 65 74 63 2e 2e 2e 0a |r armor,| etc....|
|00003650| 58 65 61 74 2e 63 3a 20 | 6d 69 73 63 20 63 68 61 |Xeat.c: |misc cha|
|00003660| 6e 67 65 73 2e 2e 2e 0a | 58 2d 2d 2d 2d 2d 2d 2d |nges....|X-------|
|00003670| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 20 38 2f 31 31 0a |--------|-- 8/11.|
|00003680| 58 68 65 6c 70 2e 63 3a | 20 6d 6f 76 65 64 20 68 |Xhelp.c:| moved h|
|00003690| 65 6c 70 20 74 65 78 74 | 20 69 6e 74 6f 20 66 69 |elp text| into fi|
|000036a0| 6c 65 73 2c 20 61 64 64 | 65 64 20 6d 6f 6e 73 74 |les, add|ed monst|
|000036b0| 65 72 20 72 65 63 61 6c | 6c 20 69 6e 66 6f 2c 20 |er recal|l info, |
|000036c0| 65 74 63 2e 2e 2e 0a 58 | 2d 2d 2d 2d 2d 2d 2d 2d |etc....X|--------|
|000036d0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 20 38 2f 31 34 0a 58 |--------|- 8/14.X|
|000036e0| 4d 6f 72 69 61 2e 64 6f | 63 3a 20 65 64 69 74 69 |Moria.do|c: editi|
|000036f0| 6e 67 20 63 68 61 6e 67 | 65 73 2c 20 72 65 6d 6f |ng chang|es, remo|
|00003700| 76 65 64 20 6c 6f 74 73 | 20 6f 66 20 75 6e 6e 65 |ved lots| of unne|
|00003710| 63 65 73 73 61 72 79 20 | 68 79 70 68 65 6e 73 0a |cessary |hyphens.|
|00003720| 58 69 6f 2e 63 3a 20 72 | 65 62 75 69 6c 74 20 69 |Xio.c: r|ebuilt i|
|00003730| 74 20 28 61 63 63 69 64 | 65 6e 74 61 6c 6c 79 20 |t (accid|entally |
|00003740| 64 65 6c 65 74 65 64 20 | 63 75 72 72 65 6e 74 20 |deleted |current |
|00003750| 76 65 72 73 69 6f 6e 29 | 0a 58 64 65 61 74 68 2e |version)|.Xdeath.|
|00003760| 63 3a 20 73 63 6f 72 69 | 6e 67 20 70 72 6f 63 65 |c: scori|ng proce|
|00003770| 64 75 72 65 73 20 6d 6f | 76 65 64 20 65 6c 73 65 |dures mo|ved else|
|00003780| 77 68 65 72 65 2c 20 70 | 72 69 6e 74 5f 74 6f 6d |where, p|rint_tom|
|00003790| 62 20 6d 6f 72 65 20 65 | 66 66 69 63 69 65 6e 74 |b more e|fficient|
|000037a0| 20 61 6e 64 0a 58 09 75 | 73 65 73 20 66 61 72 20 | and.X.u|ses far |
|000037b0| 6c 65 73 73 20 73 74 61 | 63 6b 2c 20 66 69 6e 61 |less sta|ck, fina|
|000037c0| 6c 20 63 68 61 72 20 64 | 69 73 70 6c 61 79 20 64 |l char d|isplay d|
|000037d0| 69 66 66 65 72 65 6e 74 | 2c 20 75 70 6f 6e 5f 64 |ifferent|, upon_d|
|000037e0| 65 61 74 68 0a 58 09 63 | 68 61 6e 67 65 64 20 74 |eath.X.c|hanged t|
|000037f0| 6f 20 65 78 69 74 5f 67 | 61 6d 65 2c 20 65 74 63 |o exit_g|ame, etc|
|00003800| 2e 2e 2e 0a 58 67 65 6e | 65 72 61 74 65 2e 63 3a |....Xgen|erate.c:|
|00003810| 20 61 64 64 65 64 20 53 | 54 41 54 49 43 20 61 6e | added S|TATIC an|
|00003820| 64 20 76 6f 69 64 0a 58 | 6d 61 67 69 63 2e 63 3a |d void.X|magic.c:|
|00003830| 20 72 65 64 75 63 65 20 | 69 6e 64 65 6e 74 61 74 | reduce |indentat|
|00003840| 69 6f 6e 2c 20 69 6e 63 | 72 65 61 73 65 20 73 70 |ion, inc|rease sp|
|00003850| 65 6c 6c 20 64 61 6d 61 | 67 65 2c 20 37 20 64 61 |ell dama|ge, 7 da|
|00003860| 6d 2f 6d 61 6e 61 20 66 | 6f 72 20 4d 61 67 69 63 |m/mana f|or Magic|
|00003870| 20 0a 58 09 4d 69 73 73 | 6c 65 2c 20 34 20 64 2f | .X.Miss|le, 4 d/|
|00003880| 6d 20 66 6f 72 20 62 61 | 6c 6c 73 2c 20 35 20 64 |m for ba|lls, 5 d|
|00003890| 2f 6d 20 66 6f 72 20 62 | 6f 6c 74 73 2c 20 65 74 |/m for b|olts, et|
|000038a0| 63 2e 2e 2e 0a 58 6d 69 | 73 63 31 2e 63 3a 20 63 |c....Xmi|sc1.c: c|
|000038b0| 72 6f 77 6e 73 20 68 69 | 67 68 65 72 20 63 68 61 |rowns hi|gher cha|
|000038c0| 6e 63 65 20 6f 66 20 6d | 61 67 69 63 2c 20 6d 6f |nce of m|agic, mo|
|000038d0| 6e 73 74 65 72 20 64 69 | 73 74 20 63 68 61 6e 67 |nster di|st chang|
|000038e0| 65 64 20 74 6f 20 69 6e | 63 72 65 61 73 65 0a 58 |ed to in|crease.X|
|000038f0| 09 63 68 61 6e 63 65 20 | 6f 66 20 68 69 67 68 65 |.chance |of highe|
|00003900| 72 20 6c 65 76 65 6c 20 | 6d 6f 6e 73 74 65 72 73 |r level |monsters|
|00003910| 2c 20 75 6e 6e 65 63 65 | 73 73 61 72 79 20 75 69 |, unnece|ssary ui|
|00003920| 64 2f 65 69 64 20 63 61 | 6c 6c 73 20 64 65 6c 65 |d/eid ca|lls dele|
|00003930| 74 65 64 2c 0a 58 09 6d | 5f 6c 65 76 65 6c 20 63 |ted,.X.m|_level c|
|00003940| 68 61 6e 67 65 64 20 74 | 6f 20 69 6e 63 6c 75 64 |hanged t|o includ|
|00003950| 65 20 6c 65 76 65 6c 5b | 30 5d 20 6d 6f 6e 73 74 |e level[|0] monst|
|00003960| 65 72 73 2c 20 68 69 67 | 68 6c 69 67 68 74 69 6e |ers, hig|hlightin|
|00003970| 67 20 66 6f 72 20 6f 72 | 65 73 2c 0a 58 09 64 69 |g for or|es,.X.di|
|00003980| 73 61 70 70 65 61 72 20 | 70 65 72 63 65 6e 74 61 |sappear |percenta|
|00003990| 67 65 73 20 66 6f 72 20 | 6f 62 6a 65 63 74 73 20 |ges for |objects |
|000039a0| 69 6e 20 63 6f 6d 70 61 | 63 74 5f 6f 62 6a 28 29 |in compa|ct_obj()|
|000039b0| 20 6d 6f 64 69 66 69 65 | 64 2c 20 27 21 27 0a 58 | modifie|d, '!'.X|
|000039c0| 09 63 68 61 72 20 61 64 | 64 65 64 20 74 6f 20 6d |.char ad|ded to m|
|000039d0| 61 67 69 63 20 64 65 73 | 63 72 69 70 74 69 6f 6e |agic des|cription|
|000039e0| 73 2c 20 64 61 6d 61 67 | 65 20 61 64 64 65 64 20 |s, damag|e added |
|000039f0| 74 6f 20 62 6f 77 73 0a | 58 2d 2d 2d 2d 2d 2d 2d |to bows.|X-------|
|00003a00| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 20 38 2f 31 |--------|---- 8/1|
|00003a10| 35 0a 58 6d 69 73 63 32 | 2e 63 3a 20 70 72 69 6e |5.Xmisc2|.c: prin|
|00003a20| 74 20 6d 65 73 73 61 67 | 65 20 69 66 20 67 6f 6c |t messag|e if gol|
|00003a30| 64 2f 6f 62 6a 65 63 74 | 20 63 72 65 61 74 65 64 |d/object| created|
|00003a40| 20 75 6e 64 65 72 20 70 | 6c 61 79 65 72 2c 20 73 | under p|layer, s|
|00003a50| 74 61 74 20 68 61 6e 64 | 6c 69 6e 67 0a 58 09 63 |tat hand|ling.X.c|
|00003a60| 6f 6d 70 6c 65 74 65 6c | 79 20 63 68 61 6e 67 65 |ompletel|y change|
|00003a70| 64 2c 20 6e 65 77 20 66 | 75 6e 63 20 74 69 74 6c |d, new f|unc titl|
|00003a80| 65 5f 73 74 72 69 6e 67 | 73 2c 20 73 65 61 72 63 |e_string|s, searc|
|00003a90| 68 2f 72 65 73 74 2f 70 | 61 72 61 6c 79 73 69 73 |h/rest/p|aralysis|
|00003aa0| 2f 63 6f 75 6e 74 0a 58 | 09 6d 65 73 73 61 67 65 |/count.X|.message|
|00003ab0| 20 70 72 69 6e 74 20 63 | 68 61 6e 67 65 64 2c 20 | print c|hanged, |
|00003ac0| 6e 65 77 20 66 75 6e 63 | 20 70 72 74 5f 73 70 65 |new func| prt_spe|
|00003ad0| 65 64 28 29 2c 20 6e 65 | 77 20 73 74 61 74 20 66 |ed(), ne|w stat f|
|00003ae0| 75 6e 63 74 69 6f 6e 73 | 2c 20 63 61 6e 0a 58 09 |unctions|, can.X.|
|00003af0| 68 69 64 65 20 73 74 61 | 74 20 63 68 61 6e 67 65 |hide sta|t change|
|00003b00| 73 20 69 66 20 75 6e 6b | 6e 6f 77 6e 2c 20 67 65 |s if unk|nown, ge|
|00003b10| 74 5f 6e 61 6d 65 20 75 | 73 65 73 20 6c 6f 67 69 |t_name u|ses logi|
|00003b20| 6e 6e 61 6d 65 20 69 66 | 20 6e 6f 6e 65 20 65 6e |nname if| none en|
|00003b30| 74 65 72 65 64 2c 0a 58 | 09 63 68 61 6e 67 65 5f |tered,.X|.change_|
|00003b40| 6e 61 6d 65 20 63 61 6e | 20 70 72 69 6e 74 20 74 |name can| print t|
|00003b50| 6f 20 66 69 6c 65 2c 20 | 69 6e 76 65 6e 20 64 72 |o file, |inven dr|
|00003b60| 6f 70 2f 63 61 72 72 79 | 2f 65 74 63 20 63 68 61 |op/carry|/etc cha|
|00003b70| 6e 67 65 64 20 74 6f 20 | 62 65 0a 58 09 61 20 6c |nged to |be.X.a l|
|00003b80| 69 74 74 6c 65 20 73 69 | 6d 70 6c 65 72 2c 20 6e |ittle si|mpler, n|
|00003b90| 65 77 20 66 75 6e 63 20 | 6a 6f 69 6e 5f 6e 61 6d |ew func |join_nam|
|00003ba0| 65 73 2c 20 73 70 65 6c | 6c 5f 63 68 61 6e 63 65 |es, spel|l_chance|
|00003bb0| 2f 6c 65 61 72 6e 5f 73 | 70 65 6c 6c 2f 65 74 63 |/learn_s|pell/etc|
|00003bc0| 0a 58 09 63 68 6e 61 67 | 65 64 20 74 6f 20 62 65 |.X.chnag|ed to be|
|00003bd0| 20 61 20 6c 69 74 74 6c | 65 20 73 69 6d 70 6c 65 | a littl|e simple|
|00003be0| 72 2c 20 67 65 74 5f 73 | 70 65 6c 6c 20 77 69 74 |r, get_s|pell wit|
|00003bf0| 68 20 63 61 70 69 74 61 | 6c 20 6c 65 74 74 65 72 |h capita|l letter|
|00003c00| 20 76 65 72 69 66 69 65 | 73 0a 58 09 63 68 6f 69 | verifie|s.X.choi|
|00003c10| 63 65 2c 20 65 74 63 2e | 2e 2e 0a 58 2d 2d 2d 2d |ce, etc.|...X----|
|00003c20| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00003c30| 2d 2d 20 38 2f 31 36 0a | 58 6d 6f 6e 73 74 65 72 |-- 8/16.|Xmonster|
|00003c40| 73 2e 63 3a 20 6e 6f 20 | 63 68 61 6e 67 65 0a 58 |s.c: no |change.X|
|00003c50| 74 72 65 61 73 75 72 65 | 31 2e 63 3a 20 25 64 20 |treasure|1.c: %d |
|00003c60| 61 64 64 65 64 20 74 6f | 20 77 65 61 70 6f 6e 73 |added to| weapons|
|00003c70| 2c 20 25 61 20 61 64 64 | 65 64 20 74 6f 20 61 72 |, %a add|ed to ar|
|00003c80| 6d 6f 72 2c 20 70 6c 75 | 73 20 74 6f 20 64 61 6d |mor, plu|s to dam|
|00003c90| 20 61 64 64 65 64 20 74 | 6f 20 62 6f 77 73 2c 0a | added t|o bows,.|
|00003ca0| 58 09 6d 61 67 65 27 73 | 20 67 75 69 64 65 20 73 |X.mage's| guide s|
|00003cb0| 68 6f 75 6c 64 20 62 65 | 20 6d 61 67 65 73 27 20 |hould be| mages' |
|00003cc0| 67 75 69 64 65 3f 3f 20 | 61 70 70 6f 73 74 72 6f |guide?? |appostro|
|00003cd0| 70 68 65 20 72 65 6d 6f | 76 65 64 2c 09 0a 58 2d |phe remo|ved,..X-|
|00003ce0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00003cf0| 2d 2d 2d 2d 2d 20 38 2f | 31 37 0a 58 74 72 65 61 |----- 8/|17.Xtrea|
|00003d00| 73 75 72 65 32 2e 63 3a | 20 63 68 61 6e 67 65 20 |sure2.c:| change |
|00003d10| 26 20 69 6e 20 74 72 61 | 70 73 20 74 6f 20 61 2f |& in tra|ps to a/|
|00003d20| 61 6e 2c 20 73 63 72 6f | 6c 6c 2f 70 6f 74 69 6f |an, scro|ll/potio|
|00003d30| 6e 20 73 75 62 76 61 6c | 73 20 63 68 61 6e 67 65 |n subval|s change|
|00003d40| 64 20 74 6f 20 32 30 30 | 0a 58 09 70 6c 75 73 20 |d to 200|.X.plus |
|00003d50| 76 61 6c 75 65 20 69 6e | 20 74 72 65 61 73 75 72 |value in| treasur|
|00003d60| 65 31 2e 63 2c 20 65 74 | 63 2e 2e 2e 0a 58 70 6f |e1.c, et|c....Xpo|
|00003d70| 74 69 6f 6e 73 2e 63 3a | 20 65 76 65 72 79 20 70 |tions.c:| every p|
|00003d80| 6f 74 69 6f 6e 20 70 72 | 69 6e 74 73 20 6d 65 73 |otion pr|ints mes|
|00003d90| 73 61 67 65 2c 20 69 64 | 65 6e 74 20 74 72 75 65 |sage, id|ent true|
|00003da0| 20 6f 6e 6c 79 20 69 66 | 20 73 6f 6d 65 74 68 69 | only if| somethi|
|00003db0| 6e 67 20 6e 6f 74 69 63 | 61 62 6c 65 0a 58 09 68 |ng notic|able.X.h|
|00003dc0| 61 70 70 65 6e 73 2c 20 | 67 72 65 61 74 6c 79 20 |appens, |greatly |
|00003dd0| 72 65 64 75 63 65 20 69 | 6e 64 65 6e 74 61 74 69 |reduce i|ndentati|
|00003de0| 6f 6e 2c 20 73 74 61 74 | 20 68 61 6e 64 6c 69 6e |on, stat| handlin|
|00003df0| 67 20 64 69 66 66 65 72 | 65 6e 74 2c 20 65 74 63 |g differ|ent, etc|
|00003e00| 2e 2e 2e 0a 58 70 72 61 | 79 65 72 2e 63 3a 20 72 |....Xpra|yer.c: r|
|00003e10| 65 64 75 63 65 20 69 6e | 64 65 6e 74 61 74 69 6f |educe in|dentatio|
|00003e20| 6e 20 67 72 65 61 74 6c | 79 2c 20 75 73 65 20 75 |n greatl|y, use u|
|00003e30| 70 20 6d 61 6e 61 20 69 | 66 20 70 72 61 79 65 72 |p mana i|f prayer|
|00003e40| 20 66 61 69 6c 73 2c 20 | 65 74 63 2e 2e 2e 0a 58 | fails, |etc....X|
|00003e50| 73 63 72 6f 6c 6c 73 2e | 63 3a 20 72 65 64 75 63 |scrolls.|c: reduc|
|00003e60| 65 20 69 6e 64 65 6e 74 | 61 74 69 6f 6e 2c 20 6f |e indent|ation, o|
|00003e70| 6e 6c 79 20 69 64 65 6e | 74 20 69 66 20 73 6f 6d |nly iden|t if som|
|00003e80| 65 74 68 69 6e 67 20 6e | 6f 74 69 63 61 62 6c 65 |ething n|oticable|
|00003e90| 20 68 61 70 70 65 6e 73 | 2c 0a 58 09 66 6f 72 20 | happens|,.X.for |
|00003ea0| 69 64 65 6e 74 69 66 79 | 20 6d 75 73 74 20 73 65 |identify| must se|
|00003eb0| 61 72 63 68 20 66 6f 72 | 20 6e 65 77 20 6c 6f 63 |arch for| new loc|
|00003ec0| 61 74 69 6f 6e 20 6f 66 | 20 73 63 72 6f 6c 6c 2c |ation of| scroll,|
|00003ed0| 20 65 74 63 2e 2e 2e 0a | 58 73 65 74 73 2e 63 3a | etc....|Xsets.c:|
|00003ee0| 20 69 66 64 65 66 20 6f | 75 74 20 75 6e 75 73 65 | ifdef o|ut unuse|
|00003ef0| 64 20 66 75 6e 63 74 69 | 6f 6e 73 0a 58 64 75 6e |d functi|ons.Xdun|
|00003f00| 67 65 6f 6e 2e 63 3a 20 | 61 64 64 20 63 6f 6d 6d |geon.c: |add comm|
|00003f10| 61 6e 64 20 63 6f 75 6e | 74 73 2c 20 75 73 65 20 |and coun|ts, use |
|00003f20| 6e 65 77 20 66 75 6e 63 | 20 64 69 73 74 75 72 62 |new func| disturb|
|00003f30| 28 29 2c 20 64 6f 75 62 | 6c 65 20 72 65 67 65 6e |(), doub|le regen|
|00003f40| 20 69 66 0a 58 09 73 65 | 61 72 63 68 69 6e 67 2c | if.X.se|arching,|
|00003f50| 20 64 61 6d 61 67 65 20 | 69 66 20 72 65 61 6c 6c | damage |if reall|
|00003f60| 79 20 68 75 6e 67 72 79 | 2c 20 6d 65 73 73 61 67 |y hungry|, messag|
|00003f70| 65 73 20 66 6f 72 20 70 | 72 6f 74 65 76 69 6c 20 |es for p|rotevil |
|00003f80| 72 65 73 69 73 74 5f 68 | 65 61 74 0a 58 09 61 6e |resist_h|eat.X.an|
|00003f90| 64 20 72 65 73 69 73 74 | 5f 63 6f 6c 64 2c 20 6e |d resist|_cold, n|
|00003fa0| 65 77 20 63 6f 64 65 20 | 66 6f 72 20 71 75 69 74 |ew code |for quit|
|00003fb0| 69 6e 67 20 72 65 73 74 | 20 6d 6f 64 65 2c 20 6d |ing rest| mode, m|
|00003fc0| 6f 76 65 20 74 65 6c 65 | 70 6f 72 74 20 63 6f 64 |ove tele|port cod|
|00003fd0| 65 0a 58 09 6f 75 74 73 | 69 64 65 20 69 6e 6e 65 |e.X.outs|ide inne|
|00003fe0| 72 20 6c 6f 6f 70 2c 20 | 61 64 64 20 63 6f 64 65 |r loop, |add code|
|00003ff0| 20 74 6f 20 63 68 65 63 | 6b 20 73 74 72 65 6e 67 | to chec|k streng|
|00004000| 74 68 2f 77 65 69 67 68 | 74 2c 20 66 69 6e 64 20 |th/weigh|t, find |
|00004010| 6d 6f 64 65 0a 58 09 64 | 6f 6e 65 20 64 69 66 66 |mode.X.d|one diff|
|00004020| 65 72 65 6e 74 6c 79 20 | 6e 6f 77 2c 20 61 6c 6c |erently |now, all|
|00004030| 6f 77 20 5e 63 68 61 72 | 20 66 6f 72 20 63 6f 6e |ow ^char| for con|
|00004040| 74 72 6f 6c 20 63 68 61 | 72 61 63 74 65 72 73 2c |trol cha|racters,|
|00004050| 20 61 6c 6c 0a 58 09 63 | 6f 6d 6d 61 6e 64 20 63 | all.X.c|ommand c|
|00004060| 68 61 72 73 20 74 72 61 | 6e 73 6c 61 74 65 64 20 |hars tra|nslated |
|00004070| 74 6f 20 72 6f 67 75 65 | 5f 6c 69 6b 65 20 63 68 |to rogue|_like ch|
|00004080| 61 72 73 2c 20 6e 65 77 | 20 63 6f 6d 6d 61 6e 64 |ars, new| command|
|00004090| 73 20 3d 20 28 6f 70 74 | 69 6f 6e 73 29 0a 58 09 |s = (opt|ions).X.|
|000040a0| 7b 20 28 69 6e 73 63 72 | 69 62 65 29 20 56 20 28 |{ (inscr|ibe) V (|
|000040b0| 76 69 65 77 20 73 63 6f | 72 65 73 29 20 4d 20 64 |view sco|res) M d|
|000040c0| 65 6c 65 74 65 64 20 62 | 75 74 20 57 20 69 6d 70 |eleted b|ut W imp|
|000040d0| 72 6f 76 65 64 20 3a 20 | 28 6d 61 70 20 61 72 65 |roved : |(map are|
|000040e0| 61 29 0a 58 09 72 6f 67 | 75 65 2d 6c 69 6b 65 20 |a).X.rog|ue-like |
|000040f0| 73 75 6d 6d 6f 6e 20 5e | 53 20 2d 3e 20 26 2c 20 |summon ^|S -> &, |
|00004100| 65 74 63 2e 2e 2e 0a 58 | 2d 2d 2d 2d 2d 2d 2d 2d |etc....X|--------|
|00004110| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 20 38 |--------|------ 8|
|00004120| 2f 32 34 0a 58 66 69 6c | 65 73 2e 63 3a 20 69 6e |/24.Xfil|es.c: in|
|00004130| 69 74 5f 73 63 6f 72 65 | 66 69 6c 65 20 64 65 6c |it_score|file del|
|00004140| 65 74 65 64 2c 20 69 6e | 74 72 6f 2d 3e 72 65 61 |eted, in|tro->rea|
|00004150| 64 5f 74 69 6d 65 73 2c | 20 64 6f 6e 27 74 20 6d |d_times,| don't m|
|00004160| 6f 64 69 66 79 20 61 72 | 67 76 2c 0a 58 09 6e 65 |odify ar|gv,.X.ne|
|00004170| 77 20 66 75 6e 63 20 68 | 65 6c 70 66 69 6c 65 2c |w func h|elpfile,|
|00004180| 20 70 72 69 6e 74 5f 6d | 61 70 20 64 65 6c 65 74 | print_m|ap delet|
|00004190| 65 64 2c 20 70 72 69 6e | 74 5f 6d 6f 6e 73 74 65 |ed, prin|t_monste|
|000041a0| 72 73 20 64 65 6c 65 74 | 65 64 2c 0a 58 09 66 69 |rs delet|ed,.X.fi|
|000041b0| 6c 65 5f 63 68 61 72 61 | 63 74 65 72 20 6e 6f 77 |le_chara|cter now|
|000041c0| 20 74 61 6b 65 73 20 66 | 69 6c 65 6e 61 6d 65 20 | takes f|ilename |
|000041d0| 61 73 20 61 72 67 75 6d | 65 6e 74 2c 20 65 74 63 |as argum|ent, etc|
|000041e0| 2e 2e 2e 0a 58 69 6f 2e | 63 3a 20 6c 69 6e 74 20 |....Xio.|c: lint |
|000041f0| 64 65 66 73 2c 20 6e 65 | 77 20 73 75 73 70 65 6e |defs, ne|w suspen|
|00004200| 64 20 66 75 6e 63 74 69 | 6f 6e 2c 20 6d 75 63 68 |d functi|on, much|
|00004210| 20 62 65 74 74 65 72 20 | 63 75 72 73 65 73 20 68 | better |curses h|
|00004220| 61 6e 64 6c 69 6e 67 2c | 0a 58 09 6e 65 77 20 66 |andling,|.X.new f|
|00004230| 75 6e 63 20 6d 6f 72 69 | 61 74 65 72 6d 20 61 6e |unc mori|aterm an|
|00004240| 64 20 72 65 73 74 6f 72 | 65 5f 74 65 72 6d 2c 20 |d restor|e_term, |
|00004250| 69 6e 6b 65 79 20 64 6f | 65 73 20 72 65 66 72 65 |inkey do|es refre|
|00004260| 73 68 20 6f 6e 20 5e 52 | 2c 20 66 6c 75 73 68 0a |sh on ^R|, flush.|
|00004270| 58 09 73 68 6f 75 6c 64 | 20 77 6f 72 6b 20 6e 6f |X.should| work no|
|00004280| 77 2c 20 6e 65 77 20 66 | 75 6e 63 74 20 67 65 74 |w, new f|unct get|
|00004290| 5f 63 68 65 63 6b 2c 20 | 73 61 76 65 5f 73 63 72 |_check, |save_scr|
|000042a0| 65 65 6e 2c 20 72 65 73 | 74 6f 72 65 5f 73 63 72 |een, res|tore_scr|
|000042b0| 65 65 6e 2c 0a 58 09 65 | 74 63 2e 2e 2e 0a 58 63 |een,.X.e|tc....Xc|
|000042c0| 6f 6e 73 74 61 6e 74 2e | 68 3a 20 61 64 64 20 64 |onstant.|h: add d|
|000042d0| 65 66 73 20 66 6f 72 20 | 53 54 41 54 49 43 2c 20 |efs for |STATIC, |
|000042e0| 45 53 43 41 50 45 2c 20 | 73 74 61 74 73 2c 20 69 |ESCAPE, |stats, i|
|000042f0| 6e 63 72 65 61 73 65 20 | 74 72 65 61 73 75 72 65 |ncrease |treasure|
|00004300| 20 69 6e 0a 58 09 73 74 | 72 65 61 6d 65 72 73 2c | in.X.st|reamers,|
|00004310| 20 63 68 61 6e 67 65 20 | 73 74 6f 72 65 20 6d 69 | change |store mi|
|00004320| 6e 20 61 6e 64 20 74 75 | 72 6e 61 72 6f 75 6e 64 |n and tu|rnaround|
|00004330| 20 61 6d 6f 75 6e 74 2c | 20 4d 41 58 5f 4d 4f 4e | amount,| MAX_MON|
|00004340| 5f 4e 41 54 54 41 43 4b | 2c 0a 58 09 4d 41 58 5f |_NATTACK|,.X.MAX_|
|00004350| 45 58 50 0a 58 77 61 6e | 64 73 2e 63 3a 20 69 6e |EXP.Xwan|ds.c: in|
|00004360| 73 63 72 69 62 65 20 77 | 61 6e 64 20 69 66 20 65 |scribe w|and if e|
|00004370| 6d 70 74 79 2c 20 72 65 | 64 75 63 65 20 69 6e 64 |mpty, re|duce ind|
|00004380| 65 6e 74 61 74 69 6f 6e | 2c 20 65 74 63 2e 2e 2e |entation|, etc...|
|00004390| 0a 58 73 74 61 66 66 73 | 2e 63 3a 20 69 6e 73 63 |.Xstaffs|.c: insc|
|000043a0| 72 69 62 65 20 73 74 61 | 66 66 20 69 66 20 65 6d |ribe sta|ff if em|
|000043b0| 70 74 79 2c 20 72 65 64 | 75 63 65 20 69 6e 64 65 |pty, red|uce inde|
|000043c0| 6e 74 61 74 69 6f 6e 2c | 20 65 74 63 2e 2e 2e 0a |ntation,| etc....|
|000043d0| 58 73 70 65 6c 6c 73 2e | 63 3a 20 69 64 65 6e 74 |Xspells.|c: ident|
|000043e0| 69 66 79 2d 20 75 70 64 | 61 74 65 20 73 74 61 74 |ify- upd|ate stat|
|000043f0| 73 20 69 66 20 61 66 66 | 65 63 74 65 64 2c 20 61 |s if aff|ected, a|
|00004400| 6c 6c 6f 77 20 69 64 65 | 6e 74 20 6f 66 20 65 71 |llow ide|nt of eq|
|00004410| 75 69 70 20 69 74 65 6d | 73 3b 0a 58 09 62 65 74 |uip item|s;.X.bet|
|00004420| 74 65 72 20 6c 69 67 68 | 74 5f 6c 69 6e 65 20 6d |ter ligh|t_line m|
|00004430| 65 73 73 61 67 65 73 3b | 20 77 68 65 6e 20 73 65 |essages;| when se|
|00004440| 74 20 70 6c 20 66 61 6c | 73 65 2c 20 6d 75 73 74 |t pl fal|se, must|
|00004450| 20 73 65 74 20 66 6d 20 | 66 61 6c 73 65 20 61 6c | set fm |false al|
|00004460| 73 6f 3b 0a 58 09 6d 69 | 73 63 2c 20 65 74 63 2e |so;.X.mi|sc, etc.|
|00004470| 2e 2e 0a 58 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |...X----|--------|
|00004480| 2d 2d 2d 2d 2d 2d 2d 20 | 38 2f 32 39 0a 58 6d 6f |------- |8/29.Xmo|
|00004490| 72 69 61 31 2e 63 3a 20 | 6e 65 77 20 66 75 6e 63 |ria1.c: |new func|
|000044a0| 74 69 6f 6e 20 65 6e 63 | 68 61 6e 74 65 64 28 29 |tion enc|hanted()|
|000044b0| 2c 20 70 61 72 74 20 6f | 66 20 70 79 5f 62 6f 6e |, part o|f py_bon|
|000044c0| 75 73 65 73 20 73 70 6c | 69 74 20 69 6e 74 6f 20 |uses spl|it into |
|000044d0| 63 61 6c 63 5f 62 6f 6e | 75 73 65 73 2c 0a 58 09 |calc_bon|uses,.X.|
|000044e0| 63 75 72 5f 63 68 61 72 | 31 2f 32 20 64 65 6c 65 |cur_char|1/2 dele|
|000044f0| 74 65 64 2c 20 63 6f 6d | 70 6c 65 74 65 20 72 65 |ted, com|plete re|
|00004500| 77 72 69 74 65 20 6f 66 | 20 69 6e 76 65 6e 5f 63 |write of| inven_c|
|00004510| 6f 6d 6d 61 6e 64 20 72 | 6f 75 74 69 6e 65 73 2c |ommand r|outines,|
|00004520| 20 6e 65 77 0a 58 09 66 | 75 6e 63 74 69 6f 6e 73 | new.X.f|unctions|
|00004530| 20 63 68 65 63 6b 5f 77 | 65 69 67 68 74 2f 76 65 | check_w|eight/ve|
|00004540| 72 69 66 79 2c 20 63 61 | 6e 20 64 69 73 70 6c 61 |rify, ca|n displa|
|00004550| 79 20 77 65 69 67 68 74 | 73 2c 20 67 65 74 5f 69 |y weight|s, get_i|
|00004560| 74 65 6d 20 63 61 6e 20 | 73 68 6f 77 0a 58 09 65 |tem can |show.X.e|
|00004570| 69 74 68 65 72 20 69 6e | 76 65 6e 20 6f 72 20 65 |ither in|ven or e|
|00004580| 71 75 69 70 2c 20 6f 70 | 74 69 6f 6e 73 20 61 64 |quip, op|tions ad|
|00004590| 64 65 64 2c 20 72 75 6e | 20 63 6f 64 65 20 63 6f |ded, run| code co|
|000045a0| 6d 70 6c 65 74 65 6c 79 | 20 72 65 77 72 69 74 74 |mpletely| rewritt|
|000045b0| 65 6e 2c 0a 58 09 6d 69 | 73 63 2c 20 65 74 63 2e |en,.X.mi|sc, etc.|
|000045c0| 2e 2e 0a 58 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |...X----|--------|
|000045d0| 2d 2d 2d 20 38 2f 33 30 | 0a 58 73 74 6f 72 65 31 |--- 8/30|.Xstore1|
|000045e0| 2e 63 3a 20 69 74 65 6d | 5f 76 61 6c 75 65 20 68 |.c: item|_value h|
|000045f0| 61 73 20 2a 69 74 65 6d | 2d 3e 6e 75 6d 62 65 72 |as *item|->number|
|00004600| 20 72 65 6d 6f 76 65 64 | 2c 20 6d 61 6e 79 20 72 | removed|, many r|
|00004610| 6f 75 74 69 6e 65 73 20 | 63 68 61 6e 67 65 64 20 |outines |changed |
|00004620| 74 6f 20 70 61 73 73 0a | 58 09 69 74 65 6d 20 70 |to pass.|X.item p|
|00004630| 6f 69 6e 74 65 72 2c 20 | 69 64 65 6e 74 69 66 79 |ointer, |identify|
|00004640| 20 72 65 6d 6f 76 65 64 | 20 66 72 6f 6d 20 73 74 | removed| from st|
|00004650| 6f 72 65 5f 63 61 72 72 | 79 2c 20 6b 6e 6f 77 6e |ore_carr|y, known|
|00004660| 31 2f 32 20 70 75 74 20 | 69 6e 0a 58 09 73 74 6f |1/2 put |in.X.sto|
|00004670| 72 65 5f 63 72 65 61 74 | 65 2c 20 73 74 6f 72 65 |re_creat|e, store|
|00004680| 5f 6d 61 69 6e 74 20 61 | 6c 67 20 63 68 61 6e 67 |_maint a|lg chang|
|00004690| 65 64 2c 20 65 74 63 2e | 2e 2e 0a 58 73 74 6f 72 |ed, etc.|...Xstor|
|000046a0| 65 32 2e 63 3a 20 63 6c | 65 61 6e 20 75 70 20 68 |e2.c: cl|ean up h|
|000046b0| 61 6e 64 6c 69 6e 67 20 | 6f 66 20 6d 73 67 5f 66 |andling |of msg_f|
|000046c0| 6c 61 67 2c 20 69 6e 63 | 72 65 6d 65 6e 74 61 6c |lag, inc|remental|
|000046d0| 20 68 61 67 67 6c 69 6e | 67 20 69 6e 20 67 65 74 | hagglin|g in get|
|000046e0| 5f 68 61 67 67 6c 65 28 | 29 2c 0a 58 09 64 69 73 |_haggle(|),.X.dis|
|000046f0| 70 6c 61 79 5f 63 6f 6d | 6d 61 6e 64 20 6d 6f 76 |play_com|mand mov|
|00004700| 65 64 20 66 72 6f 6d 20 | 70 75 72 63 68 61 73 65 |ed from |purchase|
|00004710| 2f 73 65 6c 6c 5f 68 61 | 67 67 6c 65 20 74 6f 20 |/sell_ha|ggle to |
|00004720| 73 74 6f 72 65 5f 70 75 | 72 63 68 61 73 65 2f 73 |store_pu|rchase/s|
|00004730| 65 6c 6c 2c 0a 58 09 65 | 6e 74 65 72 5f 73 74 6f |ell,.X.e|nter_sto|
|00004740| 72 65 20 63 6f 64 65 20 | 63 6c 65 61 6e 65 64 20 |re code |cleaned |
|00004750| 75 70 2c 20 65 74 63 2e | 2e 2e 0a 58 63 6f 6e 66 |up, etc.|...Xconf|
|00004760| 69 67 2e 68 3a 20 6d 69 | 73 63 2e 2e 2e 0a 58 65 |ig.h: mi|sc....Xe|
|00004770| 78 74 65 72 6e 73 2e 68 | 3a 20 61 64 64 20 6e 65 |xterns.h|: add ne|
|00004780| 77 20 76 61 72 69 61 62 | 6c 65 73 2c 20 64 65 6c |w variab|les, del|
|00004790| 65 74 65 20 6f 6c 64 20 | 76 61 72 69 61 62 6c 65 |ete old |variable|
|000047a0| 73 2c 20 72 65 61 72 72 | 61 6e 67 65 20 73 74 75 |s, rearr|ange stu|
|000047b0| 66 66 2c 20 65 74 63 2e | 2e 2e 0a 58 74 79 70 65 |ff, etc.|...Xtype|
|000047c0| 73 2e 68 3a 20 61 64 64 | 65 64 20 6c 6f 67 67 69 |s.h: add|ed loggi|
|000047d0| 6e 67 20 73 74 72 75 63 | 74 75 72 65 20 61 6e 64 |ng struc|ture and|
|000047e0| 20 72 65 63 61 6c 6c 20 | 73 74 72 75 63 74 75 72 | recall |structur|
|000047f0| 65 2c 20 65 74 63 2e 2e | 2e 0a 58 76 61 72 69 61 |e, etc..|..Xvaria|
|00004800| 62 6c 65 73 2e 63 3a 20 | 61 64 64 20 6e 65 77 20 |bles.c: |add new |
|00004810| 76 61 72 69 61 62 6c 65 | 73 2c 20 64 65 6c 65 74 |variable|s, delet|
|00004820| 65 20 6f 6c 64 20 76 61 | 72 69 61 62 6c 65 73 2c |e old va|riables,|
|00004830| 20 72 65 61 72 72 61 6e | 67 65 20 73 74 75 66 66 | rearran|ge stuff|
|00004840| 2c 0a 58 09 72 65 6d 6f | 76 65 20 6c 65 61 72 6e |,.X.remo|ve learn|
|00004850| 20 66 72 6f 6d 20 73 70 | 65 6c 6c 20 73 74 72 75 | from sp|ell stru|
|00004860| 63 74 75 72 65 2c 20 63 | 68 61 6e 67 65 20 74 69 |cture, c|hange ti|
|00004870| 74 6c 65 73 20 73 6f 20 | 6e 6f 6e 65 20 73 68 61 |tles so |none sha|
|00004880| 72 65 64 0a 58 09 62 65 | 74 77 65 65 6e 20 63 6c |red.X.be|tween cl|
|00004890| 61 73 73 65 73 2c 20 65 | 74 63 2e 2e 2e 0a 58 2d |asses, e|tc....X-|
|000048a0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 20 38 2f |--------|----- 8/|
|000048b0| 33 31 0a 58 6d 6f 72 69 | 61 32 2e 63 3a 20 77 65 |31.Xmori|a2.c: we|
|000048c0| 69 67 68 74 20 62 75 67 | 20 66 69 78 65 64 2c 20 |ight bug| fixed, |
|000048d0| 70 79 5f 61 74 74 61 63 | 6b 20 64 69 64 20 6e 6f |py_attac|k did no|
|000048e0| 74 20 64 65 63 72 65 6d | 65 6e 74 20 69 6e 76 65 |t decrem|ent inve|
|000048f0| 6e 5f 77 65 69 67 68 74 | 20 77 68 65 6e 0a 58 09 |n_weight| when.X.|
|00004900| 69 6e 76 65 6e 5f 77 69 | 65 6c 64 20 77 61 73 20 |inven_wi|eld was |
|00004910| 61 20 6d 69 73 73 69 6c | 65 2c 20 61 6e 64 20 74 |a missil|e, and t|
|00004920| 68 65 20 70 6c 61 79 65 | 72 20 77 61 73 20 63 61 |he playe|r was ca|
|00004930| 72 72 79 69 6e 67 20 6d | 6f 72 65 20 74 68 61 6e |rrying m|ore than|
|00004940| 20 6f 6e 65 0a 58 09 6f | 66 20 74 68 65 6d 0a 58 | one.X.o|f them.X|
|00004950| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 20 39 |--------|------ 9|
|00004960| 2f 31 0a 58 6d 6f 72 69 | 61 32 2e 63 3a 20 63 61 |/1.Xmori|a2.c: ca|
|00004970| 72 72 79 20 68 61 73 20 | 70 69 63 6b 75 70 20 6f |rry has |pickup o|
|00004980| 70 74 69 6f 6e 2c 20 6e | 65 77 20 66 75 6e 63 74 |ption, n|ew funct|
|00004990| 69 6f 6e 73 20 66 6f 72 | 20 69 6e 73 63 72 69 62 |ions for| inscrib|
|000049a0| 69 6e 67 20 6f 62 6a 65 | 63 74 73 2c 0a 58 09 73 |ing obje|cts,.X.s|
|000049b0| 75 6d 6d 6f 6e 5f 6f 62 | 6a 65 63 74 73 20 72 65 |ummon_ob|jects re|
|000049c0| 74 75 72 6e 73 20 74 79 | 70 65 2f 6e 75 6d 62 65 |turns ty|pe/numbe|
|000049d0| 72 20 6f 66 20 6f 62 6a | 65 63 74 73 20 63 72 65 |r of obj|ects cre|
|000049e0| 61 74 65 64 2c 20 64 69 | 74 74 6f 0a 58 09 6d 6f |ated, di|tto.X.mo|
|000049f0| 6e 73 74 65 72 20 64 65 | 61 74 68 2c 20 6e 65 77 |nster de|ath, new|
|00004a00| 20 66 75 6e 63 74 69 6f | 6e 20 63 68 65 63 6b 5f | functio|n check_|
|00004a10| 76 69 65 77 2c 20 61 64 | 64 20 74 6f 64 61 6d 20 |view, ad|d todam |
|00004a20| 66 6f 72 20 75 73 69 6e | 67 20 62 6f 77 2f 61 72 |for usin|g bow/ar|
|00004a30| 72 6f 77 2c 0a 58 09 62 | 61 73 68 69 6e 67 20 63 |row,.X.b|ashing c|
|00004a40| 68 61 6e 67 65 73 2c 20 | 6e 65 77 20 73 75 62 20 |hanges, |new sub |
|00004a50| 70 79 5f 62 61 73 68 20 | 65 78 74 72 61 63 74 65 |py_bash |extracte|
|00004a60| 64 20 66 72 6f 6d 20 6f | 6c 64 20 62 61 73 68 20 |d from o|ld bash |
|00004a70| 63 6f 64 65 2c 0a 58 09 | 6a 61 6d 64 6f 6f 72 20 |code,.X.|jamdoor |
|00004a80| 70 31 20 76 61 6c 75 65 | 73 20 63 68 61 6e 67 65 |p1 value|s change|
|00004a90| 64 20 73 75 63 63 65 73 | 73 69 76 65 20 73 70 69 |d succes|sive spi|
|00004aa0| 6b 65 73 20 68 61 76 65 | 20 73 6d 61 6c 6c 65 72 |kes have| smaller|
|00004ab0| 20 65 66 66 65 63 74 2c | 0a 58 09 65 74 63 2e 2e | effect,|.X.etc..|
|00004ac0| 2e 0a 58 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |..X-----|--------|
|00004ad0| 20 39 2f 32 0a 58 6d 61 | 69 6e 2e 63 3a 20 61 64 | 9/2.Xma|in.c: ad|
|00004ae0| 64 20 62 72 75 63 65 20 | 6d 6f 72 69 61 20 63 6f |d bruce |moria co|
|00004af0| 6d 6d 65 6e 74 2c 20 6e | 65 77 20 6f 70 74 69 6f |mment, n|ew optio|
|00004b00| 6e 73 2c 20 72 65 61 64 | 20 65 6e 76 69 72 6f 6e |ns, read| environ|
|00004b10| 6d 65 6e 74 20 76 61 72 | 69 61 62 6c 65 73 2c 20 |ment var|iables, |
|00004b20| 65 74 63 2e 0a 58 77 69 | 7a 61 72 64 2e 63 3a 20 |etc..Xwi|zard.c: |
|00004b30| 77 69 7a 61 72 64 20 63 | 61 6e 20 63 68 61 6e 67 |wizard c|an chang|
|00004b40| 65 20 77 65 69 67 68 74 | 20 61 6e 64 20 73 70 65 |e weight| and spe|
|00004b50| 65 64 20 6f 66 20 63 68 | 61 72 61 63 74 65 72 2c |ed of ch|aracter,|
|00004b60| 20 65 74 63 2e 2e 2e 0a | 58 75 6e 69 78 2e 63 3a | etc....|Xunix.c:|
|00004b70| 20 6e 65 77 20 66 69 6c | 65 2c 20 63 6f 6e 74 61 | new fil|e, conta|
|00004b80| 69 6e 73 20 55 4e 49 58 | 20 73 70 65 63 69 66 69 |ins UNIX| specifi|
|00004b90| 63 20 63 6f 64 65 20 66 | 6f 72 20 75 73 65 72 5f |c code f|or user_|
|00004ba0| 6e 61 6d 65 2c 20 63 68 | 65 63 6b 5f 69 6e 70 75 |name, ch|eck_inpu|
|00004bb0| 74 2c 20 61 6e 64 0a 58 | 09 73 79 73 74 65 6d 28 |t, and.X|.system(|
|00004bc0| 29 0a 58 73 69 67 6e 61 | 6c 73 2e 63 3a 20 63 6f |).Xsigna|ls.c: co|
|00004bd0| 6d 70 6c 65 74 65 6c 79 | 20 72 65 77 72 69 74 74 |mpletely| rewritt|
|00004be0| 65 6e 20 74 6f 20 62 65 | 20 6d 75 63 68 20 6e 69 |en to be| much ni|
|00004bf0| 63 65 72 2c 20 73 61 6d | 65 20 66 75 6e 63 74 69 |cer, sam|e functi|
|00004c00| 6f 6e 61 6c 69 74 79 0a | 58 72 65 63 61 6c 6c 2e |onality.|Xrecall.|
|00004c10| 63 3a 20 6e 65 77 20 66 | 69 6c 65 2c 20 66 6f 72 |c: new f|ile, for|
|00004c20| 20 70 72 69 6e 74 69 6e | 67 20 6f 75 74 20 6d 6f | printin|g out mo|
|00004c30| 6e 73 74 65 72 20 6d 65 | 6d 6f 72 79 20 69 6e 66 |nster me|mory inf|
|00004c40| 6f 0a 58 73 61 76 65 2e | 63 3a 20 63 6f 6d 70 6c |o.Xsave.|c: compl|
|00004c50| 65 74 65 6c 79 20 72 65 | 77 72 69 74 74 65 6e 2c |etely re|written,|
|00004c60| 20 73 61 6d 65 20 66 75 | 6e 63 74 69 6f 6e 61 6c | same fu|nctional|
|00004c70| 69 74 79 2c 20 49 20 74 | 68 69 6e 6b 0a 58 2d 2d |ity, I t|hink.X--|
|00004c80| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 20 39 2f 37 0a |--------|--- 9/7.|
|00004c90| 58 6c 69 6e 74 20 6f 6e | 20 6d 69 70 73 20 6d 61 |Xlint on| mips ma|
|00004ca0| 63 68 69 6e 65 0a 58 2d | 2d 2d 2d 2d 2d 2d 2d 2d |chine.X-|--------|
|00004cb0| 2d 2d 2d 2d 20 39 2f 38 | 0a 58 6c 69 6e 74 20 6f |---- 9/8|.Xlint o|
|00004cc0| 6e 20 41 49 58 20 28 53 | 59 53 20 56 29 0a 58 2d |n AIX (S|YS V).X-|
|00004cd0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 20 39 2f 39 |--------|---- 9/9|
|00004ce0| 0a 58 6c 69 6e 74 20 6f | 6e 20 75 6c 74 72 69 78 |.Xlint o|n ultrix|
|00004cf0| 0a 58 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 20 |.X------|------- |
|00004d00| 39 2f 31 31 0a 58 66 69 | 78 20 61 6e 6f 6e 79 6d |9/11.Xfi|x anonym|
|00004d10| 6f 75 73 20 65 72 72 6f | 72 73 20 69 6e 20 6f 72 |ous erro|rs in or|
|00004d20| 64 65 72 20 74 6f 20 67 | 65 74 20 74 68 65 20 70 |der to g|et the p|
|00004d30| 72 6f 67 72 61 6d 20 74 | 6f 20 63 6f 6d 70 69 6c |rogram t|o compil|
|00004d40| 65 2e 2e 2e 0a 58 69 6f | 2e 63 2c 20 6d 73 5f 6d |e....Xio|.c, ms_m|
|00004d50| 69 73 63 2e 63 3a 20 70 | 75 74 20 73 63 72 65 65 |isc.c: p|ut scree|
|00004d60| 6e 5f 6d 61 70 20 69 6e | 20 69 6f 2e 63 2c 20 61 |n_map in| io.c, a|
|00004d70| 6e 64 20 6d 61 64 65 20 | 69 74 20 61 20 64 65 66 |nd made |it a def|
|00004d80| 61 75 6c 74 20 66 65 61 | 74 75 72 65 0a 58 73 69 |ault fea|ture.Xsi|
|00004d90| 67 6e 61 6c 73 2e 63 2c | 20 6d 61 69 6e 2e 63 2c |gnals.c,| main.c,|
|00004da0| 20 69 6f 2e 63 3a 20 6f | 6e 20 45 4f 46 2c 20 74 | io.c: o|n EOF, t|
|00004db0| 68 65 20 70 72 6f 67 72 | 61 6d 20 6e 6f 77 20 72 |he progr|am now r|
|00004dc0| 65 74 75 72 6e 73 20 45 | 53 43 41 50 45 20 63 68 |eturns E|SCAPE ch|
|00004dd0| 61 72 20 75 6e 74 69 6c | 0a 58 09 65 78 69 74 73 |ar until|.X.exits|
|00004de0| 20 64 75 6e 67 65 6f 6e | 28 29 2c 20 74 68 65 6e | dungeon|(), then|
|00004df0| 20 73 61 76 65 73 20 77 | 69 74 68 20 6e 6f 20 70 | saves w|ith no p|
|00004e00| 65 6e 61 6c 74 79 0a 58 | 2d 2d 2d 2d 2d 2d 2d 2d |enalty.X|--------|
|00004e10| 2d 2d 2d 2d 20 39 2f 31 | 32 0a 58 65 78 74 65 72 |---- 9/1|2.Xexter|
|00004e20| 6e 73 2e 68 2c 20 64 65 | 73 63 2e 63 2c 20 76 61 |ns.h, de|sc.c, va|
|00004e30| 72 69 61 62 6c 65 73 2e | 63 2c 20 74 79 70 65 73 |riables.|c, types|
|00004e40| 2e 68 3a 20 6d 75 73 68 | 72 6f 6f 6d 73 2f 63 6f |.h: mush|rooms/co|
|00004e50| 6c 6f 72 73 2f 72 6f 63 | 6b 73 2f 65 74 63 20 63 |lors/roc|ks/etc c|
|00004e60| 68 61 6e 67 65 64 20 74 | 6f 0a 58 09 63 68 61 72 |hanged t|o.X.char|
|00004e70| 20 70 6f 69 6e 74 65 72 | 73 20 69 6e 73 74 65 61 | pointer|s instea|
|00004e80| 64 20 6f 66 20 63 68 61 | 72 20 61 72 72 61 79 73 |d of cha|r arrays|
|00004e90| 2c 20 73 61 76 65 73 20 | 73 70 61 63 65 2c 20 6d |, saves |space, m|
|00004ea0| 61 6b 65 20 72 61 6e 64 | 6f 6d 20 69 6e 69 74 0a |ake rand|om init.|
|00004eb0| 58 09 66 61 73 74 65 72 | 2c 20 63 68 61 6e 67 65 |X.faster|, change|
|00004ec0| 20 70 6c 61 79 65 72 20 | 74 69 74 6c 65 20 74 6f | player |title to|
|00004ed0| 20 63 68 61 72 20 70 6f | 69 6e 74 65 72 73 20 61 | char po|inters a|
|00004ee0| 6c 73 6f 0a 58 6d 6f 72 | 69 61 31 2e 63 2c 20 70 |lso.Xmor|ia1.c, p|
|00004ef0| 6f 74 69 6f 6e 73 2e 63 | 2c 20 6d 69 73 63 32 2e |otions.c|, misc2.|
|00004f00| 63 2c 20 65 61 74 2e 63 | 2c 20 64 75 6e 67 65 6f |c, eat.c|, dungeo|
|00004f10| 6e 2e 63 2c 20 63 72 65 | 61 74 75 72 65 2e 63 3a |n.c, cre|ature.c:|
|00004f20| 20 63 6c 65 61 6e 75 70 | 20 68 61 6e 64 6c 69 6e | cleanup| handlin|
|00004f30| 67 0a 58 09 6f 66 20 63 | 68 70 20 61 6e 64 20 63 |g.X.of c|hp and c|
|00004f40| 6d 61 6e 61 2c 20 63 61 | 6c 6c 20 70 72 74 5f 63 |mana, ca|ll prt_c|
|00004f50| 2a 20 6f 6e 6c 79 20 6f | 6e 63 65 20 65 76 65 72 |* only o|nce ever|
|00004f60| 79 20 74 69 6d 65 20 74 | 68 65 79 20 63 68 61 6e |y time t|hey chan|
|00004f70| 67 65 0a 58 64 75 6e 67 | 65 6f 6e 2e 63 3a 20 73 |ge.Xdung|eon.c: s|
|00004f80| 65 74 20 70 6f 69 6e 74 | 65 72 73 20 6f 6e 6c 79 |et point|ers only|
|00004f90| 20 6f 6e 63 65 20 61 74 | 20 73 74 61 72 74 20 6f | once at| start o|
|00004fa0| 66 20 70 72 6f 63 65 64 | 75 72 65 0a 58 65 61 74 |f proced|ure.Xeat|
|00004fb0| 2e 63 3a 20 72 65 64 75 | 63 65 20 69 6e 64 65 6e |.c: redu|ce inden|
|00004fc0| 74 61 74 69 6f 6e 0a 58 | 69 6f 2e 63 2c 20 64 75 |tation.X|io.c, du|
|00004fd0| 6e 67 65 6f 6e 2e 63 3a | 20 72 65 6d 6f 76 65 20 |ngeon.c:| remove |
|00004fe0| 6d 73 67 5f 66 6c 61 67 | 20 3d 20 46 41 4c 53 45 |msg_flag| = FALSE|
|00004ff0| 20 6c 69 6e 65 20 66 72 | 6f 6d 20 69 6e 6b 65 79 | line fr|om inkey|
|00005000| 20 61 6e 64 20 70 75 74 | 20 69 74 20 69 6e 0a 58 | and put| it in.X|
|00005010| 09 64 75 6e 67 65 6f 6e | 2e 63 20 77 68 65 72 65 |.dungeon|.c where|
|00005020| 20 67 65 74 20 63 6f 6d | 6d 61 6e 64 0a 58 2d 2d | get com|mand.X--|
|00005030| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 20 39 2f 31 34 0a |--------|-- 9/14.|
|00005040| 58 63 72 65 61 74 75 72 | 65 2e 63 3a 20 63 68 61 |Xcreatur|e.c: cha|
|00005050| 6e 67 65 20 70 75 74 5f | 71 69 6f 20 63 61 6c 6c |nge put_|qio call|
|00005060| 73 20 74 6f 20 6a 75 73 | 74 20 73 65 74 74 69 6e |s to jus|t settin|
|00005070| 67 20 73 63 72 65 65 6e | 5f 63 68 61 6e 67 65 20 |g screen|_change |
|00005080| 74 6f 20 74 72 75 65 0a | 58 64 75 6e 67 65 6f 6e |to true.|Xdungeon|
|00005090| 2e 63 3a 20 72 65 6d 6f | 76 65 20 73 75 70 65 72 |.c: remo|ve super|
|000050a0| 66 6c 75 6f 75 73 20 65 | 72 61 73 65 5f 6c 69 6e |fluous e|rase_lin|
|000050b0| 65 20 61 6e 64 20 70 75 | 74 5f 71 69 6f 20 63 61 |e and pu|t_qio ca|
|000050c0| 6c 6c 73 0a 58 6d 61 6e | 79 3a 20 6d 61 6b 65 20 |lls.Xman|y: make |
|000050d0| 63 68 61 72 61 63 74 65 | 72 20 6e 75 6d 62 65 72 |characte|r number|
|000050e0| 73 20 6d 6f 72 65 20 63 | 6c 65 61 72 2c 20 27 61 |s more c|lear, 'a|
|000050f0| 27 20 66 6f 72 20 39 37 | 2c 20 44 45 4c 45 54 45 |' for 97|, DELETE|
|00005100| 20 66 6f 72 20 31 32 37 | 2c 20 65 74 63 2e 2e 2e | for 127|, etc...|
|00005110| 0a 58 64 65 73 63 2e 63 | 3a 20 6f 62 6a 64 65 73 |.Xdesc.c|: objdes|
|00005120| 28 29 20 62 75 67 20 77 | 69 74 68 20 69 6e 73 5f |() bug w|ith ins_|
|00005130| 62 75 66 20 68 61 6e 64 | 6c 69 6e 67 2c 20 6e 6f |buf hand|ling, no|
|00005140| 77 20 63 6c 65 61 72 20 | 69 6e 73 5f 62 75 66 20 |w clear |ins_buf |
|00005150| 69 66 20 6e 6f 6e 65 0a | 58 6d 61 6e 79 2c 20 6d |if none.|Xmany, m|
|00005160| 6f 72 69 61 31 2e 63 3a | 20 6d 61 64 65 20 22 57 |oria1.c:| made "W|
|00005170| 68 69 63 68 20 64 69 72 | 3f 22 20 64 65 66 61 75 |hich dir|?" defau|
|00005180| 6c 74 20 66 6f 72 20 67 | 65 74 5f 64 69 72 28 29 |lt for g|et_dir()|
|00005190| 0a 58 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |.X------|--------|
|000051a0| 20 39 2f 31 35 0a 58 6d | 69 73 63 31 2e 63 2c 20 | 9/15.Xm|isc1.c, |
|000051b0| 6d 6f 6e 73 74 65 72 73 | 2e 63 2c 20 74 72 65 61 |monsters|.c, trea|
|000051c0| 73 75 72 5b 31 32 5d 2e | 63 2c 20 6d 61 6e 79 20 |sur[12].|c, many |
|000051d0| 6f 74 68 65 72 73 3a 20 | 63 68 61 6e 67 65 64 20 |others: |changed |
|000051e0| 61 6c 6c 20 68 69 74 20 | 70 6f 6e 74 73 20 66 72 |all hit |ponts fr|
|000051f0| 6f 6d 0a 58 09 73 74 72 | 69 6e 67 73 20 74 6f 20 |om.X.str|ings to |
|00005200| 61 20 63 68 61 72 20 61 | 72 72 61 79 20 6f 66 20 |a char a|rray of |
|00005210| 73 69 7a 65 20 74 77 6f | 2c 20 63 68 61 6e 67 65 |size two|, change|
|00005220| 64 20 64 61 6d 72 6f 6c | 6c 20 74 6f 20 74 61 6b |d damrol|l to tak|
|00005230| 65 20 74 77 6f 0a 58 09 | 63 68 61 72 61 63 74 65 |e two.X.|characte|
|00005240| 72 73 20 69 6e 73 74 65 | 61 64 20 6f 66 20 61 20 |rs inste|ad of a |
|00005250| 73 74 72 69 6e 67 2c 20 | 74 68 69 73 20 65 6c 69 |string, |this eli|
|00005260| 6d 69 6e 61 74 65 73 20 | 6d 6f 73 74 20 61 6c 6c |minates |most all|
|00005270| 20 73 63 61 6e 66 20 63 | 61 6c 6c 73 0a 58 2d 2d | scanf c|alls.X--|
|00005280| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 20 39 2f 31 |--------|---- 9/1|
|00005290| 38 0a 58 6d 6f 6e 73 74 | 65 72 73 2e 63 2c 20 63 |8.Xmonst|ers.c, c|
|000052a0| 72 65 61 74 75 72 65 2e | 63 2c 20 74 79 70 65 73 |reature.|c, types|
|000052b0| 2e 68 3a 20 72 65 70 6c | 61 63 65 64 20 73 74 72 |.h: repl|aced str|
|000052c0| 69 6e 67 73 20 63 6f 6e | 74 61 69 6e 69 6e 67 20 |ings con|taining |
|000052d0| 6d 6f 6e 73 74 65 72 20 | 61 74 74 61 63 6b 73 0a |monster |attacks.|
|000052e0| 58 09 77 69 74 68 20 34 | 20 62 79 74 65 20 61 72 |X.with 4| byte ar|
|000052f0| 72 61 79 20 63 6f 6e 74 | 61 69 6e 69 6e 67 20 69 |ray cont|aining i|
|00005300| 6e 64 65 78 20 69 6e 74 | 6f 20 61 20 6d 6f 6e 73 |ndex int|o a mons|
|00005310| 74 65 72 20 61 74 74 61 | 63 6b 20 74 61 62 6c 65 |ter atta|ck table|
|00005320| 2c 0a 58 09 74 68 69 73 | 20 65 6c 69 6d 69 6e 61 |,.X.this| elimina|
|00005330| 74 65 73 20 74 68 65 20 | 72 65 73 74 20 6f 66 20 |tes the |rest of |
|00005340| 74 68 65 20 73 63 61 6e | 66 20 63 61 6c 6c 73 2c |the scan|f calls,|
|00005350| 20 61 6e 64 20 73 61 76 | 65 73 20 73 70 61 63 65 | and sav|es space|
|00005360| 0a 58 63 72 65 61 74 75 | 72 65 2e 63 3a 20 6d 61 |.Xcreatu|re.c: ma|
|00005370| 6e 79 20 64 75 70 6c 69 | 63 61 74 65 20 64 61 6d |ny dupli|cate dam|
|00005380| 72 6f 6c 6c 20 63 61 6c | 6c 73 20 69 6e 20 6d 61 |roll cal|ls in ma|
|00005390| 6b 65 5f 61 74 74 61 63 | 6b 20 63 6f 6c 6c 61 70 |ke_attac|k collap|
|000053a0| 73 65 64 20 69 6e 74 6f | 0a 58 09 61 20 73 69 6e |sed into|.X.a sin|
|000053b0| 67 6c 65 20 64 61 6d 72 | 6f 6c 6c 20 63 61 6c 6c |gle damr|oll call|
|000053c0| 0a 58 6d 6f 72 69 61 32 | 2e 63 3a 20 69 6e 20 63 |.Xmoria2|.c: in c|
|000053d0| 68 65 73 74 5f 74 72 61 | 70 28 29 2c 20 6d 6f 76 |hest_tra|p(), mov|
|000053e0| 65 64 20 65 78 70 6c 6f | 64 69 6e 67 20 63 68 65 |ed explo|ding che|
|000053f0| 73 74 20 74 72 61 70 20 | 74 6f 20 65 6e 64 20 74 |st trap |to end t|
|00005400| 6f 20 61 76 6f 69 64 0a | 58 09 64 61 6e 67 6c 69 |o avoid.|X.dangli|
|00005410| 6e 67 20 70 6f 69 6e 74 | 65 72 20 70 72 6f 62 6c |ng point|er probl|
|00005420| 65 6d 3b 20 69 6e 20 74 | 77 61 6c 6c 2c 20 6f 6e |em; in t|wall, on|
|00005430| 6c 79 20 6c 69 67 68 74 | 20 73 70 6f 74 20 69 66 |ly light| spot if|
|00005440| 20 63 5f 70 74 72 2d 3e | 74 6c 0a 58 09 69 73 20 | c_ptr->|tl.X.is |
|00005450| 74 72 75 65 3b 0a 58 77 | 69 7a 61 72 64 2e 63 2c |true;.Xw|izard.c,|
|00005460| 20 72 65 63 61 6c 6c 2e | 63 2c 20 64 65 73 63 2e | recall.|c, desc.|
|00005470| 63 2c 20 66 69 6c 65 73 | 2e 63 3a 20 63 68 61 6e |c, files|.c: chan|
|00005480| 67 65 73 20 74 6f 20 66 | 69 78 20 68 61 6e 64 6c |ges to f|ix handl|
|00005490| 69 6e 67 20 6f 66 20 6e | 65 77 20 64 61 6d 61 67 |ing of n|ew damag|
|000054a0| 65 0a 58 09 74 79 70 65 | 73 20 66 6f 72 20 6d 6f |e.X.type|s for mo|
|000054b0| 6e 73 74 65 72 73 20 61 | 6e 64 20 77 65 61 70 6f |nsters a|nd weapo|
|000054c0| 6e 73 0a 58 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |ns.X----|--------|
|000054d0| 2d 2d 2d 2d 20 39 2f 31 | 39 0a 58 6d 61 6e 79 20 |---- 9/1|9.Xmany |
|000054e0| 66 69 6c 65 73 3a 20 65 | 6c 69 6d 69 6e 61 74 65 |files: e|liminate|
|000054f0| 64 20 72 65 64 75 6e 64 | 61 6e 74 20 74 72 61 70 |d redund|ant trap|
|00005500| 5f 6c 69 73 74 61 2c 20 | 66 69 78 65 64 20 70 6c |_lista, |fixed pl|
|00005510| 61 63 65 5f 74 72 61 70 | 20 73 6f 20 74 68 61 74 |ace_trap| so that|
|00005520| 20 69 74 0a 58 09 6e 6f | 20 6c 6f 6e 67 65 72 20 | it.X.no| longer |
|00005530| 74 61 6b 65 73 20 61 20 | 74 79 70 20 70 61 72 61 |takes a |typ para|
|00005540| 6d 65 74 65 72 2c 20 63 | 68 61 6e 67 65 5f 74 79 |meter, c|hange_ty|
|00005550| 70 65 20 6e 6f 20 6c 6f | 6e 67 65 72 20 63 61 6c |pe no lo|nger cal|
|00005560| 6c 73 0a 58 09 70 6c 61 | 63 65 5f 74 72 61 70 2c |ls.X.pla|ce_trap,|
|00005570| 20 6e 65 67 61 74 69 76 | 65 20 6c 65 76 65 6c 20 | negativ|e level |
|00005580| 76 61 6c 75 65 73 20 66 | 6f 72 20 74 72 61 70 73 |values f|or traps|
|00005590| 20 61 6c 6c 20 6d 61 64 | 65 20 70 6f 73 69 74 69 | all mad|e positi|
|000055a0| 76 65 0a 58 09 61 6e 64 | 20 64 69 61 73 72 6d 5f |ve.X.and| diasrm_|
|000055b0| 6f 62 6a 65 63 74 28 29 | 20 63 68 61 6e 67 65 64 |object()| changed|
|000055c0| 20 61 70 70 72 6f 70 72 | 69 61 74 65 6c 79 0a 58 | appropr|iately.X|
|000055d0| 65 78 74 65 72 6e 73 2e | 68 2c 20 64 75 6e 67 65 |externs.|h, dunge|
|000055e0| 6f 6e 2e 63 2c 20 6d 69 | 73 63 32 2e 63 2c 20 6d |on.c, mi|sc2.c, m|
|000055f0| 6f 72 69 61 31 2e 63 2c | 20 76 61 72 69 61 62 6c |oria1.c,| variabl|
|00005600| 65 73 2e 63 3a 20 65 6c | 69 6d 69 6e 61 74 65 64 |es.c: el|iminated|
|00005610| 20 70 72 69 6e 74 5f 73 | 74 61 74 0a 58 09 76 61 | print_s|tat.X.va|
|00005620| 72 69 61 62 6c 65 20 73 | 69 6e 63 65 20 69 74 20 |riable s|ince it |
|00005630| 77 61 73 20 6e 6f 74 20 | 75 73 65 64 20 76 65 72 |was not |used ver|
|00005640| 79 20 6d 75 63 68 0a 58 | 2d 2d 2d 2d 2d 2d 2d 2d |y much.X|--------|
|00005650| 2d 2d 2d 2d 2d 2d 2d 2d | 20 39 2f 32 31 0a 58 63 |--------| 9/21.Xc|
|00005660| 72 65 61 74 65 2e 63 2c | 20 65 78 74 65 72 6e 73 |reate.c,| externs|
|00005670| 2e 68 2c 20 76 61 72 69 | 61 62 6c 65 2e 63 3a 20 |.h, vari|able.c: |
|00005680| 65 6c 69 6d 69 6e 61 74 | 65 64 20 62 69 74 5f 61 |eliminat|ed bit_a|
|00005690| 72 72 61 79 20 76 61 72 | 69 61 62 6c 65 0a 58 76 |rray var|iable.Xv|
|000056a0| 61 72 69 61 62 6c 65 2e | 63 3a 20 65 6c 69 6d 69 |ariable.|c: elimi|
|000056b0| 6e 61 74 65 64 20 6e 61 | 6d 65 73 20 6f 66 20 75 |nated na|mes of u|
|000056c0| 6e 75 73 65 64 20 52 6f | 67 75 65 20 63 6c 61 73 |nused Ro|gue clas|
|000056d0| 73 20 73 70 65 6c 6c 73 | 0a 58 6d 61 6e 79 20 66 |s spells|.Xmany f|
|000056e0| 69 6c 65 73 2e 2e 2e 3a | 20 63 68 61 6e 67 65 64 |iles...:| changed|
|000056f0| 20 74 68 65 20 66 6c 6f | 6f 72 2f 77 61 6c 6c 20 | the flo|or/wall |
|00005700| 64 65 66 69 6e 69 74 69 | 6f 6e 73 20 66 72 6f 6d |definiti|ons from|
|00005710| 20 76 61 72 69 61 62 6c | 65 73 20 74 6f 20 63 6f | variabl|es to co|
|00005720| 6e 73 74 61 6e 74 73 2c | 0a 58 09 63 68 61 6e 67 |nstants,|.X.chang|
|00005730| 65 64 20 74 68 65 20 76 | 61 6c 75 65 73 20 74 6f |ed the v|alues to|
|00005740| 20 6d 61 6b 65 20 74 65 | 73 74 73 20 65 61 73 69 | make te|sts easi|
|00005750| 65 72 2c 20 61 6c 6c 20 | 66 76 61 6c 20 63 6f 6d |er, all |fval com|
|00005760| 70 61 72 69 73 6f 6e 73 | 20 6e 6f 77 20 75 73 65 |parisons| now use|
|00005770| 0a 58 09 6d 61 6e 69 66 | 65 73 74 20 63 6f 6e 73 |.X.manif|est cons|
|00005780| 74 61 6e 74 73 2c 20 64 | 6f 6f 72 20 74 79 70 65 |tants, d|oor type|
|00005790| 20 66 6c 6f 6f 72 73 20 | 65 6c 69 6d 69 6e 61 74 | floors |eliminat|
|000057a0| 65 64 20 73 69 6e 63 65 | 20 6e 65 77 20 66 69 6e |ed since| new fin|
|000057b0| 64 2f 72 75 6e 0a 58 09 | 63 6f 64 65 20 6d 61 64 |d/run.X.|code mad|
|000057c0| 65 20 74 68 65 6d 20 75 | 6e 6e 65 63 65 73 73 61 |e them u|nnecessa|
|000057d0| 72 79 0a 58 63 6f 6e 73 | 74 61 6e 74 2e 68 2c 20 |ry.Xcons|tant.h, |
|000057e0| 6d 69 73 63 32 2e 63 2c | 20 65 78 74 65 72 6e 73 |misc2.c,| externs|
|000057f0| 2e 68 2c 20 76 61 72 69 | 61 62 6c 65 2e 63 3a 20 |.h, vari|able.c: |
|00005800| 63 68 61 6e 67 65 64 20 | 76 61 72 20 73 74 61 74 |changed |var stat|
|00005810| 5f 63 6f 6c 75 6d 6e 20 | 74 6f 0a 58 09 63 6f 6e |_column |to.X.con|
|00005820| 73 74 61 6e 74 2c 20 65 | 6c 69 6d 69 6e 61 74 65 |stant, e|liminate|
|00005830| 64 20 70 61 73 73 77 6f | 72 64 20 76 61 72 69 61 |d passwo|rd varia|
|00005840| 62 6c 65 73 0a 58 6d 61 | 6e 79 20 66 69 6c 65 73 |bles.Xma|ny files|
|00005850| 3a 20 63 68 61 6e 67 65 | 64 20 6d 6f 72 69 61 5f |: change|d moria_|
|00005860| 66 6c 61 67 20 74 6f 20 | 6e 65 77 5f 6c 65 76 65 |flag to |new_leve|
|00005870| 6c 5f 66 6c 61 67 2c 20 | 61 6e 64 20 72 65 73 65 |l_flag, |and rese|
|00005880| 74 5f 66 6c 61 67 20 74 | 6f 0a 58 09 66 72 65 65 |t_flag t|o.X.free|
|00005890| 5f 74 75 72 6e 5f 66 6c | 61 67 0a 58 2d 2d 2d 2d |_turn_fl|ag.X----|
|000058a0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 20 39 2f 32 33 0a 58 |--------|- 9/23.X|
|000058b0| 6d 65 72 67 65 64 20 58 | 65 6e 69 78 20 64 69 66 |merged X|enix dif|
|000058c0| 66 73 20 61 6e 64 20 41 | 74 61 72 69 20 53 54 20 |fs and A|tari ST |
|000058d0| 64 69 66 66 73 0a 58 74 | 72 65 61 73 75 72 65 31 |diffs.Xt|reasure1|
|000058e0| 2e 63 3a 20 70 6f 74 69 | 6f 6e 20 6f 66 20 73 6c |.c: poti|on of sl|
|000058f0| 65 65 70 20 6e 6f 20 6c | 6f 6e 67 65 72 20 63 75 |eep no l|onger cu|
|00005900| 72 65 73 20 62 6c 69 6e | 64 6e 65 73 73 0a 58 77 |res blin|dness.Xw|
|00005910| 61 6e 64 73 2e 63 3a 20 | 77 61 6e 64 20 6f 66 20 |ands.c: |wand of |
|00005920| 77 6f 6e 64 65 72 20 77 | 61 73 20 77 72 6f 6e 67 |wonder w|as wrong|
|00005930| 20 68 61 64 20 32 20 3c | 3c 20 72 61 6e 64 69 6e | had 2 <|< randin|
|00005940| 74 28 29 20 69 6e 73 74 | 65 61 64 20 6f 66 20 31 |t() inst|ead of 1|
|00005950| 20 3c 3c 20 72 61 6e 64 | 69 6e 74 28 29 0a 58 65 | << rand|int().Xe|
|00005960| 61 74 2e 63 2c 20 70 6f | 74 69 6f 6e 73 2e 63 2c |at.c, po|tions.c,|
|00005970| 20 73 63 72 6f 6c 6c 73 | 2e 63 2c 20 73 74 61 66 | scrolls|.c, staf|
|00005980| 66 73 2e 63 2c 20 74 72 | 65 61 73 75 72 32 2e 63 |fs.c, tr|easur2.c|
|00005990| 2c 20 77 61 6e 64 73 2e | 63 3a 20 61 64 64 65 64 |, wands.|c: added|
|000059a0| 20 73 74 6f 72 65 0a 58 | 09 62 6f 75 67 68 74 20 | store.X|.bought |
|000059b0| 66 6c 61 67 20 30 78 38 | 30 30 30 30 30 30 30 20 |flag 0x8|0000000 |
|000059c0| 74 6f 20 61 6c 6c 20 66 | 6f 6f 64 2f 70 6f 74 69 |to all f|ood/poti|
|000059d0| 6f 6e 2f 73 63 72 6f 6c | 6c 2f 73 74 61 66 66 2f |on/scrol|l/staff/|
|000059e0| 77 61 6e 64 20 6f 62 6a | 65 63 74 73 0a 58 09 69 |wand obj|ects.X.i|
|000059f0| 6e 20 74 72 65 61 73 75 | 72 65 32 2e 63 2c 20 6d |n treasu|re2.c, m|
|00005a00| 6f 64 69 66 65 64 20 74 | 68 65 20 63 6f 64 65 20 |odifed t|he code |
|00005a10| 73 6f 20 74 68 61 74 20 | 74 68 65 73 65 20 6f 62 |so that |these ob|
|00005a20| 6a 65 63 74 73 20 64 6f | 20 6e 6f 74 20 67 69 76 |jects do| not giv|
|00005a30| 65 0a 58 09 65 78 70 65 | 72 69 65 6e 63 65 20 77 |e.X.expe|rience w|
|00005a40| 68 65 6e 20 75 73 65 64 | 0a 58 61 6c 6c 20 66 69 |hen used|.Xall fi|
|00005a50| 6c 65 73 3a 20 72 65 6d | 6f 76 65 64 20 61 6c 6c |les: rem|oved all|
|00005a60| 20 66 6c 6f 61 74 69 6e | 67 20 70 6f 69 6e 74 20 | floatin|g point |
|00005a70| 63 6f 64 65 20 65 78 63 | 65 70 74 20 66 6f 72 20 |code exc|ept for |
|00005a80| 72 61 6e 64 6e 6f 72 28 | 29 20 61 6e 64 20 6c 6f |randnor(|) and lo|
|00005a90| 73 28 29 0a 58 6d 61 6e | 79 20 66 69 6c 65 73 3a |s().Xman|y files:|
|00005aa0| 20 68 70 5f 70 6c 61 79 | 65 72 28 2d 64 61 6d 61 | hp_play|er(-dama|
|00005ab0| 67 65 2c 22 22 29 20 63 | 61 6c 6c 73 20 64 69 64 |ge,"") c|alls did|
|00005ac0| 20 6e 6f 74 20 77 6f 72 | 6b 2c 20 63 68 61 6e 67 | not wor|k, chang|
|00005ad0| 65 20 74 68 65 6d 20 61 | 6c 6c 20 74 6f 0a 58 09 |e them a|ll to.X.|
|00005ae0| 64 69 72 65 63 74 20 63 | 61 6c 6c 73 20 74 6f 20 |direct c|alls to |
|00005af0| 74 61 6b 65 5f 68 69 74 | 28 64 61 6d 61 67 65 29 |take_hit|(damage)|
|00005b00| 2c 20 20 68 70 5f 70 6c | 61 79 65 72 20 73 74 72 |, hp_pl|ayer str|
|00005b10| 69 6e 67 20 70 61 72 61 | 6d 65 74 65 72 0a 58 09 |ing para|meter.X.|
|00005b20| 72 65 6d 6f 76 65 64 20 | 73 69 6e 63 65 20 6e 6f |removed |since no|
|00005b30| 20 6c 6f 6e 67 65 72 20 | 75 73 65 64 0a 58 2d 2d | longer |used.X--|
|00005b40| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 20 39 2f 32 35 |--------|--- 9/25|
|00005b50| 0a 58 63 6f 6e 73 74 61 | 6e 74 2e 68 2c 20 63 6f |.Xconsta|nt.h, co|
|00005b60| 6e 66 69 67 2e 68 2c 20 | 65 78 74 65 72 6e 73 2e |nfig.h, |externs.|
|00005b70| 68 2c 20 76 61 72 69 61 | 62 6c 65 2e 63 2c 20 6d |h, varia|ble.c, m|
|00005b80| 69 73 63 31 2e 63 2c 20 | 6d 69 73 63 32 2e 63 2c |isc1.c, |misc2.c,|
|00005b90| 20 70 6f 74 69 6f 6e 73 | 2e 63 3a 0a 58 09 66 6c | potions|.c:.X.fl|
|00005ba0| 6f 61 74 69 6e 67 20 70 | 6f 69 6e 74 20 72 61 6e |oating p|oint ran|
|00005bb0| 64 6e 6f 72 20 63 6f 64 | 65 20 72 65 70 6c 61 63 |dnor cod|e replac|
|00005bc0| 65 64 20 62 79 20 69 6e | 74 65 67 65 72 20 6f 6e |ed by in|teger on|
|00005bd0| 20 74 68 61 74 20 75 73 | 65 73 20 61 20 74 61 62 | that us|es a tab|
|00005be0| 6c 65 2c 0a 58 09 64 65 | 66 69 6e 69 74 69 6f 6e |le,.X.de|finition|
|00005bf0| 20 6f 66 20 4d 41 58 49 | 4e 54 20 72 65 6d 6f 76 | of MAXI|NT remov|
|00005c00| 65 64 20 73 6f 20 74 68 | 65 72 65 20 61 72 65 20 |ed so th|ere are |
|00005c10| 6e 6f 77 20 6e 6f 20 64 | 69 66 66 65 72 65 6e 63 |now no d|ifferenc|
|00005c20| 65 73 20 62 65 74 77 65 | 65 6e 0a 58 09 31 36 20 |es betwe|en.X.16 |
|00005c30| 62 69 74 20 61 6e 64 20 | 33 32 20 62 69 74 20 76 |bit and |32 bit v|
|00005c40| 65 72 73 69 6f 6e 73 20 | 6f 66 20 6d 6f 72 69 61 |ersions |of moria|
|00005c50| 2c 20 4d 41 58 53 48 4f | 52 54 20 61 6e 64 20 4d |, MAXSHO|RT and M|
|00005c60| 41 58 4c 4f 4e 47 20 64 | 65 66 69 6e 65 64 0a 58 |AXLONG d|efined.X|
|00005c70| 4d 61 6b 65 66 69 6c 65 | 2c 20 6d 69 73 63 31 2e |Makefile|, misc1.|
|00005c80| 63 2c 20 65 78 74 65 72 | 6e 73 2e 68 3a 20 63 61 |c, exter|ns.h: ca|
|00005c90| 6c 6c 73 20 74 6f 20 66 | 6c 6f 6f 72 20 72 65 6d |lls to f|loor rem|
|00005ca0| 6f 76 65 64 2c 20 6d 61 | 74 68 20 6c 69 62 72 61 |oved, ma|th libra|
|00005cb0| 72 79 20 6e 6f 20 6c 6f | 6e 67 65 72 0a 58 09 75 |ry no lo|nger.X.u|
|00005cc0| 73 65 64 21 21 2c 20 44 | 4f 4e 54 5f 44 45 46 49 |sed!!, D|ONT_DEFI|
|00005cd0| 4e 45 5f 43 4c 41 53 53 | 20 64 65 66 20 66 6f 72 |NE_CLASS| def for|
|00005ce0| 20 53 55 4e 34 20 6e 6f | 20 6c 6f 6e 67 65 72 20 | SUN4 no| longer |
|00005cf0| 6e 65 65 64 65 64 0a 58 | 2d 2d 2d 2d 2d 2d 2d 2d |needed.X|--------|
|00005d00| 2d 2d 2d 2d 2d 20 39 2f | 32 37 0a 58 6d 69 73 63 |----- 9/|27.Xmisc|
|00005d10| 31 2e 63 3a 20 72 65 70 | 6c 61 63 65 64 20 6c 6f |1.c: rep|laced lo|
|00005d20| 73 20 63 6f 64 65 20 77 | 69 74 68 20 61 6e 20 69 |s code w|ith an i|
|00005d30| 6e 74 65 67 65 72 20 61 | 72 69 74 68 6d 65 74 69 |nteger a|rithmeti|
|00005d40| 63 20 76 65 72 73 69 6f | 6e 20 62 79 20 6a 6e 68 |c versio|n by jnh|
|00005d50| 20 28 4a 6f 73 65 70 68 | 0a 58 09 48 61 6c 6c 29 | (Joseph|.X.Hall)|
|00005d60| 2c 20 6d 6f 72 69 61 20 | 6e 6f 77 20 75 73 65 73 |, moria |now uses|
|00005d70| 20 6e 6f 20 66 6c 6f 61 | 74 69 6e 67 20 70 6f 69 | no floa|ting poi|
|00005d80| 6e 74 20 6e 75 6d 62 65 | 72 73 0a 58 64 75 6e 67 |nt numbe|rs.Xdung|
|00005d90| 65 6f 6e 2e 63 2c 20 66 | 69 6c 65 73 2e 63 2c 20 |eon.c, f|iles.c, |
|00005da0| 6d 6f 72 69 61 31 2e 63 | 2c 20 73 74 6f 72 65 32 |moria1.c|, store2|
|00005db0| 2e 63 2c 20 77 69 7a 61 | 72 64 2e 63 3a 20 72 65 |.c, wiza|rd.c: re|
|00005dc0| 6d 6f 76 65 64 20 61 6c | 6c 20 73 73 63 61 6e 66 |moved al|l sscanf|
|00005dd0| 20 63 61 6c 6c 73 0a 58 | 09 65 78 63 65 70 74 20 | calls.X|.except |
|00005de0| 66 6f 72 20 74 68 6f 73 | 65 20 69 6e 20 6d 73 5f |for thos|e in ms_|
|00005df0| 6d 69 73 63 2e 63 2c 20 | 61 6e 64 20 6f 6e 65 20 |misc.c, |and one |
|00005e00| 22 25 6c 78 22 20 69 6e | 20 77 69 7a 61 72 64 2e |"%lx" in| wizard.|
|00005e10| 63 0a 58 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 20 |c.X-----|------- |
|00005e20| 39 2f 32 38 0a 58 74 72 | 65 61 73 75 72 65 31 2e |9/28.Xtr|easure1.|
|00005e30| 63 2c 20 74 72 65 61 73 | 75 72 65 32 2e 63 2c 20 |c, treas|ure2.c, |
|00005e40| 74 79 70 65 73 2e 68 3a | 20 63 68 61 6e 67 65 20 |types.h:| change |
|00005e50| 73 75 62 76 61 6c 20 61 | 6e 64 20 6e 75 6d 62 65 |subval a|nd numbe|
|00005e60| 72 20 74 6f 20 38 20 62 | 69 74 20 69 6e 74 65 67 |r to 8 b|it integ|
|00005e70| 65 72 73 2c 0a 58 09 6d | 6f 76 65 20 66 6c 61 67 |ers,.X.m|ove flag|
|00005e80| 73 20 61 66 74 65 72 20 | 6e 61 6d 65 2c 20 6d 6f |s after |name, mo|
|00005e90| 76 65 20 6e 75 6d 62 65 | 72 20 62 65 66 6f 72 65 |ve numbe|r before|
|00005ea0| 20 77 65 69 67 68 74 2c | 20 73 61 76 65 20 31 32 | weight,| save 12|
|00005eb0| 20 62 79 74 65 73 20 70 | 65 72 0a 58 63 6f 6e 73 | bytes p|er.Xcons|
|00005ec0| 74 61 6e 74 73 2e 68 2c | 20 65 74 63 3a 20 49 4e |tants.h,| etc: IN|
|00005ed0| 56 45 4e 5f 4d 41 58 20 | 64 65 66 69 6e 69 74 69 |VEN_MAX |definiti|
|00005ee0| 6f 6e 20 72 65 6d 6f 76 | 65 64 2c 20 49 4e 56 45 |on remov|ed, INVE|
|00005ef0| 4e 5f 41 52 52 41 59 5f | 53 49 5a 45 20 31 20 73 |N_ARRAY_|SIZE 1 s|
|00005f00| 6d 61 6c 6c 65 72 0a 58 | 76 61 72 69 61 62 6c 65 |maller.X|variable|
|00005f10| 2e 63 3a 20 73 74 6f 72 | 65 5f 63 68 6f 69 63 65 |.c: stor|e_choice|
|00005f20| 20 6e 6f 77 20 61 72 72 | 61 79 20 6f 66 20 38 20 | now arr|ay of 8 |
|00005f30| 62 69 74 20 69 6e 74 65 | 67 65 72 73 0a 58 6d 6f |bit inte|gers.Xmo|
|00005f40| 6e 73 74 65 72 73 2e 63 | 2c 20 74 72 65 61 73 75 |nsters.c|, treasu|
|00005f50| 72 65 32 2e 63 3a 20 63 | 68 61 6e 67 65 20 74 5f |re2.c: c|hange t_|
|00005f60| 6c 65 76 65 6c 20 61 6e | 64 20 6d 5f 6c 65 76 65 |level an|d m_leve|
|00005f70| 6c 20 74 6f 20 61 72 72 | 61 79 20 6f 66 20 31 36 |l to arr|ay of 16|
|00005f80| 20 62 69 74 20 69 6e 74 | 73 0a 58 6d 61 6e 79 3a | bit int|s.Xmany:|
|00005f90| 20 69 6e 74 65 72 70 72 | 65 74 61 74 69 6f 6e 20 | interpr|etation |
|00005fa0| 6f 66 20 73 75 62 76 61 | 6c 20 63 68 61 6e 67 65 |of subva|l change|
|00005fb0| 64 20 74 6f 20 66 69 74 | 20 69 74 20 69 6e 74 6f |d to fit| it into|
|00005fc0| 20 62 79 74 65 2c 20 6e | 65 77 20 72 61 6e 67 65 | byte, n|ew range|
|00005fd0| 20 75 73 65 73 0a 58 09 | 70 31 20 74 6f 20 64 65 | uses.X.|p1 to de|
|00005fe0| 63 69 64 65 20 77 68 65 | 74 68 65 72 20 73 74 61 |cide whe|ther sta|
|00005ff0| 63 6b 69 6e 67 20 70 65 | 72 6d 69 74 74 65 64 2c |cking pe|rmitted,|
|00006000| 20 74 6f 72 63 68 65 73 | 20 63 61 6e 20 6e 6f 77 | torches| can now|
|00006010| 20 73 74 61 63 6b 0a 58 | 63 72 65 61 74 65 2e 63 | stack.X|create.c|
|00006020| 2c 20 74 79 70 65 73 2e | 68 3a 20 63 68 61 6e 67 |, types.|h: chang|
|00006030| 65 64 20 73 69 7a 65 20 | 6f 66 20 68 69 73 74 6f |ed size |of histo|
|00006040| 72 79 20 66 72 6f 6d 20 | 34 30 30 20 74 6f 20 32 |ry from |400 to 2|
|00006050| 34 30 20 63 68 61 72 61 | 63 74 65 72 73 2c 0a 58 |40 chara|cters,.X|
|00006060| 09 61 6c 73 6f 20 70 72 | 69 6e 74 20 61 73 20 6c |.also pr|int as l|
|00006070| 69 6e 65 73 20 6f 66 20 | 36 30 20 69 6e 73 74 65 |ines of |60 inste|
|00006080| 61 64 20 6f 66 20 6c 69 | 6e 65 73 20 6f 66 20 37 |ad of li|nes of 7|
|00006090| 30 0a 58 76 61 72 69 61 | 62 6c 65 2e 63 2c 20 6d |0.Xvaria|ble.c, m|
|000060a0| 69 73 63 32 2e 63 2c 20 | 74 79 70 65 73 2e 68 3a |isc2.c, |types.h:|
|000060b0| 20 63 68 61 6e 67 65 64 | 20 64 65 66 69 6e 69 74 | changed| definit|
|000060c0| 69 6f 6e 20 6f 66 20 73 | 70 65 6c 6c 5f 74 79 70 |ion of s|pell_typ|
|000060d0| 65 20 66 72 6f 6d 20 31 | 32 20 74 6f 20 36 0a 58 |e from 1|2 to 6.X|
|000060e0| 09 62 79 74 65 73 2c 20 | 6e 65 77 20 61 72 72 61 |.bytes, |new arra|
|000060f0| 79 20 73 70 65 6c 6c 5f | 6e 61 6d 65 73 20 74 6f |y spell_|names to|
|00006100| 20 70 72 65 76 65 6e 74 | 20 64 75 70 6c 69 63 61 | prevent| duplica|
|00006110| 74 65 20 73 74 72 69 6e | 67 73 2c 0a 58 09 6e 6f |te strin|gs,.X.no|
|00006120| 20 6c 6f 6e 67 65 72 20 | 68 61 76 65 20 65 6e 74 | longer |have ent|
|00006130| 72 79 20 66 6f 72 20 77 | 61 72 72 69 6f 72 73 0a |ry for w|arriors.|
|00006140| 58 76 61 72 69 61 62 6c | 65 2e 63 2c 20 74 79 70 |Xvariabl|e.c, typ|
|00006150| 65 73 2e 68 3a 20 68 75 | 6d 61 6e 20 66 65 6d 61 |es.h: hu|man fema|
|00006160| 6c 65 20 74 6f 6f 20 6c | 69 67 68 74 2c 20 6d 61 |le too l|ight, ma|
|00006170| 64 65 20 31 35 30 20 66 | 72 6f 6d 20 31 32 30 2c |de 150 f|rom 120,|
|00006180| 20 61 6c 73 6f 20 63 68 | 61 6e 67 65 64 0a 58 09 | also ch|anged.X.|
|00006190| 65 76 65 72 79 20 62 61 | 73 65 2f 6d 6f 64 20 66 |every ba|se/mod f|
|000061a0| 69 65 6c 64 20 66 72 6f | 6d 20 31 36 20 62 69 74 |ield fro|m 16 bit|
|000061b0| 73 20 74 6f 20 38 20 62 | 69 74 73 0a 58 74 79 70 |s to 8 b|its.Xtyp|
|000061c0| 65 73 2e 68 2c 20 76 61 | 72 69 61 62 6c 65 2e 63 |es.h, va|riable.c|
|000061d0| 3a 20 69 6e 20 62 61 63 | 6b 67 72 6f 75 6e 64 5f |: in bac|kground_|
|000061e0| 74 79 70 65 2c 20 63 68 | 61 6e 67 65 20 6e 65 78 |type, ch|ange nex|
|000061f0| 74 20 61 6e 64 20 62 6f | 6e 75 73 20 66 69 65 6c |t and bo|nus fiel|
|00006200| 64 73 20 74 6f 0a 58 09 | 38 20 62 69 74 20 69 6e |ds to.X.|8 bit in|
|00006210| 74 65 67 65 72 73 2c 20 | 61 64 64 65 64 20 35 30 |tegers, |added 50|
|00006220| 20 74 6f 20 62 6f 6e 75 | 73 20 74 6f 20 6d 61 6b | to bonu|s to mak|
|00006230| 65 20 69 74 20 70 6f 73 | 69 74 69 76 65 0a 58 2d |e it pos|itive.X-|
|00006240| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00006250| 20 39 2f 32 39 0a 58 6d | 6f 6e 73 74 65 72 73 2e | 9/29.Xm|onsters.|
|00006260| 63 3a 20 6d 61 73 73 69 | 76 65 20 63 68 61 6e 67 |c: massi|ve chang|
|00006270| 65 73 20 74 6f 20 6d 6f | 6e 73 74 65 72 20 66 69 |es to mo|nster fi|
|00006280| 6c 65 20 74 6f 20 66 69 | 78 20 69 6e 63 6f 6e 73 |le to fi|x incons|
|00006290| 69 73 74 65 6e 63 69 65 | 73 0a 58 2d 2d 2d 2d 2d |istencie|s.X-----|
|000062a0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 20 39 2f 33 |--------|---- 9/3|
|000062b0| 30 0a 58 73 65 74 2e 63 | 3a 20 6d 61 6b 65 20 66 |0.Xset.c|: make f|
|000062c0| 6c 61 73 6b 73 20 6f 66 | 20 6f 69 6c 20 76 75 6c |lasks of| oil vul|
|000062d0| 6e 65 72 61 62 6c 65 20 | 74 6f 20 66 72 6f 73 74 |nerable |to frost|
|000062e0| 20 61 6e 64 20 66 69 72 | 65 2c 20 6c 69 6b 65 20 | and fir|e, like |
|000062f0| 70 6f 74 69 6f 6e 73 0a | 58 6d 6f 72 69 61 32 2e |potions.|Xmoria2.|
|00006300| 63 3a 20 69 66 20 73 65 | 74 20 6f 66 66 20 61 20 |c: if se|t off a |
|00006310| 74 72 61 70 2c 20 74 65 | 6d 70 20 73 65 74 20 63 |trap, te|mp set c|
|00006320| 6f 6e 66 75 73 65 64 20 | 74 6f 20 7a 65 72 6f 20 |onfused |to zero |
|00006330| 74 6f 20 65 6e 73 75 72 | 65 20 74 68 61 74 20 70 |to ensur|e that p|
|00006340| 6c 61 79 65 72 0a 58 09 | 77 69 6c 6c 20 6d 6f 76 |layer.X.|will mov|
|00006350| 65 20 6f 6e 74 6f 20 74 | 68 65 20 74 72 61 70 20 |e onto t|he trap |
|00006360| 69 6e 73 74 65 61 64 20 | 6f 66 20 69 6e 20 72 61 |instead |of in ra|
|00006370| 6e 64 6f 6d 20 64 69 72 | 65 63 74 69 6f 6e 0a 58 |ndom dir|ection.X|
|00006380| 69 6f 2e 63 2c 20 65 78 | 74 65 72 6e 73 2e 68 3a |io.c, ex|terns.h:|
|00006390| 20 63 6f 6e 66 69 72 6d | 28 29 20 6e 6f 20 6c 6f | confirm|() no lo|
|000063a0| 6e 67 65 72 20 75 73 65 | 64 2c 20 64 65 6c 65 74 |nger use|d, delet|
|000063b0| 65 64 0a 58 74 72 65 61 | 73 75 72 31 2e 63 2c 20 |ed.Xtrea|sur1.c, |
|000063c0| 74 72 65 61 73 75 72 32 | 2e 63 3a 20 67 69 76 65 |treasur2|.c: give|
|000063d0| 20 6e 6f 6e 20 6f 76 65 | 72 6c 61 70 70 69 6e 67 | non ove|rlapping|
|000063e0| 20 73 75 62 76 61 6c 73 | 20 74 6f 20 70 6f 74 69 | subvals| to poti|
|000063f0| 6f 6e 73 2f 73 63 72 6f | 6c 6c 73 2c 0a 58 09 64 |ons/scro|lls,.X.d|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.