home *** CD-ROM | disk | FTP | other *** search
/ Giga Games 1 / Giga Games.iso / net / usenet / volume7 / nethack3 / patch6j < prev    next >
Encoding:
Internet Message Format  |  1989-11-27  |  62.0 KB

  1. Path: uunet!zephyr.ens.tek.com!tekgen!tekred!saab!billr
  2. From: billr@saab.CNA.TEK.COM (Bill Randle)
  3. Newsgroups: comp.sources.games
  4. Subject: v08i063:  NetHack3 -  display oriented dungeons & dragons (Ver. 3.0), Patch6j
  5. Message-ID: <4852@tekred.CNA.TEK.COM>
  6. Date: 22 Nov 89 19:53:35 GMT
  7. Sender: nobody@tekred.CNA.TEK.COM
  8. Lines: 1975
  9. Approved: billr@saab.CNA.TEK.COM
  10.  
  11. Submitted-by: Izchak Miller <izchak@linc.cis.upenn.edu>
  12. Posting-number: Volume 8, Issue 63
  13. Archive-name: NetHack3/Patch6j
  14. Patch-To: NetHack3: Volume 7, Issue 56-93
  15.  
  16.  
  17.  
  18. #! /bin/sh
  19. # This is a shell archive.  Remove anything before this line, then unpack
  20. # it by saving it into a file and typing "sh file".  To overwrite existing
  21. # files, type "sh file -c".  You can also feed this as standard input via
  22. # unshar, or by typing "sh <file", e.g..  If this archive is complete, you
  23. # will see the following message at the end:
  24. #        "End of archive 10 (of 15)."
  25. # Contents:  include/system.h patches06a
  26. # Wrapped by billr@saab on Wed Nov 22 10:50:17 1989
  27. PATH=/bin:/usr/bin:/usr/ucb ; export PATH
  28. if test -f 'include/system.h' -a "${1}" != "-c" ; then 
  29.   echo shar: clobbering existing file \"'include/system.h'\"
  30. fi
  31. echo shar: Extracting \"'include/system.h'\" \(6140 characters\)
  32. sed "s/^X//" >'include/system.h' <<'END_OF_FILE'
  33. X/*    SCCS Id: @(#)system.h 3.0    88/10/10 */
  34. X/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
  35. X/* NetHack may be freely redistributed.  See license for details. */
  36. X
  37. X#ifndef SYSTEM_H
  38. X#define SYSTEM_H
  39. X
  40. X#define E extern
  41. X
  42. X#ifndef THINKC4
  43. X# if defined(AMIGA) || defined(MACOS)
  44. X#  define _SIZE_T 1
  45. Xtypedef unsigned int    size_t;
  46. X# else
  47. X#  include <sys/types.h>
  48. X# endif
  49. X#endif
  50. X#if defined(AZTEC) || defined(THINKC4)
  51. Xtypedef long    off_t;
  52. X#endif
  53. X
  54. X#ifdef ULTRIX
  55. X/* The Ultrix v3.0 <sys/types.h> seems to be very wrong. */
  56. X# define off_t long
  57. X# define time_t long
  58. X#endif
  59. X
  60. X#if defined(TOS) && defined(__GNUC__) && !defined(_SIZE_T)
  61. X# define _SIZE_T
  62. X#endif
  63. X
  64. X/* some old <sys/types.h> may not define off_t and size_t; if your system is
  65. X * one of these, define them here
  66. X */
  67. X#ifdef MSDOS
  68. X# ifndef _SIZE_T
  69. X#  define _SIZE_T
  70. Xtypedef unsigned int    size_t;
  71. X# endif
  72. X# ifdef __TURBOC__
  73. Xtypedef long  off_t;
  74. X# endif
  75. X#endif
  76. X
  77. X#ifdef VMS
  78. X# define off_t long
  79. X#endif
  80. X
  81. X/* You may want to change this to fit your system, as this is almost
  82. X * impossible to get right automatically.
  83. X * This is the type of signal handling functions.
  84. X */
  85. X#if defined(__STDC__) || defined(ULTRIX)
  86. X    /* also SVR3 and later, Sun4.0 and later */
  87. X# define SIG_RET_TYPE void (*)()
  88. X#else
  89. X    /* BSD, SIII, SVR2 and earlier, Sun3.5 and earlier */
  90. X# define SIG_RET_TYPE int (*)()
  91. X#endif
  92. X
  93. X#if defined(BSD) || defined(ULTRIX) || defined(RANDOM)
  94. XE long random();
  95. XE void FDECL(srandom, (unsigned int));
  96. X#else
  97. XE long lrand48();
  98. XE void srand48();
  99. X#endif /* BSD || ULTRIX || RANDOM */
  100. X
  101. X#if !defined(BSD) || defined(ultrix)
  102. X            /* real BSD wants all these to return int */
  103. X# ifndef MSDOS
  104. XE void FDECL(exit, (int));
  105. X# endif /* MSDOS */
  106. XE void FDECL(free, (genericptr_t));
  107. X# ifndef MACOS
  108. XE void FDECL(perror, (const char *));
  109. X# endif
  110. X#endif
  111. X
  112. X#if defined(BSD) || defined(ULTRIX) || (defined(MACOS) && !defined(THINKC4))
  113. XE int qsort();
  114. X#else
  115. XE void FDECL(qsort, (genericptr_t,size_t,size_t,int(*)(genericptr_t,genericptr_t)));
  116. X#endif
  117. X
  118. X#ifdef ULTRIX
  119. XE long FDECL(lseek, (int,off_t,int));
  120. X  /* Ultrix 3.0 man page mistakenly says it returns an int. */
  121. XE int FDECL(write, (int,char *,int));
  122. X#else
  123. XE long FDECL(lseek, (int,long,int));
  124. XE int FDECL(write, (int,genericptr_t,unsigned));
  125. X#endif /* ULTRIX */
  126. XE int FDECL(unlink, (const char *));
  127. X
  128. X#ifdef MSDOS
  129. XE int FDECL(close, (int));
  130. XE int FDECL(read, (int,genericptr_t,unsigned int));
  131. XE int FDECL(open, (const char *,int,...));
  132. XE int FDECL(dup2, (int, int));
  133. XE int FDECL(setmode, (int,int));
  134. XE int FDECL(kbhit, (void));
  135. XE int FDECL(chdir, (char *));
  136. XE char *FDECL(getcwd, (char *,int));
  137. X#endif
  138. X
  139. X/* both old & new versions of Ultrix want these, but real BSD does not */
  140. X#ifdef ultrix
  141. XE void abort();
  142. XE void bcopy();
  143. X#endif
  144. X#ifdef MSDOS
  145. XE void FDECL(abort, (void));
  146. XE void FDECL(_exit, (int));
  147. XE int FDECL(system, (const char *));
  148. X#endif
  149. X
  150. X#ifdef SYSV
  151. XE char *memcpy();
  152. X#endif
  153. X#ifdef MSDOS
  154. X# if defined(TOS) && defined(__GNUC__)
  155. XE int FDECL(memcmp, (const char *,const char *,size_t));
  156. XE char *FDECL(memcpy, (char *,const char *,size_t));
  157. XE char *FDECL(memset, (char*,int,size_t));
  158. X# else
  159. XE int FDECL(memcmp, (char *,char *,unsigned int));
  160. XE char *FDECL(memcpy, (char *,char *,unsigned int));
  161. XE char *FDECL(memset, (char*,int,int));
  162. X# endif /* TOS */
  163. X#endif
  164. X
  165. X#if defined(BSD) && defined(ultrix)    /* i.e., old versions of Ultrix */
  166. XE void sleep();
  167. X#endif
  168. X#if defined(ULTRIX) || defined(SYSV)
  169. XE unsigned sleep();
  170. X#endif
  171. X
  172. XE char *FDECL(getenv, (const char *));
  173. XE char *getlogin();
  174. XE int getpid();
  175. X
  176. X/*# string(s).h #*/
  177. X
  178. XE char    *FDECL(strcpy, (char *,const char *));
  179. XE char    *FDECL(strncpy, (char *,const char *,size_t));
  180. XE char    *FDECL(strcat, (char *,const char *));
  181. XE char    *FDECL(strncat, (char *,const char *,size_t));
  182. X
  183. X#if defined(SYSV) || (defined(MSDOS) && !defined(AMIGA)) || defined(THINK_C)
  184. XE char    *FDECL(strchr, (const char *,int));
  185. XE char    *FDECL(strrchr, (const char *,int));
  186. X#else /* BSD */
  187. XE char    *FDECL(index, (const char *,int));
  188. XE char    *FDECL(rindex, (const char *,int));
  189. X#endif
  190. X
  191. X
  192. XE int    FDECL(strcmp, (const char *,const char *));
  193. XE int    FDECL(strncmp, (const char *,const char *,size_t));
  194. X#if defined(MSDOS) || defined(THINKC4)
  195. XE size_t FDECL(strlen, (const char *));
  196. X#else
  197. XE int    strlen();
  198. X#endif
  199. X
  200. X/* Old varieties of BSD have char *sprintf().
  201. X * Newer varieties of BSD have int sprintf() but allow for the old char *.
  202. X * Several varieties of SYSV and PC systems also have int sprintf().
  203. X * If your system doesn't agree with this breakdown, you may want to change
  204. X * this declaration, especially if your machine treats the types differently.
  205. X */
  206. X#if defined(BSD) || defined(ULTRIX)
  207. X# define OLD_SPRINTF
  208. XE char *sprintf();
  209. X#else
  210. X# ifndef TOS    /* problem with prototype mismatches with <stdio.h> */
  211. XE int FDECL(sprintf, (char *,const char *,...));
  212. X# endif
  213. X#endif
  214. X
  215. X#ifdef NEED_VARARGS
  216. X# if defined(USE_STDARG) || defined(USE_VARARGS)
  217. XE int FDECL(vsprintf, (char *, const char *, va_list));
  218. XE int FDECL(vprintf, (const char *, va_list));
  219. X# else
  220. X#  define vprintf    printf
  221. X#  define vsprintf    sprintf
  222. X#  define vpline    pline
  223. X# endif
  224. X#endif /* NEED_VARARGS */
  225. X
  226. X#define Sprintf    (void) sprintf
  227. X#define Strcat    (void) strcat
  228. X#define Strcpy    (void) strcpy
  229. X
  230. X#if defined(MACOS) && !defined(MAKEDEFS_C)
  231. X# undef printf
  232. X# undef puts
  233. X# undef putchar
  234. X# undef putc
  235. X# define printf  (void) mprintf
  236. X# define puts     mputs
  237. X# define putchar mputc
  238. X# define putc     mputc
  239. X# define Printf  (void) mprintf
  240. X#else
  241. X# define Printf  (void) printf
  242. X#endif
  243. X
  244. X#ifdef NEED_VARARGS
  245. X# define Vprintf (void) vprintf
  246. X# define Vsprintf (void) vsprintf
  247. X#endif
  248. X
  249. XE int FDECL(tgetent, (char *,char *));
  250. XE int FDECL(tgetnum, (char *));
  251. XE int FDECL(tgetflag, (char *));
  252. XE char *FDECL(tgetstr, (char *,char **));
  253. XE char *FDECL(tgoto, (char *,int,int));
  254. XE void FDECL(tputs, (char *,int,int (*)()));
  255. X
  256. XE genericptr_t FDECL(malloc, (size_t));
  257. X
  258. X/* time functions */
  259. X
  260. X#ifndef MACOS
  261. XE struct tm *FDECL(localtime, (const time_t *));
  262. X
  263. X# if defined(ULTRIX) || defined(SYSV) || (defined(MSDOS) && !defined(AMIGA))
  264. XE time_t FDECL(time, (time_t *));
  265. X# else
  266. XE long FDECL(time, (time_t *));
  267. X# endif /* ULTRIX */
  268. X#endif
  269. X
  270. X#ifdef MSDOS
  271. XE int FDECL(abs, (int));
  272. XE int FDECL(atoi, (char *));
  273. X#endif
  274. X
  275. X#undef E
  276. X
  277. X#endif /* SYSTEM_H */
  278. END_OF_FILE
  279. if test 6140 -ne `wc -c <'include/system.h'`; then
  280.     echo shar: \"'include/system.h'\" unpacked with wrong size!
  281. fi
  282. # end of 'include/system.h'
  283. if test -f 'patches06a' -a "${1}" != "-c" ; then 
  284.   echo shar: Will not clobber existing file \"'patches06a'\"
  285. else
  286. echo shar: Extracting \"'patches06a'\" \(53204 characters\)
  287. sed "s/^X//" >'patches06a' <<'END_OF_FILE'
  288. X*** ./Old/Files    Sun Nov 19 12:13:06 1989
  289. X--- ./Files    Sun Nov 19 09:37:45 1989
  290. X***************
  291. X*** 27,40 ****
  292. X  
  293. X  others:
  294. X  (files for MSDOS version)
  295. X! Make.ini        Makefile.msc    Makefile.pc     Makefile.os2    Makefile.tcc
  296. X! Maketcc.ini     NetHack.cnf     termcap         termcap.uu
  297. X  (files for MSDOS, Amiga, and Atari versions)
  298. X  pcmain.c        pctty.c         pcunix.c
  299. X  (file for MSDOS and new Atari versions)
  300. X  msdos.c
  301. X! (file for new Atari version)
  302. X! Makefile.st
  303. X  (file for old Atari version)
  304. X  oldtos.c
  305. X  (Berkeley random number file, which may be included in any version)
  306. X--- 27,41 ----
  307. X  
  308. X  others:
  309. X  (files for MSDOS version)
  310. X! Make.ini        Makefile.msc    Makefile.os2    Makefile.ovl    Makefile.pc
  311. X! Makefile.tcc    Maketcc.ini     NetHack.cnf     ovlmgr.asm      ovlmgr.doc
  312. X! ovlmgr.uu       termcap         termcap.uu      trampoli.c
  313. X  (files for MSDOS, Amiga, and Atari versions)
  314. X  pcmain.c        pctty.c         pcunix.c
  315. X  (file for MSDOS and new Atari versions)
  316. X  msdos.c
  317. X! (files for new Atari version)
  318. X! Makefile.st     atari.cnf       atarifnt.uue
  319. X  (file for old Atari version)
  320. X  oldtos.c
  321. X  (Berkeley random number file, which may be included in any version)
  322. X***************
  323. X*** 50,81 ****
  324. X  mkroom.h        monattk.h       mondata.h       monflag.h       monst.h
  325. X  monsym.h        msdos.h         obj.h           objclass.h      patchlevel.h
  326. X  pcconf.h        permonst.h      prop.h          rm.h            sp_lev.h
  327. X! spell.h         system.h        tosconf.h       tradstdc.h      trap.h
  328. X! trapname.h      unixconf.h      vault.h         vmsconf.h       wseg.h
  329. X! you.h           youprop.h
  330. X  (file for special level compiler (STRONGHOLD option))
  331. X  lev_comp.h
  332. X  
  333. X  src:
  334. X  (files for all versions)
  335. X! alloc.c         apply.c         artifact.c      attrib.c        bones.c
  336. X! cmd.c           dbridge.c       decl.c          demon.c         do.c
  337. X! do_name.c       do_wear.c       dog.c           dogmove.c       dokick.c
  338. X! dothrow.c       eat.c           end.c           engrave.c       exper.c
  339. X! extralev.c      fountain.c      getline.c       hack.c          invent.c
  340. X! ioctl.c         lock.c          mail.c          makedefs.c      makemon.c
  341. X! mcastu.c        mhitm.c         mhitu.c         mklev.c         mkmaze.c
  342. X! mkobj.c         mkroom.c        mon.c           mondata.c       monmove.c
  343. X! monst.c         mthrowu.c       music.c         o_init.c        objects.c
  344. X! objnam.c        options.c       pager.c         panic.c         pickup.c
  345. X! polyself.c      potion.c        pray.c          pri.c           priest.c
  346. X! prisym.c        read.c          restore.c       rip.c           rnd.c
  347. X! rumors.c        save.c          search.c        shk.c           shknam.c
  348. X! sit.c           sounds.c        sp_lev.c        spell.c         steal.c
  349. X! termcap.c       timeout.c       topl.c          topten.c        track.c
  350. X! trap.c          u_init.c        uhitm.c         vault.c         version.c
  351. X! weapon.c        were.c          wield.c         wizard.c        worm.c
  352. X! worn.c          write.c         zap.c
  353. X  (files for special level compiler (STRONGHOLD option))
  354. X  lev_comp.c      lev_comp.l      lev_comp.y      lev_lex.c       lev_main.c
  355. X  (files for UNIX versions)
  356. X--- 51,82 ----
  357. X  mkroom.h        monattk.h       mondata.h       monflag.h       monst.h
  358. X  monsym.h        msdos.h         obj.h           objclass.h      patchlevel.h
  359. X  pcconf.h        permonst.h      prop.h          rm.h            sp_lev.h
  360. X! spell.h         system.h        termcap.h       tosconf.h       tradstdc.h
  361. X! trampoli.h      trap.h          trapname.h      unixconf.h      vault.h
  362. X! vmsconf.h       wseg.h          you.h           youprop.h
  363. X  (file for special level compiler (STRONGHOLD option))
  364. X  lev_comp.h
  365. X  
  366. X  src:
  367. X  (files for all versions)
  368. X! allmain.c       alloc.c         apply.c         artifact.c      attrib.c
  369. X! bones.c         cmd.c           dbridge.c       decl.c          demon.c
  370. X! do.c            do_name.c       do_wear.c       dog.c           dogmove.c
  371. X! dokick.c        dothrow.c       eat.c           end.c           engrave.c
  372. X! exper.c         extralev.c      fountain.c      getline.c       hack.c
  373. X! invent.c        ioctl.c         lock.c          mail.c          makedefs.c
  374. X! makemon.c       mcastu.c        mhitm.c         mhitu.c         mklev.c
  375. X! mkmaze.c        mkobj.c         mkroom.c        mon.c           mondata.c
  376. X! monmove.c       monst.c         mthrowu.c       music.c         o_init.c
  377. X! objects.c       objnam.c        options.c       pager.c         panic.c
  378. X! pickup.c        polyself.c      potion.c        pray.c          pri.c
  379. X! priest.c        prisym.c        read.c          restore.c       rip.c
  380. X! rnd.c           rumors.c        save.c          search.c        shk.c
  381. X! shknam.c        sit.c           sounds.c        sp_lev.c        spell.c
  382. X! steal.c         termcap.c       timeout.c       topl.c          topten.c
  383. X! track.c         trap.c          u_init.c        uhitm.c         vault.c
  384. X! version.c       weapon.c        were.c          wield.c         wizard.c
  385. X! worm.c          worn.c          write.c         zap.c
  386. X  (files for special level compiler (STRONGHOLD option))
  387. X  lev_comp.c      lev_comp.l      lev_comp.y      lev_lex.c       lev_main.c
  388. X  (files for UNIX versions)
  389. X***************
  390. X*** 90,94 ****
  391. X  
  392. X  mac:
  393. X  (files for Macintosh version)
  394. X! Install.mac     Segments.mac    mac.c           macfile.c       macinit.c
  395. X! makedefs.r      nethack.r
  396. X--- 91,95 ----
  397. X  
  398. X  mac:
  399. X  (files for Macintosh version)
  400. X! Install.mac     Makedefs.rma    Nethack.rma     Segments.mac    hackfont.hqx
  401. X! mac.c           macfile.c       macinit.c       makedefs.r      nethack.r
  402. X*** ./Old/Install.unix    Sun Nov 19 12:13:44 1989
  403. X--- ./Install.unix    Mon Oct 30 16:09:27 1989
  404. X***************
  405. X*** 51,59 ****
  406. X  
  407. X  1.  A number of systems, such as Xenix, support both the termcap and terminfo
  408. X      terminal capability libraries.  Make sure that the TERMINFO definition in
  409. X!     unixconf.h and TERMLIB in the source Makefile correspond.
  410. X!     If spurious characters appear on the screen while kicking, zapping, etc.
  411. X      it is likely that you have linked the source to the wrong library.
  412. X  
  413. X  2.  No, your old save files and bones files will not work with NetHack 3.0.
  414. X      Don't bother trying to keep them.  The old score list will work fine; the
  415. X--- 51,61 ----
  416. X  
  417. X  1.  A number of systems, such as Xenix, support both the termcap and terminfo
  418. X      terminal capability libraries.  Make sure that the TERMINFO definition in
  419. X!     unixconf.h and the TERMLIB definition in the source Makefile correspond.
  420. X!     If spurious characters appear on the screen while kicking, zapping, etc.,
  421. X      it is likely that you have linked the source to the wrong library.
  422. X+     If your terminal library does not provide suitable delays, NetHack will
  423. X+     try to fake its own if you set the nonull option.
  424. X  
  425. X  2.  No, your old save files and bones files will not work with NetHack 3.0.
  426. X      Don't bother trying to keep them.  The old score list will work fine; the
  427. X*** ./Old/README    Sun Nov 19 12:14:19 1989
  428. X--- ./README    Sat Oct 21 18:37:36 1989
  429. X***************
  430. X*** 81,87 ****
  431. X      Sun-3s running SunOS 4.0
  432. X      Encore Multimax running UMAX 4.2
  433. X      Bull XPS100 running System V R2.2 or R3.1
  434. X!     Bull DPX/2 100 running System V R3.1
  435. X      AT&T 3B4000 running System V
  436. X      AT&T 3B1 running System V (3.51)
  437. X      286 box running Microport SysV/AT (not extensively tested)
  438. X--- 81,87 ----
  439. X      Sun-3s running SunOS 4.0
  440. X      Encore Multimax running UMAX 4.2
  441. X      Bull XPS100 running System V R2.2 or R3.1
  442. X!     Bull DPX/2 200 running System V R3.1
  443. X      AT&T 3B4000 running System V
  444. X      AT&T 3B1 running System V (3.51)
  445. X      286 box running Microport SysV/AT (not extensively tested)
  446. X*** auxil/Old/Guidebook.mn    Sun Nov 19 12:18:06 1989
  447. X--- auxil/Guidebook.mn    Fri Oct 20 13:30:13 1989
  448. X***************
  449. X*** 4,10 ****
  450. X  .ds vr "NetHack Version 3.0
  451. X  .ds f0 "\*(vr
  452. X  .ds f1
  453. X! .ds f2 "September 6, 1989
  454. X  .mt
  455. X  A Guide to the Mazes of Menace
  456. X  .au
  457. X--- 4,10 ----
  458. X  .ds vr "NetHack Version 3.0
  459. X  .ds f0 "\*(vr
  460. X  .ds f1
  461. X! .ds f2 "October 19, 1989
  462. X  .mt
  463. X  A Guide to the Mazes of Menace
  464. X  .au
  465. X***************
  466. X*** 231,239 ****
  467. X  game will use default symbols.  Here is a list of what the default
  468. X  symbols mean:
  469. X  .lp "- and | 
  470. X! These form the walls of a room.
  471. X  .lp .
  472. X! This is the floor of a room.
  473. X  .lp #
  474. X  This is a corridor, or possibly a kitchen sink or drawbridge (if your
  475. X  dungeon has sinks or drawbridges).
  476. X--- 231,239 ----
  477. X  game will use default symbols.  Here is a list of what the default
  478. X  symbols mean:
  479. X  .lp "- and | 
  480. X! These form the walls of a room or an open door.
  481. X  .lp .
  482. X! This is the floor of a room or a doorway.
  483. X  .lp #
  484. X  This is a corridor, or possibly a kitchen sink or drawbridge (if your
  485. X  dungeon has sinks or drawbridges).
  486. X***************
  487. X*** 264,270 ****
  488. X  .lp *
  489. X  A gem or rock (possibly valuable, possibly worthless).
  490. X  .lp +
  491. X! A doorway, or a spell book containing a spell you can learn (if your
  492. X  dungeon has spell books).
  493. X  .lp ^
  494. X  A trap (once you detect it).
  495. X--- 264,270 ----
  496. X  .lp *
  497. X  A gem or rock (possibly valuable, possibly worthless).
  498. X  .lp +
  499. X! A closed door, or a spell book containing a spell you can learn (if your
  500. X  dungeon has spell books).
  501. X  .lp ^
  502. X  A trap (once you detect it).
  503. X***************
  504. X*** 774,780 ****
  505. X  Scrolls (`?')
  506. X  .pg
  507. X  Scrolls are labeled with various titles, probably chosen by ancient wizards
  508. X! for their amusement value (i.e. ``READ ME,'' or ``HOLY BIBLE'' backwards).
  509. X  Scrolls disappear after you read them (except for blank ones, without
  510. X  magic spells on them).
  511. X  .pg
  512. X--- 774,780 ----
  513. X  Scrolls (`?')
  514. X  .pg
  515. X  Scrolls are labeled with various titles, probably chosen by ancient wizards
  516. X! for their amusement value (ex. ``READ ME,'' or ``HOLY BIBLE'' backwards).
  517. X  Scrolls disappear after you read them (except for blank ones, without
  518. X  magic spells on them).
  519. X  .pg
  520. X***************
  521. X*** 1010,1019 ****
  522. X  wall, upper left corner, upper right corner, lower left corner, lower
  523. X  right corner, cross wall, upward T wall, downward T wall, leftward T
  524. X  wall, rightward T wall, vertical beam, horizontal beam, left slant,
  525. X! right slant, door, floor of a room, corridor, stairs up, stairs down,
  526. X! trap, web, pool or moat, fountain, kitchen sink, throne, altar, ladder
  527. X! up, ladder down, vertical drawbridge, horizontal drawbridge.  You
  528. X! might want to use `+' for the corners and T walls for a more esthetic,
  529. X  boxier display.  Note that in the next release, new symbols may be
  530. X  added, or the present ones rearranged.
  531. X  
  532. X--- 1010,1020 ----
  533. X  wall, upper left corner, upper right corner, lower left corner, lower
  534. X  right corner, cross wall, upward T wall, downward T wall, leftward T
  535. X  wall, rightward T wall, vertical beam, horizontal beam, left slant,
  536. X! right slant, no door, vertical open door, horizontal open door, closed door,
  537. X! floor of a room, corridor, stairs up, stairs down,trap, web, pool or moat,
  538. X! fountain, kitchen sink, throne, altar, ladderup, ladder down,
  539. X! vertical drawbridge, horizontal drawbridge.  
  540. X! You might want to use `+' for the corners and T walls for a more esthetic,
  541. X  boxier display.  Note that in the next release, new symbols may be
  542. X  added, or the present ones rearranged.
  543. X  
  544. X***************
  545. X*** 1155,1160 ****
  546. X--- 1156,1165 ----
  547. X  \fBEric R. Smith\fP ported NetHack 3.0 to the Atari.
  548. X  .pg
  549. X  \fBTimo Hakulinen\fP ported NetHack 3.0 to OS/2.
  550. X+ .pg
  551. X+ \fBDavid Gentzel\fP ported NetHack 3.0 to VMS.
  552. X+ .pg
  553. X+ \fBJohnny Lee\fP ported NetHack 3.0 to the Macintosh.
  554. X  .pg
  555. X  The following folks have made significant contributions to the playability
  556. X  of the game:
  557. X*** auxil/Old/castle.des    Sun Nov 19 12:19:21 1989
  558. X--- auxil/castle.des    Mon Nov 13 21:19:04 1989
  559. X***************
  560. X*** 40,46 ****
  561. X  # Random registers initialisation
  562. X  RANDOM_OBJECTS:'[',')','*','%'
  563. X  RANDOM_PLACES:(04,02),(58,02),(04,14),(58,14)
  564. X! RANDOM_MONSTERS:'l','n','E','H','M','O','R','T','X','Z'
  565. X  # Doors
  566. X  DOOR:closed,(07,03)
  567. X  DOOR:closed,(55,03)
  568. X--- 40,46 ----
  569. X  # Random registers initialisation
  570. X  RANDOM_OBJECTS:'[',')','*','%'
  571. X  RANDOM_PLACES:(04,02),(58,02),(04,14),(58,14)
  572. X! RANDOM_MONSTERS:'L','N','E','H','M','O','R','T','X','Z'
  573. X  # Doors
  574. X  DOOR:closed,(07,03)
  575. X  DOOR:closed,(55,03)
  576. X*** auxil/Old/data.base    Sun Nov 19 12:19:45 1989
  577. X--- auxil/data.base    Wed Nov  8 17:40:23 1989
  578. X***************
  579. X*** 1,5 ****
  580. X      NetHack data file - version 3.0
  581. X! @    human;
  582. X          These strange creatures live mostly on the  surface  of  the
  583. X          earth, gathering together in societies of various forms, but
  584. X          occasionally a stray will descend into the depths and commit
  585. X--- 1,5 ----
  586. X      NetHack data file - version 3.0
  587. X! @    a human;
  588. X          These strange creatures live mostly on the  surface  of  the
  589. X          earth, gathering together in societies of various forms, but
  590. X          occasionally a stray will descend into the depths and commit
  591. X***************
  592. X*** 7,21 ****
  593. X          resent the intrusion of such beasts.  They  are  capable  of
  594. X          using  weapons  and  magic,  and it is even rumored that the
  595. X          Wizard of Yendor is a member of this species.
  596. X! -    a wall
  597. X! |    a wall
  598. X! +    a door
  599. X! .    the floor of a room
  600. X!      a dark part of a room (or a ghost)
  601. X! #    a corridor
  602. X! <    a way to the previous level
  603. X! >    a way to the next level
  604. X! }    water filled area
  605. X  )    a weapon
  606. X  [    a suit or piece of armor
  607. X  %    a piece of food
  608. X--- 7,14 ----
  609. X          resent the intrusion of such beasts.  They  are  capable  of
  610. X          using  weapons  and  magic,  and it is even rumored that the
  611. X          Wizard of Yendor is a member of this species.
  612. X! +    a spell book
  613. X!      a ghost
  614. X  )    a weapon
  615. X  [    a suit or piece of armor
  616. X  %    a piece of food
  617. X***************
  618. X*** 35,42 ****
  619. X          coin and jewelry.
  620. X                [ Webster's New International Dictionary of the
  621. X              English Language, Second Edition ]
  622. X! "    an amulet (or a web)
  623. X! ^    a trap
  624. X  0    an iron ball
  625. X  _    an iron chain
  626. X  `    a boulder or statue
  627. X--- 28,34 ----
  628. X          coin and jewelry.
  629. X                [ Webster's New International Dictionary of the
  630. X              English Language, Second Edition ]
  631. X! "    an amulet
  632. X  0    an iron ball
  633. X  _    an iron chain
  634. X  `    a boulder or statue
  635. X***************
  636. X*** 92,97 ****
  637. X--- 84,90 ----
  638. X          The fairies of tradition often hover  uneasily  between  the
  639. X          ghostly and the diabolic state.
  640. X                   [Katharine Briggs, A Dictionary of Fairies]
  641. X+ j    a jelly
  642. X  k    a kobold;
  643. X          The race of kobolds are reputed to be an artificial creation
  644. X          of a master wizard (demi-god?).  They are about 3' tall with
  645. X***************
  646. X*** 98,117 ****
  647. X          a vaguely dog-like face.  They bear a violent dislike of the
  648. X          Elven race, and  will go out  of their way to  cause trouble
  649. X          for Elves at any time.
  650. X! l    a lich;
  651. X!         Once in a great  while, an evil master wizard or priest will
  652. X!         manage through use of great magics to extend his or her life
  653. X!         far beyond the normal  span of a human.  The usual effect of
  654. X!         this is to transform the human, over time, into an undead of
  655. X!         great magical power.  A Lich  hates life in any form; even a
  656. X!         touch from one of these  creatures will cause a numbing cold
  657. X!         in the victim.  They all possess the capability to use magic.
  658. X  m    a mimic
  659. X! n    a naga;
  660. X!         The naga is a mystical creature with the body of a snake and
  661. X!         the head of a man or woman.  They will fiercely  protect the
  662. X!         territory they consider their own.  Some nagas can be forced
  663. X!         to serve as a guardian by a spell caster of great power.
  664. X  o    an orc
  665. X  p    a piercer;
  666. X          Ye Piercer doth look like unto  a  stalactyte,  and  hangeth
  667. X--- 91,117 ----
  668. X          a vaguely dog-like face.  They bear a violent dislike of the
  669. X          Elven race, and  will go out  of their way to  cause trouble
  670. X          for Elves at any time.
  671. X! l    a leprechaun;
  672. X!         The Irish Leprechaun is the Faeries' shoemaker and is  known
  673. X!         under  various names  in different parts of Ireland:  Cluri-
  674. X!         caune in Cork, Lurican in Kerry, Lurikeen in Kildare and Lu-
  675. X!         rigadaun  in  Tipperary.  Although he works for the Faeries,
  676. X!         the Leprechaun is not of the same species.  He is small, has
  677. X!         dark  skin  and wears strange clothes.  His nature has some-
  678. X!         thing of the manic-depressive about it:  first he  is  quite
  679. X!         happy, whistling merrily as he nails a sole on to a shoe;  a
  680. X!         few minutes later, he is sullen and  morose,  drunk  on  his
  681. X!         home-made heather ale.  The Leprechaun's two great loves are
  682. X!         tobacco and whiskey, and he is a first-rate con-man,  impos-
  683. X!         sible  to  out-fox.  No  one, no matter how clever, has ever
  684. X!         managed to cheat him out of his hidden pot of  gold  or  his
  685. X!         magic shilling.  At the last minute he always thinks of some
  686. X!         way to divert his captor's attention  and  vanishes  in  the
  687. X!         twinkling  of  an eye.
  688. X!                      [A Field Guide to the Little People
  689. X!                     by Nancy Arrowsmith & George Moorse]
  690. X  m    a mimic
  691. X! n    a nymph
  692. X  o    an orc
  693. X  p    a piercer;
  694. X          Ye Piercer doth look like unto  a  stalactyte,  and  hangeth
  695. X***************
  696. X*** 168,174 ****
  697. X          knives are treated for storage.  All are about  20  centime-
  698. X          ters long.
  699. X                          [ Dune, by Frank Herbert ]
  700. X! x    a xan;
  701. X          They sent their friend the mosquito [xan] ahead of  them  to
  702. X          find  out  what lay ahead.  "Since you are the one who sucks
  703. X          the blood of men walking along paths," they told the mosqui-
  704. X--- 168,174 ----
  705. X          knives are treated for storage.  All are about  20  centime-
  706. X          ters long.
  707. X                          [ Dune, by Frank Herbert ]
  708. X! x    a xan or other mythical/fantastic insect;
  709. X          They sent their friend the mosquito [xan] ahead of  them  to
  710. X          find  out  what lay ahead.  "Since you are the one who sucks
  711. X          the blood of men walking along paths," they told the mosqui-
  712. X***************
  713. X*** 247,275 ****
  714. X          types of giants share a love for men  -  roasted, boiled, or
  715. X          fried.  Their table manners are legendary.
  716. X  I    an invisible stalker
  717. X! J    a jelly
  718. X  K    a Keystone Kop
  719. X! L    a leprechaun;
  720. X!         The Irish Leprechaun is the Faeries' shoemaker and is  known
  721. X!         under  various names  in different parts of Ireland:  Cluri-
  722. X!         caune in Cork, Lurican in Kerry, Lurikeen in Kildare and Lu-
  723. X!         rigadaun  in  Tipperary.  Although he works for the Faeries,
  724. X!         the Leprechaun is not of the same species.  He is small, has
  725. X!         dark  skin  and wears strange clothes.  His nature has some-
  726. X!         thing of the manic-depressive about it:  first he  is  quite
  727. X!         happy, whistling merrily as he nails a sole on to a shoe;  a
  728. X!         few minutes later, he is sullen and  morose,  drunk  on  his
  729. X!         home-made heather ale.  The Leprechaun's two great loves are
  730. X!         tobacco and whiskey, and he is a first-rate con-man,  impos-
  731. X!         sible  to  out-fox.  No  one, no matter how clever, has ever
  732. X!         managed to cheat him out of his hidden pot of  gold  or  his
  733. X!         magic shilling.  At the last minute he always thinks of some
  734. X!         way to divert his captor's attention  and  vanishes  in  the
  735. X!         twinkling  of  an eye.
  736. X!                      [A Field Guide to the Little People
  737. X!                     by Nancy Arrowsmith & George Moorse]
  738. X  M    a mummy
  739. X! N    a nymph
  740. X  O    an ogre
  741. X  P    a pudding or ooze;
  742. X          These giant amoeboid creatures look like nothing  more  than
  743. X--- 247,283 ----
  744. X          types of giants share a love for men  -  roasted, boiled, or
  745. X          fried.  Their table manners are legendary.
  746. X  I    an invisible stalker
  747. X! J    a jabberwock;
  748. X!         "Beware the Jabberwock, my son!
  749. X!           The jaws that bite, the claws that catch!
  750. X!         Beware the Jubjub bird, and shun
  751. X!           The frumious Bandersnatch!"
  752. X!         
  753. X!         He took his vorpal sword in hand;
  754. X!           Long time the manxome foe he sought --
  755. X!         So rested he by the Tumtum tree,
  756. X!           And stood awhile in thought.
  757. X!         
  758. X!         And, as in uffish thought he stood,
  759. X!           The Jabberwock, with eyes of flame,
  760. X!         Came whiffling through the tulgey wood,
  761. X!           And burbled as it came!
  762. X!                     [Jabberwocky, by Lewis Carroll]
  763. X  K    a Keystone Kop
  764. X! L    a lich;
  765. X!         Once in a great  while, an evil master wizard or priest will
  766. X!         manage through use of great magics to extend his or her life
  767. X!         far beyond the normal  span of a human.  The usual effect of
  768. X!         this is to transform the human, over time, into an undead of
  769. X!         great magical power.  A Lich  hates life in any form; even a
  770. X!         touch from one of these  creatures will cause a numbing cold
  771. X!         in the victim.  They all possess the capability to use magic.
  772. X  M    a mummy
  773. X! N    a naga;
  774. X!         The naga is a mystical creature with the body of a snake and
  775. X!         the head of a man or woman.  They will fiercely  protect the
  776. X!         territory they consider their own.  Some nagas can be forced
  777. X!         to serve as a guardian by a spell caster of great power.
  778. X  O    an ogre
  779. X  P    a pudding or ooze;
  780. X          These giant amoeboid creatures look like nothing  more  than
  781. X***************
  782. X*** 292,296 ****
  783. X  Y    a yeti
  784. X  Z    a zombie
  785. X  &    a demon
  786. X! :    a chameleon
  787. X! ;    a giant eel
  788. X--- 300,309 ----
  789. X  Y    a yeti
  790. X  Z    a zombie
  791. X  &    a demon
  792. X! :    a lizard
  793. X! ;    a giant eel or other water creature
  794. X! '    a golem;
  795. X!         These creatures, not quite living but not  really  nonliving
  796. X!         either,   are   created from inanimate materials by powerful
  797. X!         mages or priests.
  798. X! ~    the tail of a long worm
  799. X*** auxil/Old/endgame.des    Sun Nov 19 12:20:11 1989
  800. X--- auxil/endgame.des    Mon Nov 13 21:19:10 1989
  801. X***************
  802. X*** 98,115 ****
  803. X  MONSTER:'R',random,(22,04)
  804. X  MONSTER:'R',random,(27,04)
  805. X  # Liches in the second one
  806. X! MONSTER:'l',random,(22,06)
  807. X! MONSTER:'l',random,(27,06)
  808. X! MONSTER:'l',random,(22,08)
  809. X! MONSTER:'l',random,(27,08)
  810. X! MONSTER:'l',random,(22,10)
  811. X! MONSTER:'l',random,(27,10)
  812. X  # Nagas in the 3rd one
  813. X! MONSTER:'n',random,(22,12)
  814. X! MONSTER:'n',random,(27,12)
  815. X! MONSTER:'n',random,(24,14)
  816. X! MONSTER:'n',random,(22,15)
  817. X! MONSTER:'n',random,(27,15)
  818. X  # Dragons in the central one
  819. X  MONSTER:'D',random,(12,02)
  820. X  MONSTER:'D',random,(18,02)
  821. X--- 98,115 ----
  822. X  MONSTER:'R',random,(22,04)
  823. X  MONSTER:'R',random,(27,04)
  824. X  # Liches in the second one
  825. X! MONSTER:'L',random,(22,06)
  826. X! MONSTER:'L',random,(27,06)
  827. X! MONSTER:'L',random,(22,08)
  828. X! MONSTER:'L',random,(27,08)
  829. X! MONSTER:'L',random,(22,10)
  830. X! MONSTER:'L',random,(27,10)
  831. X  # Nagas in the 3rd one
  832. X! MONSTER:'N',random,(22,12)
  833. X! MONSTER:'N',random,(27,12)
  834. X! MONSTER:'N',random,(24,14)
  835. X! MONSTER:'N',random,(22,15)
  836. X! MONSTER:'N',random,(27,15)
  837. X  # Dragons in the central one
  838. X  MONSTER:'D',random,(12,02)
  839. X  MONSTER:'D',random,(18,02)
  840. X*** auxil/Old/help    Sun Nov 19 12:20:24 1989
  841. X--- auxil/help    Fri Oct 20 13:30:18 1989
  842. X***************
  843. X*** 15,22 ****
  844. X  
  845. X      NetHack uses the following symbols:
  846. X  
  847. X!     - and |  The walls of a room.
  848. X!     .     The floor of a room.
  849. X      #     A corridor, or kitchen sink (if your dungeon has sinks).
  850. X      >     A way to the next level.
  851. X      <     A way to the previous level.
  852. X--- 15,22 ----
  853. X  
  854. X      NetHack uses the following symbols:
  855. X  
  856. X!     - and |  The walls of a room, also open doors.
  857. X!     .     The floor of a room or a doorway.
  858. X      #     A corridor, or kitchen sink (if your dungeon has sinks).
  859. X      >     A way to the next level.
  860. X      <     A way to the previous level.
  861. X***************
  862. X*** 31,37 ****
  863. X      (     Some other useful object (pick-axe, key, lamp...)
  864. X      $     A pile of gold.
  865. X      *     A gem or rock (possibly valuable, possibly worthless).
  866. X!     +     A doorway, or a spell book containing a spell
  867. X           you can learn (if your dungeon has spell books).
  868. X      ^     A trap (once you detect it).
  869. X      "      An amulet, or a spider web.
  870. X--- 31,37 ----
  871. X      (     Some other useful object (pick-axe, key, lamp...)
  872. X      $     A pile of gold.
  873. X      *     A gem or rock (possibly valuable, possibly worthless).
  874. X!     +     A closed door, or a spell book containing a spell
  875. X           you can learn (if your dungeon has spell books).
  876. X      ^     A trap (once you detect it).
  877. X      "      An amulet, or a spider web.
  878. X*** auxil/Old/history    Sun Nov 19 12:20:48 1989
  879. X--- auxil/history    Tue Nov 14 20:32:23 1989
  880. X***************
  881. X*** 18,28 ****
  882. X  Mike Stephenson merged these various versions back together, incorporating
  883. X  many of the added features, and produced NetHack version 1.4.  He then
  884. X  coordinated a cast of thousands in enhancing and debugging NetHack 1.4 and 
  885. X! released NetHack versions 2.2 and 2.3.  Later, he coordinated a major rewrite
  886. X! of the game, heading a team which included Ken Arromdee, Jean-Christophe
  887. X! Collet, Steve Creps, Eric Hendrickson, Izchak Miller, Eric S. Raymond, John 
  888. X! Rupley, Mike Threepoint, and Janet Walz, to produce NetHack 3.0. 
  889. X  
  890. X  Olaf Seibert ported NetHack 2.3 and 3.0 to the Amiga.
  891. X  
  892. X  Eric R. Smith ported NetHack 3.0 to the Atari.
  893. X--- 18,30 ----
  894. X  Mike Stephenson merged these various versions back together, incorporating
  895. X  many of the added features, and produced NetHack version 1.4.  He then
  896. X  coordinated a cast of thousands in enhancing and debugging NetHack 1.4 and 
  897. X! released NetHack versions 2.2 and 2.3.
  898. X  
  899. X+ Later, Mike coordinated a major rewrite of the game, heading a team which
  900. X+ included Ken Arromdee, Jean-Christophe Collet, Steve Creps, Eric Hendrickson,
  901. X+ Izchak Miller, Eric S. Raymond, John Rupley, Mike Threepoint, and Janet Walz,
  902. X+ to produce NetHack 3.0. 
  903. X+ 
  904. X  Olaf Seibert ported NetHack 2.3 and 3.0 to the Amiga.
  905. X  
  906. X  Eric R. Smith ported NetHack 3.0 to the Atari.
  907. X***************
  908. X*** 31,42 ****
  909. X  
  910. X  David Gentzel ported NetHack 3.0 to VMS.
  911. X   
  912. X! Johnny Lee ported NetHack 3.0 to Macintosh.
  913. X  
  914. X  From time to time, some depraved individual out there in netland sends a
  915. X  particularly intriguing modification to help out with the game.  The Gods of
  916. X  the Dungeon sometimes make note of the names of the worst of these miscreants
  917. X  in this, the list of Dungeoneers:
  918. X  
  919. X      Tom Almy                  Bruce Holloway         Izchak Miller
  920. X      Ken Arromdee              Richard P. Hughey      Gil Neiger
  921. X--- 33,49 ----
  922. X  
  923. X  David Gentzel ported NetHack 3.0 to VMS.
  924. X   
  925. X! Johnny Lee ported NetHack 3.0 to the Macintosh.
  926. X! 
  927. X! Norm Meluch, Stephen Spackman and Pierre Martineau designed overlay code for
  928. X! PC NetHack 3.0.
  929. X  
  930. X  From time to time, some depraved individual out there in netland sends a
  931. X  particularly intriguing modification to help out with the game.  The Gods of
  932. X  the Dungeon sometimes make note of the names of the worst of these miscreants
  933. X  in this, the list of Dungeoneers:
  934. X+ 
  935. X+ 
  936. X  
  937. X      Tom Almy                  Bruce Holloway         Izchak Miller
  938. X      Ken Arromdee              Richard P. Hughey      Gil Neiger
  939. X*** auxil/Old/opthelp    Sun Nov 19 12:21:36 1989
  940. X--- auxil/opthelp    Mon Oct 30 16:04:06 1989
  941. X***************
  942. X*** 32,37 ****
  943. X--- 32,39 ----
  944. X  
  945. X  Boolean options if DGK was not set at compile time:
  946. X  null        allow nulls to be sent to your terminal  [TRUE]
  947. X+         try turning this option off (forcing NetHack to use its own
  948. X+         delay code) if moving objects seem to teleport across rooms
  949. X  standout    use standout mode for --More-- on messages  [FALSE]
  950. X  
  951. X  Boolean option if TEXTCOLOR was set at compile time:
  952. X***************
  953. X*** 40,47 ****
  954. X  Any Boolean option can be negated by prefixing it with a '!' or 'no'.
  955. X  
  956. X  
  957. X- 
  958. X- 
  959. X   
  960. X  Compound options are written as option_name:option_value.
  961. X  Compound options which can be set during the game are:
  962. X--- 42,47 ----
  963. X***************
  964. X*** 77,83 ****
  965. X          vwall hwall tlcorn trcorn blcorn brcorn       (room boundaries)
  966. X          crwall tuwall tdwall tlwall trwall  (wallified maze characters)
  967. X          vbeam hbeam lslant rslant                (zap beams)
  968. X!         door room corr upstair dnstair trap web pool
  969. X          fountain sink throne altar
  970. X          upladder dnladder vdbridge hdbridge]
  971. X  
  972. X--- 77,84 ----
  973. X          vwall hwall tlcorn trcorn blcorn brcorn       (room boundaries)
  974. X          crwall tuwall tdwall tlwall trwall  (wallified maze characters)
  975. X          vbeam hbeam lslant rslant                (zap beams)
  976. X!         ndoor vodoor hodoor cdoor   (no, vert-open, horiz-open, closed)
  977. X!         room corr upstair dnstair trap web pool
  978. X          fountain sink throne altar
  979. X          upladder dnladder vdbridge hdbridge]
  980. X  
  981. X*** mac/Old/Install.mac    Sun Nov 19 12:22:38 1989
  982. X--- mac/Install.mac    Tue Nov 14 20:10:30 1989
  983. X***************
  984. X*** 22,35 ****
  985. X  4.  Go to the include subdirectory and edit config.h according to the comments
  986. X      to match your system and desired set of features.  Similarly edit
  987. X      macconf.h.  COMPRESS and ZEROCOMP were undefined since I used the
  988. X!     built-in Mac routines PackBits and UnpackBits.  All the options except
  989. X!     for STRONGHOLD were defined.  BITFIELDS was defined in order to come in
  990. X!     under the 32K global data limit.
  991. X  
  992. X      For compilers, you can select from LSC or THINKC4 (or AZTEC if you want to
  993. X      do some work).  If you select AZTEC or LSC (not THINKC4) you'll have to
  994. X!     define KR1ED and SMALLDATA (AZTEC users might be able to get around it).
  995. X!     This sets up a macro which allows older preprocessors to make use of the
  996. X      defined() construct.  (The options in part 4 of config.h have a 1
  997. X      following them to allow the defined() macro to work.)
  998. X      
  999. X--- 22,36 ----
  1000. X  4.  Go to the include subdirectory and edit config.h according to the comments
  1001. X      to match your system and desired set of features.  Similarly edit
  1002. X      macconf.h.  COMPRESS and ZEROCOMP were undefined since I used the
  1003. X!     built-in Mac routines PackBits and UnpackBits.  All the options were
  1004. X!     defined.  BITFIELDS was defined in order to come in under the 32K
  1005. X!     global data limit.
  1006. X  
  1007. X      For compilers, you can select from LSC or THINKC4 (or AZTEC if you want to
  1008. X      do some work).  If you select AZTEC or LSC (not THINKC4) you'll have to
  1009. X!     define KR1ED. SMALLDATA should be defined (AZTEC users might be able
  1010. X!     to get around it).
  1011. X!     KR1ED uses up a macro which allows older preprocessors to make use of the
  1012. X      defined() construct.  (The options in part 4 of config.h have a 1
  1013. X      following them to allow the defined() macro to work.)
  1014. X      
  1015. X***************
  1016. X*** 43,50 ****
  1017. X      "#include hack.h".
  1018. X  
  1019. X      Under the "Set Project Type..." menu, select Application, File type 'APPL',
  1020. X!     Creator 'nh30', Partition 700K, Separate STRS, and select Background Null
  1021. X!     Events and Suspend & Resume Events from the Multifinder Popup menu.
  1022. X  
  1023. X      An executable with all features set, except for STRONGHOLD, will be around
  1024. X      600K in size.
  1025. X--- 44,51 ----
  1026. X      "#include hack.h".
  1027. X  
  1028. X      Under the "Set Project Type..." menu, select Application, File type 'APPL',
  1029. X!     Creator 'nh30', Partition 700K, Separate STRS, and select Multifinder-
  1030. X!     Aware and Suspend & Resume Events from the Multifinder Popup menu.
  1031. X  
  1032. X      An executable with all features set, except for STRONGHOLD, will be around
  1033. X      600K in size.
  1034. X***************
  1035. X*** 96,101 ****
  1036. X--- 97,132 ----
  1037. X      If you're industrious you might try working on the special files.
  1038. X      If you compiled in the special levels, make sure castle, tower?, and
  1039. X      perhaps endgame are there, too.  The lev_comp file will create these.
  1040. X+     You may use precompiled headers here. Just make sure they are the
  1041. X+     first #include or #define in the lev*.c files. THINK C 4 users make sure
  1042. X+     that stdio.h won't try to include itself twice by prepending
  1043. X+     a    #ifndef _H_stdio
  1044. X+         #define _H_stdio
  1045. X+     to the beginning of stdio.h and a corresponding #endif at the end of the
  1046. X+     file.
  1047. X+     A couple of changes needed in lev_lex.c which couldn't be incorporated into
  1048. X+     lev_lex.l (at least not now) if SMALLDATA is used:
  1049. X+     Change
  1050. X+         int yyleng; extern char yytext[];
  1051. X+         int yymorfg;
  1052. X+         extern char *yysptr, yysbuf[];
  1053. X+     to
  1054. X+         int yyleng; extern char *yytext;
  1055. X+         int yymorfg;
  1056. X+         extern char *yysptr, *yysbuf;
  1057. X+     Change
  1058. X+         char yytext[YYLMAX];
  1059. X+     to
  1060. X+         char *yytext;
  1061. X+     Change
  1062. X+         char yysbuf[YYLMAX];
  1063. X+         char *yysptr = yysbuf;
  1064. X+     to
  1065. X+         char *yysbuf;
  1066. X+         char *yysptr;
  1067. X+     You'll probably have to comment out the second #define NLSTATE if you're
  1068. X+     using Think/Lightspeed C.
  1069. X+     There is code in lev_main.c to handle the changes.
  1070. X  
  1071. X  Notes:
  1072. X  
  1073. X*** /dev/null    Sun Nov 19 12:22:59 1989
  1074. X--- mac/Makedefs.rma    Mon Nov 13 22:23:03 1989
  1075. X***************
  1076. X*** 0 ****
  1077. X--- 1,79 ----
  1078. X+ ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1079. X+ ;;
  1080. X+ ;;     Makedefs.rma
  1081. X+ ;;     Rmaker file for NetHack 3 for the Macintosh
  1082. X+ ;;     N.B. You also need the hackfont.hqx file
  1083. X+ ;;
  1084. X+ ;;     Copyright 1989 by Johnny Lee
  1085. X+ ;;
  1086. X+ ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1087. X+ MD.rsrc    ;; name of output file
  1088. X+ 
  1089. X+ 
  1090. X+ Type DLOG
  1091. X+ *findFile dialog
  1092. X+ FindFile,128
  1093. X+ 
  1094. X+ 40 80 100 300
  1095. X+ Invisible NoGoAway
  1096. X+ 1
  1097. X+ 0
  1098. X+ 128
  1099. X+ 
  1100. X+ Type DITL
  1101. X+ *for findFile dlg 4 8 80 212
  1102. X+  ,128
  1103. X+ 1
  1104. X+ 
  1105. X+ statictext disabled
  1106. X+ 4 8 80 212
  1107. X+ Please locate^0 file^1 ^2\Dor press Cancel to abort.
  1108. X+ 
  1109. X+ Type DLOG
  1110. X+ Which option?,200
  1111. X+ 
  1112. X+ 40 40 200 320
  1113. X+ visible noGoAway
  1114. X+ 1
  1115. X+ 0
  1116. X+ 200
  1117. X+ 
  1118. X+ Type DITL
  1119. X+  ,200
  1120. X+ 9
  1121. X+ 
  1122. X+ button
  1123. X+ 116 51 136 111
  1124. X+ OK
  1125. X+ 
  1126. X+ button
  1127. X+ 116 158 136 218
  1128. X+ Cancel
  1129. X+ 
  1130. X+ radioButton
  1131. X+ 15 15 35 75
  1132. X+ data
  1133. X+ 
  1134. X+ radioButton
  1135. X+ 15 95 35 155
  1136. X+ date
  1137. X+ 
  1138. X+ radioButton
  1139. X+ 40 95 60 180
  1140. X+ permonst
  1141. X+ 
  1142. X+ radioButton
  1143. X+ 15 180 35 250
  1144. X+ rumors
  1145. X+ 
  1146. X+ radioButton
  1147. X+ 40 15 60 75
  1148. X+ traps
  1149. X+ 
  1150. X+ radioButton
  1151. X+ 65 15 85 125
  1152. X+ object names
  1153. X+ 
  1154. X+ radioButton
  1155. X+ 65 145 85 270
  1156. X+ monst resource
  1157. X*** /dev/null    Sun Nov 19 12:23:12 1989
  1158. X--- mac/Nethack.rma    Tue Nov 14 20:07:00 1989
  1159. X***************
  1160. X*** 0 ****
  1161. X--- 1,409 ----
  1162. X+ ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1163. X+ ;;
  1164. X+ ;;     Nethack.rma
  1165. X+ ;;     Rmaker file for NetHack 3 for the Macintosh
  1166. X+ ;;     N.B. You also need the hackfont.res file
  1167. X+ ;;
  1168. X+ ;;     Copyright 1989 by Johnny Lee
  1169. X+ ;;
  1170. X+ ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1171. X+ NH3.rsrc    ;; name of output file
  1172. X+ 
  1173. X+ 
  1174. X+ Type ICN# = GNRL
  1175. X+  ,129 (32)
  1176. X+ .H
  1177. X+ 4BBA91A8 6A12AA28 5B13BA30 4A12AA28
  1178. X+ 4B92A9A8 00000010 08000010 09818010
  1179. X+ 0983C010 0983E010 08C3C010 08C18010
  1180. X+ 0863DF90 0867FF90 083FFF90 081BDF90
  1181. X+ 0803DF90 0803DF90 0803CF10 0803C610
  1182. X+ 08000010 08E25710 09055410 08E75610
  1183. X+ 08155410 08E52710 04000020 03FFFFC0
  1184. X+ 00000000 00000000 00000000 00000000
  1185. X+ *
  1186. X+ 7FFFFFFF 7FFFFFFF 7FFFFFFF 7FFFFFFF
  1187. X+ 7FFFFFFF 0FFFFFF0 0FFFFFF0 0FFFFFF0
  1188. X+ 0FFFFFF0 0FFFFFF0 0FFFFFF0 0FFFFFF0
  1189. X+ 0FFFFFF0 0FFFFFF0 0FFFFFF0 0FFFFFF0
  1190. X+ 0FFFFFF0 0FFFFFF0 0FFFFFF0 0FFFFFF0
  1191. X+ 0FFFFFF0 0FFFFFF0 0FFFFFF0 0FFFFFF0
  1192. X+ 0FFFFFF0 0FFFFFF0 07FFFFE0 03FFFFC0
  1193. X+ 00000000 00000000 00000000 00000000
  1194. X+ 
  1195. X+ Type ICN# = GNRL
  1196. X+  ,128 (32)
  1197. X+ .H
  1198. X+ 00000000 00000000 4BBA91A8 6A12AA30
  1199. X+ 5B13BA28 4A12AA28 4B92A9A8 00000000
  1200. X+ 00000000 30000000 38018000 1C03C000
  1201. X+ 0E03E780 0703CF80 03E18880 01C3C880
  1202. X+ 01E7E880 013FF980 001BDB80 0003CE80
  1203. X+ 0003CC80 0003C880 0003E480 0003F380
  1204. X+ 0003B800 00071C00 001E0C00 001C0C00
  1205. X+ 00180E00 001C0F00 00000000 00000000
  1206. X+ *
  1207. X+ 7FFFFFFE FFFFFFFF FFFFFFFD FFFFFFFD
  1208. X+ FFFFFFFD FFFFFFFF FFFFFFFD FFFFFFFF
  1209. X+ FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF
  1210. X+ FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF
  1211. X+ FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF
  1212. X+ FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF
  1213. X+ FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF
  1214. X+ FFFFFF87 FFFFFFD7 FFFFFF93 FFFFFFFF
  1215. X+ 
  1216. X+ Type ICN# = GNRL
  1217. X+  ,130 (32)
  1218. X+ .H
  1219. X+ 4BBA91A8 6A12AA28 5B13BA30 4A12AA28
  1220. X+ 4B92A9A8 00000000 04000020 09818010
  1221. X+ 0983C010 0983E010 08C3C010 08C18010
  1222. X+ 0863DF90 0867FF90 083FFF90 081BDF90
  1223. X+ 0803DF90 0803CF10 0803C610 0803C010
  1224. X+ 08000010 08000010 04000020 00000000
  1225. X+ 7459099C 42951550 61191598 42911550
  1226. X+ 7451C95C 00000000 00000000 00000000
  1227. X+ *
  1228. X+ 7FFFFFFE 7FFFFFFE 7FFFFFFE 7FFFFFFE
  1229. X+ 7FFFFFFE 0FFFFFF0 0FFFFFF0 0FFFFFF0
  1230. X+ 0FFFFFF0 0FFFFFF0 0FFFFFF0 0FFFFFF0
  1231. X+ 0FFFFFF0 0FFFFFF0 0FFFFFF0 0FFFFFF0
  1232. X+ 0FFFFFF0 0FFFFFF0 0FFFFFF0 0FFFFFF0
  1233. X+ 0FFFFFF0 0FFFFFF0 0FFFFFF0 FFFFFFFE
  1234. X+ FFFFFFFE FFFFFFFE FFFFFFFE FFFFFFFE
  1235. X+ FFFFFFFE FFFFFFFE 00000000 00000000
  1236. X+ 
  1237. X+ 
  1238. X+ Type ICN# = GNRL
  1239. X+  ,131 (32)
  1240. X+ .H
  1241. X+ 00000000 4BBA91A8 6A12AA28 5B13BA30
  1242. X+ 4A12AA28 4B92A9A8 00000000 0FFFC000
  1243. X+ 0FFFC000 01800000 3FFFFC00 3FFFFC00
  1244. X+ 0000C000 003FFFF0 003FFFF0 001800C0
  1245. X+ 0FFE00C0 0FFE00C0 018000C0 03FFFFFE
  1246. X+ 03FFFFFE 00000C00 00000C00 00000000
  1247. X+ 023ABA00 0222A200 0232B200 0222A200
  1248. X+ 03B93B80 00000000 00000000 00000000
  1249. X+ *
  1250. X+ FFFFFFFC FFFFFFFC FFFFFFFC FFFFFFFC
  1251. X+ FFFFFFFC FFFFFFFC FFFFFFFC 1FFFE000
  1252. X+ 1FFFE000 7FFFFE00 7FFFFE00 7FFFFE00
  1253. X+ 7FFFFFF8 007FFFF8 007FFFF8 1FFFFFE0
  1254. X+ 1FFFFFE0 1FFFFFE0 0FFFFFFF 0FFFFFFF
  1255. X+ 0FFFFFFF 0FFFFFFC 0FFFFFFC 0FFFFFFC
  1256. X+ 0FFFFFFC 0FFFFFFC 0FFFFFFC 0FFFFFFC
  1257. X+ 0FFFFFFC 0FFFFFFC 00000000 00000000
  1258. X+ 
  1259. X+ Type ICN# = GNRL
  1260. X+  ,132 (32)
  1261. X+ .H
  1262. X+ 00000000 4BBA91A8 6A12AA28 5B13BA30
  1263. X+ 4A12AA28 4B92A9A8 00000000 00C00300
  1264. X+ 014FF280 02300C40 01A00580 00400200
  1265. X+ 00466200 00466200 00400200 00600600
  1266. X+ 00218400 00500A00 019BD980 02281440
  1267. X+ 024BD240 01442280 0083C100 00000000
  1268. X+ 0E325CE0 094B5100 0E4AD8C0 094A5020
  1269. X+ 0E325DC0 00000000 00000000 00000000
  1270. X+ *
  1271. X+ FFFFFFFC FFFFFFFC FFFFFFFC FFFFFFFC
  1272. X+ FFFFFFFC FFFFFFFC FFFFFFFC 01FFFF80
  1273. X+ 03FFFFC0 07FFFFE0 07FFFFE0 03FFFFC0
  1274. X+ 00FFFF00 00FFFF00 00FFFF00 00FFFF00
  1275. X+ 00FFFF00 01FFFF80 03FFFFC0 07FFFFE0
  1276. X+ 07FFFFE0 07FFFFE0 07FFFFE0 FFFFFFFF
  1277. X+ FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF
  1278. X+ FFFFFFFF FFFFFFFF 00000000 00000000
  1279. X+ 
  1280. X+ 
  1281. X+ Type nh30 = STR 
  1282. X+  ,0
  1283. X+ NetHack Version 3.0g for the Macintosh(
  1284. X+ 
  1285. X+ Type HDTA = GNRL
  1286. X+ Apple menu,201
  1287. X+ .H
  1288. X+ 3F00                        ;; ?.
  1289. X+ 
  1290. X+ Type HDTA = GNRL
  1291. X+ File menu,202
  1292. X+ .H
  1293. X+ 4F760012 10005300 51        ;; Ov....S.Q
  1294. X+ 
  1295. X+ Type HDTA = GNRL
  1296. X+ Inventory menu,204
  1297. X+ .H
  1298. X+ 69706444 2C402F43            ;; ipdD,@/C
  1299. X+ 
  1300. X+ Type HDTA = GNRL
  1301. X+ Actions menu,205
  1302. X+ .H
  1303. X+ 61657172 747A5A                ;; aeqrtzZ
  1304. X+ 
  1305. X+ Type HDTA = GNRL
  1306. X+ Preparations menu,206
  1307. X+ .H
  1308. X+ 77505254 57295B3D 5C28        ;; wPRTW)[=\(
  1309. X+ 
  1310. X+ Type HDTA = GNRL
  1311. X+ Movement menu,207
  1312. X+ .H
  1313. X+ 6F630473 3C3E142E 45        ;; oc.s<>..E
  1314. X+ 
  1315. X+ Type HDTA = GNRL
  1316. X+ Edit menu,203
  1317. X+ .H
  1318. X+ 00000000 0000
  1319. X+ 
  1320. X+ Type HDTA = GNRL
  1321. X+ Extended Commands,208
  1322. X+ .H
  1323. X+ 6364666A 6C6D6E6F 70727374 7577    ;; cdfjlmnoprstuw
  1324. X+ 
  1325. X+ Type HDTA = GNRL
  1326. X+ graphics,102
  1327. X+ .H
  1328. X+ 20BACDC9 BBC8BCCE CACBB9CC B3C45C2F
  1329. X+ B0CDBAEF FAB03C3E 5E227D7B 235C5F3C
  1330. X+ 3E232300
  1331. X+ 
  1332. X+ Type HDTA = GNRL
  1333. X+ keymap,103
  1334. X+ .H
  1335. X+ 2E6C0000 0068006A 00000070 6B6D0000
  1336. X+ 0069626A 6E686F6C 79006B75 0000E3E4
  1337. X+ E6EAECED CEEFF2F3 F4F5F78D B6C4C6C2
  1338. X+ B5F6BFA8 A7A0E8B7 0000686C 6A6B
  1339. X+ 
  1340. X+ Type HDTA = GNRL
  1341. X+  ,100
  1342. X+ .H
  1343. X+ 00000002 00000009 064D6F6E 61636F
  1344. X+ 
  1345. X+ Type FREF
  1346. X+ Application,128
  1347. X+  APPL 0
  1348. X+ 
  1349. X+ Type FREF
  1350. X+ Save Char File,129
  1351. X+  SAVE 1
  1352. X+ 
  1353. X+ Type FREF
  1354. X+ Explore file,130
  1355. X+  XPLR 2
  1356. X+ 
  1357. X+ Type FREF
  1358. X+ Level Temp File,131
  1359. X+  LEVL 3
  1360. X+ 
  1361. X+ Type FREF
  1362. X+ Bones File,132
  1363. X+  BONE 4
  1364. X+ 
  1365. X+ Type BNDL
  1366. X+ NetHack for Mac,128
  1367. X+  nh30 0
  1368. X+  ICN#
  1369. X+  0 128 1 129 2 130 3 131 4 132
  1370. X+  FREF
  1371. X+  0 128 1 129 2 130 3 131 4 132
  1372. X+ 
  1373. X+ Type DLOG
  1374. X+ *findFile dialog
  1375. X+ FindFile,128
  1376. X+ 
  1377. X+ 40 80 100 300
  1378. X+ Invisible NoGoAway
  1379. X+ 1
  1380. X+ 0
  1381. X+ 128
  1382. X+ 
  1383. X+ Type DLOG
  1384. X+ *findFile dialog
  1385. X+ About NetHackI,129
  1386. X+ 
  1387. X+ 63 10 263 360
  1388. X+ Invisible NoGoAway
  1389. X+ 1
  1390. X+ 0
  1391. X+ 129
  1392. X+ 
  1393. X+ Type DITL
  1394. X+ *for findFile dlg 4 8 80 212
  1395. X+  ,128
  1396. X+ 1
  1397. X+ 
  1398. X+ statictext disabled
  1399. X+ 4 8 80 212
  1400. X+ Please locate^0 file^1 ^2\Dor press Cancel to abort.
  1401. X+ 
  1402. X+ Type DITL
  1403. X+  ,129
  1404. X+ 8
  1405. X+ 
  1406. X+ button
  1407. X+ 155 60 175 120
  1408. X+ OK
  1409. X+ 
  1410. X+ button
  1411. X+ 155 184 175 274
  1412. X+ More InfoI
  1413. X+ 
  1414. X+ picItem
  1415. X+ 10 28 26 310
  1416. X+ 100
  1417. X+ 
  1418. X+ staticText
  1419. X+ 68 109 86 225
  1420. X+ See license for details.
  1421. X+ 
  1422. X+ staticText
  1423. X+ 36 64 52 291
  1424. X+ Copyright 1985, 1986, 1987, 1988, 1989.
  1425. X+ 
  1426. X+ staticText
  1427. X+ 51 37 69 323
  1428. X+ By Stichting Mathematisch Centrum and Mike Stephenson.
  1429. X+ 
  1430. X+ staticText
  1431. X+ 85 109 140 333
  1432. X+ Bug reports - email t-jlee@microsoft.UUCP or\DJohnny Lee\0D388 Cummer Ave.\DWillowdale, Ont. CANADA M2M 2G2
  1433. X+ 
  1434. X+ staticText
  1435. X+ 97 16 116 110
  1436. X+ Macintosh port by:
  1437. X+ 
  1438. X+ Type MENU
  1439. X+ File,102
  1440. X+ File
  1441. X+ Set options
  1442. X+ Version number
  1443. X+ Invert Screen
  1444. X+ Redraw screen
  1445. X+ Repeat last message
  1446. X+ (-
  1447. X+ Save game
  1448. X+ (-
  1449. X+ Quit
  1450. X+ 
  1451. X+ Type MENU
  1452. X+ Edit,103
  1453. X+ Edit
  1454. X+ Undo    /Z
  1455. X+ (-
  1456. X+ Cut    /X
  1457. X+ Copy    /C
  1458. X+ Paste    /V
  1459. X+ Clear
  1460. X+ 
  1461. X+ Type MENU
  1462. X+ Inventory,104
  1463. X+ Inventory
  1464. X+ Do inventory
  1465. X+ Pay bill
  1466. X+ Drop object
  1467. X+ Drop several objects
  1468. X+ Pick up object
  1469. X+ Toggle pickup
  1470. X+ Identify object
  1471. X+ Name monster
  1472. X+ 
  1473. X+ Type MENU
  1474. X+ Action,105
  1475. X+ Action
  1476. X+ Apply/use object
  1477. X+ Eat object
  1478. X+ Quaff potion
  1479. X+ Read scroll/book
  1480. X+ Throw/shoot weapon
  1481. X+ Zap wand
  1482. X+ Cast spell
  1483. X+ 
  1484. X+ Type MENU
  1485. X+ Prep,106
  1486. X+ Prep
  1487. X+ Wield weapon
  1488. X+ Put on ring
  1489. X+ Remove ring
  1490. X+ Remove armor
  1491. X+ Wear armor
  1492. X+ Current weapon
  1493. X+ Current armor
  1494. X+ Current rings
  1495. X+ Current amulet
  1496. X+ Current tools
  1497. X+ 
  1498. X+ Type MENU
  1499. X+ Move,107
  1500. X+ Move
  1501. X+ Open door
  1502. X+ Close door
  1503. X+ Kick door
  1504. X+ Search
  1505. X+ Go up stairs
  1506. X+ Go down stairs
  1507. X+ Teleport
  1508. X+ Wait
  1509. X+ Engrave message
  1510. X+ 
  1511. X+ Type MENU
  1512. X+ Extended Commands,108
  1513. X+ Extended
  1514. X+ Chat
  1515. X+ Dip object
  1516. X+ Force chest lock
  1517. X+ Jump
  1518. X+ Loot box
  1519. X+ Use monster ability
  1520. X+ Name object
  1521. X+ Offer sacrifice
  1522. X+ Pray
  1523. X+ Rub lamp
  1524. X+ Sit down
  1525. X+ Turn undead
  1526. X+ Untrap object
  1527. X+ Wipe face
  1528. X+ 
  1529. X+ Type PICT = GNRL
  1530. X+  ,100
  1531. X+ .H
  1532. X+ 024C
  1533. X+ 0020  0079 002E 0193
  1534. X+ 11 01 A0 00 82 A0 00 8E 01 00 0A 00 20 00 71 02
  1535. X+ D0 02 40 98 00 24 00 00 00 08 00 0E 01 28 00 00
  1536. X+ 00 08 00 0E 01 22 00 20 00 79 00 2E 01 93 00 01
  1537. X+ 21 0F F8 7E 00 00 7F 3F 80 00 01 E0 00 7E 00 3C
  1538. X+ 00 1E FE 00 06 01 E0 00 00 3F 03 F0 FA 00 02 01
  1539. X+ E0 00 22 05 38 18 00 00 1C 0E FE 00 06 E0 00 E7
  1540. X+ 00 E7 00 3F FD 00 08 E0 00 00 0F 03 C0 00 00 1C
  1541. X+ FC 00 01 E0 00 25 05 3C 18 00 1C 1C 0E FE 00 06
  1542. X+ E0 00 E3 80 E7 00 77 FE 00 0B 70 E0 00 00 0F 87
  1543. X+ C0 00 00 1C 00 07 FE 00 01 E0 00 24 05 3E 18 00
  1544. X+ 1C 1C 0E FE 00 06 E0 00 03 81 C3 80 70 FE 00 06
  1545. X+ 70 E0 00 00 0F 87 C0 FD 00 00 07 FE 00 01 E0 00
  1546. X+ 24 05 3F 18 00 1C 1C 0E FE 00 06 E0 00 03 81 C3
  1547. X+ 80 70 FE 00 06 70 E0 00 00 0F 87 C0 FD 00 00 07
  1548. X+ FE 00 01 E0 00 25 23 37 18 3E 3F 1C 0E 07 81 F0
  1549. X+ EF 80 07 01 C3 81 FC 7E 3D C0 FC FF 07 C0 0D CD
  1550. X+ C0 F0 3E 3C FF 8F C7 E1 FC FF 00 25 23 33 98 77
  1551. X+ 1C 1F FE 1C C3 9C E6 00 3E 01 C3 80 70 E7 1F C0
  1552. X+ 70 F7 8E E0 0D CD C3 98 73 9C 7B C7 0E 73 9C F7
  1553. X+ 80 25 23 33 D8 E3 9C 1C 0E 1C E7 1C EC 00 07 01
  1554. X+ C3 80 71 C3 9E 00 70 E3 9C 70 0D CD C3 9C E3 9C
  1555. X+ 71 C7 1C 3B 0C E3 80 25 23 31 D8 E3 9C 1C 0E 00
  1556. X+ E7 00 F8 00 03 81 C3 80 71 C3 9C 00 70 E3 9C 70
  1557. X+ 0C F9 C0 1C E0 1C 71 C7 1C 3B C0 E3 80 25 23 30
  1558. X+ F8 FF 9C 1C 0E 07 E7 00 F8 00 03 81 C3 80 71 C3
  1559. X+ 9C 00 70 E3 9F F0 0C F9 C0 FC E0 1C 71 C7 1C 39
  1560. X+ F8 E3 80 25 23 30 F8 E0 1C 1C 0E 1C E7 00 FC 00
  1561. X+ 03 81 C3 80 71 C3 9C 00 70 E3 9C 00 0C F9 C3 9C
  1562. X+ E0 1C 71 C7 1C 38 3C E3 80 25 23 30 78 E1 9C 1C
  1563. X+ 0E 38 E7 0C EE 01 C3 80 E7 00 71 C3 9C 00 70 E3
  1564. X+ 9C 30 0C 71 C7 1C E1 9C 71 C7 1C 3B 0C E3 80 25
  1565. X+ 23 30 38 73 9D 9C 0E 39 E3 9C E7 01 C7 1C E7 00
  1566. X+ 70 E7 1C 00 76 E3 8E 70 0C 71 C7 3C 73 9C 71 C7
  1567. X+ 6E 73 9C E3 80 25 23 FC 18 3F 0F 7F 3F 9F F1 F9
  1568. X+ FF C0 FE 1C 3C 00 F8 7E 3E 00 3D F7 C7 E0 3F 77
  1569. X+ F3 FE 3F 3E FB E3 C7 E3 F9 F7 C0 A0 00 8F A0 00
  1570. X+ 83 FF
  1571. X*** mac/Old/Segments.mac    Sun Nov 19 12:23:26 1989
  1572. X--- mac/Segments.mac    Sat Nov 11 17:11:45 1989
  1573. X***************
  1574. X*** 21,26 ****
  1575. X--- 21,27 ----
  1576. X  getline.c
  1577. X  mac.c
  1578. X  macfile.c
  1579. X+ MacTraps
  1580. X  pcmain.c
  1581. X  prisym.c
  1582. X  random.c
  1583. X***************
  1584. X*** 31,37 ****
  1585. X  apply.c
  1586. X  attrib.c
  1587. X  do.c
  1588. X- hack.c
  1589. X  
  1590. X  ===== Seg 3 =====
  1591. X  dog.c
  1592. X--- 32,37 ----
  1593. X***************
  1594. X*** 39,44 ****
  1595. X--- 39,45 ----
  1596. X  dokick.c
  1597. X  dothrow.c
  1598. X  do_name.c
  1599. X+ hack.c
  1600. X  
  1601. X  ===== Seg 4 =====
  1602. X  do_wear.c
  1603. X***************
  1604. X*** 87,95 ****
  1605. X  pray.c
  1606. X  pri.c
  1607. X  priest.c
  1608. X- read.c
  1609. X  
  1610. X  ===== Seg 12 =====
  1611. X  restore.c
  1612. X  rumors.c
  1613. X  save.c
  1614. X--- 88,96 ----
  1615. X  pray.c
  1616. X  pri.c
  1617. X  priest.c
  1618. X  
  1619. X  ===== Seg 12 =====
  1620. X+ read.c
  1621. X  restore.c
  1622. X  rumors.c
  1623. X  save.c
  1624. X***************
  1625. X*** 97,105 ****
  1626. X  sit.c
  1627. X  sounds.c
  1628. X  spell.c
  1629. X- steal.c
  1630. X  
  1631. X  ===== Seg 13 =====
  1632. X  timeout.c
  1633. X  topl.c
  1634. X  track.c
  1635. X--- 98,107 ----
  1636. X  sit.c
  1637. X  sounds.c
  1638. X  spell.c
  1639. X  
  1640. X  ===== Seg 13 =====
  1641. X+ sp_lev.c
  1642. X+ steal.c
  1643. X  timeout.c
  1644. X  topl.c
  1645. X  track.c
  1646. X***************
  1647. X*** 116,122 ****
  1648. X  zap.c
  1649. X  
  1650. X  ===== Seg 15 =====
  1651. X- MacTraps
  1652. X  stdio [LIB]
  1653. X  storage [LIB]
  1654. X  strings [LIB]
  1655. X--- 118,123 ----
  1656. X*** /dev/null    Sun Nov 19 12:23:41 1989
  1657. X--- mac/hackfont.hqx    Fri Oct 27 21:04:33 1989
  1658. X***************
  1659. X*** 0 ****
  1660. X--- 1,66 ----
  1661. X+ This is a binhexed copy of the font resources to be used
  1662. X+ with Nethack 3.0 for the Macintosh.
  1663. X+ Font courtesy of Dave Allverson.
  1664. X+ 
  1665. X+ (This file must be converted with BinHex 4.0)
  1666. X+ :#'C[ER3ZFQ9c!(*cFQ058d9%!3!!!!!!!!!,'ppf!!!!!!%!!!!+c!!!#F`!!!"
  1667. X+ 2E2hbrq*q!@"'5'lrkMm(U!p#CbmZrqUS$6PIrI3pE2d)CQpZG#jbCA0Z!J!!!(*
  1668. X+ cFQ058d9%!!!!J`!E!!!!!!!!FR0bBe*6483!!!#$!"X!!!!!!!!!!!!!!!!!!!!
  1669. X+ !!!#KE8mb!!!!!!!!#a[HIJ&J9%KZrqSr"kJ23QF[,[rUU!djArhd2@cpp2rFI!&
  1670. X+ J,%KXrF)[,[rU2`C1V3(k3QHTVdTICK*+V2h+C``[,[rU2bcp`NkY!J*54QN'['l
  1671. X+ rh'r18NGT"VjZrpj[TL"&)+lrpKmm!!'TQb"V!&`J8#eS!"$rjLmV!'![+`"F6Ud
  1672. X+ "!!!*L*!!!!!!!2i!"J!!rrF!"J!,!lX!#3!#!!!!2`!!!!!!!!!!!!!!!!!!!!!
  1673. X+ !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!E!!!!!!!!!SJJ!!!!!
  1674. X+ !8S!!!'!!!$3!!!3`J!V@X4+!#d"5L%%!J!NUJ+!S!S3S!#S!+%%IJIrJ!r!!!!$
  1675. X+ R!%!!m!!!!%!!!"c!!!!3!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  1676. X+ !!!!!!!#!!!!!!!!!!!$J!+%3"$!)!J8"4!!)""%!!!$!!)*%*YJ!!!44!!!Vm4+
  1677. X+ !#d"5L%%!J!NUJ+!S!S3S!#S!+%%IJIrJ'K!!!!")J+!&"i!!#%!'!"-J!08jl%`
  1678. X+ J!!A,R#qllR!!$R1mlhrZM`aK',[1mlmBaM(r'J)%!"!B)6#!!!!!"!!!!!&6AI)
  1679. X+ T3NJ8S9Ujh`28SLL+G%%Sq)5)5dABJ!553!V@X4+!#d"5L%%!J!NUJ+!S!S3S!#S
  1680. X+ !+%%IJIrJ*J"m!'cSZ)!+#%!N0%!*!"*"lGr@XT+T!!BmBQK!-BJJNBaM'-)4LJb
  1681. X+ K[-BaM%NBa9%0$3%%!"!J)"#!!!!!"!!!!!&9Sr!!!$!!!!"'-!8!!!!!M%N&4)!
  1682. X+ !!'CN!!98!!!Vm4+!#d"5L%%!J!NUJ+!S!S3S!#S!+%%IJIrJ4J!N!"0Ba%"k#(m
  1683. X+ L9%JCF(+"*B95e#&a!!TS3Upi-BeI3HaM#-)3LJdK@XBaM!NBa*%8L!"rR2Gcr6,
  1684. X+ kc[2XriaV'2e3)+FplhZFjb6'-(8FjdBaM&h2aFqG'eCNJ!+U`!V@XI+$qhr5q%%
  1685. X+ !J!RUrlr[r[mVm#[`+r%IJIrZbJq4q4&IaGZAq%$jN!"!j[K6r5@2Z8JKVmq+U)d
  1686. X+ Ja%k)J#+[r3MldrS1)4R(dI1*'-5+*)J!M'-BT'-dec'-F`5-DUL+###SaM'-BaL
  1687. X+ Nrrk[SaM'-BaV!RL4Sac0f4rm-Y-J+rmHr%0#(irrrrrr,L!!)!!!r!rq6ra2rrr
  1688. X+ rm8S&#LN4@-BePJPr)P"r%2L!(5@&&E8K)3!6+32`a*&iAd6dB`M#%BU0)4M'%BK
  1689. X+ *'05%4%J!M'%IT'-meM'-B15-DNL48#$[aM'-2rqNaM$p)aM'-BaT$mL4SaM%!K!
  1690. X+ )3q5DeV(bPrYlm(L!")!*kqrqlrlr!r+$qL[`Rrri%8B&%LN3k-BlTJK!*$"!i2k
  1691. X+ !(58!9V)5!3!5+L)Sa*%)))#%BaM#%BU-S4M'%Ba*&@e%K%J!R'%B*'-beM'-B"5
  1692. X+ DUULK8#*)6R1F)3JNaM#P)aM1FBaV%Pb6ScM(rM!)J153!#[a%T4,5J!!J!5!#5J
  1693. X+ S!UJ#J!"#J%SS3*rrq"&'"5BT%%LU)+8)I`!353"a!!%PJ$T0$!!3BFrF*cL1G3!
  1694. X+ %G(c[IJk2G(mBZJk,L1*'*2iir'qHpk2M-GBZmq(MD48Ar9!F4l@YDplhT-Br[Gc
  1695. X+ R0DpcRH*)MCcBa!(!!1$6+YDa%T4,5J!!J!5!#5JS!UJ#J!"#J%SS3*rrq!lD"Ah
  1696. X+ 1N!$REF"iq%$rmN!!!3!"l3!3!!!!%#!!!!!!!!%!!!!!!!!!!!!!!!!"!!!!!!!
  1697. X+ !)!!!!!!!3#!!!)"!!!!!!)$J"1!!!!%!!!!!!!!!!!!"!!J!$)!!!!!!!!!!!!!
  1698. X+ Vm4+85dS!!)!%J!NS+!+S!S!!3S"++%#IrrJ!3!!!#!!!!!"!$m!!%N!!!!!!!!!
  1699. X+ !!!!!)!!!!!!!!!)!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!$J-!!!)"!!!!!"`!
  1700. X+ !#!!!!!)!!!!!!!!!!!!1!!!!!`!!!!!!!!!!!!V@X4+85dS!!)!%J!NS+!+S!S!
  1701. X+ !3S"++%#IrrJ!!!!!#!!!!!#!!!!!%B!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  1702. X+ !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  1703. X+ !!!%!"!!*!!i!%`!B!"S!(3!J!#8!+J!X!$%!-J!f!$X!23"#!%F!6!"4!&B!@`"
  1704. X+ J!'8!CJ"S!'X!F!"c!(J!I3##!)F!M!#4!*B!Q`#J!+8!U!#Y!,)!Y`#m!-%!aJ$
  1705. X+ ,!0!!e3$D!0m!j!$T!1i!m`$i!2d!r`%$!38"#!%1!4!"&3%D!4m"*!%T!5d"-J%
  1706. X+ h!6J"1`&!!8%"4J&,!9!"93&D!9m"C!&S!@d"FJ&h!A`"J3''!BN"LJ'0!C)"NJ'
  1707. X+ A!C`"S3'Q!DX"X!'e!ES"[`(%!FN"c!(2!G%"eJ(E!H!"j3(U!Hm"p!(j!Ii#!`)
  1708. X+ )!Jd#%J)A!K`#)3)Q!LX#-!)b!MF#2!*"!NB#5J*1!P-#@!*G!Q-#D3*U!Qm#G!*
  1709. X+ j!Ri#J`+%!SJ#M!+4!TB#QJ+I!U)#T`+X!V%#Y3+j!V`#`J,)!XX#d3,A!YS#hJ,
  1710. X+ L!ZB#l!,b![B#r!-#!`J$$J-8!aS$(J-K!b3$+!-Z!c3$1!-l!d%$4`0+!dd$8`0
  1711. X+ C!ei$C!0T!fi$G!0j!hm$K!1*!ii$N`1B!ji$T!1U!l!$Y31i!lX$[J2#!mF$c!2
  1712. X+ 3!p8$eJ2E!pm$i`2Q!q`!"J!'!!B!"J!'!!B!"J!'!!B!"J!'!!B!"J!'!!B!"J!
  1713. X+ '!!B!"J!'!!B!"J!'!!B!"J!'!!B!"J!'!!B!"J!'"JB#"J%'!!B!"J!'!!B#"J%
  1714. X+ '!JB!"J!'!3B!"J)'!3B!"J)'!!B!"J!'!!B!"J!'!!B!"J)'!3B""J!'!3B!"J!
  1715. X+ '!!B!"J!'!!B!"J!'!!B!"J%'!!B!"J!'!!B!"J!'!!B!"J!'!!B!"J!'!!B!"J!
  1716. X+ '!!B!"J)'!3B#"J%'!!B""J!'!!B!"J!'!!B""J!'!!B#"J!'!!B#"J!'!!B!"J!
  1717. X+ '!!B!"J!'!3B!"J!'!!B!"J!'!!B#"J)'!3B!"J!!!!B!"J!'!!B!"J!'!!B!"J!
  1718. X+ '!!B!"J%'!3B""J!'!!B!"J!'!!B!"J!'!!B!"J!'!!B!"J!'!!B!"J!'!!B!"J!
  1719. X+ '!JB!"J!'!!B!"J%'!3B!"J!'!!B!"J!'!`B!"J!'!!B!"J!'!`B!"J!'!!B!"J!
  1720. X+ '!!B#"J!'!!B!"J!'!!B$"J!'!!B$"J!'!!B$"J)'!JB#"J!'!!B#"J!'!!B!"J!
  1721. X+ '!!B!"J)'!`B$"J)'!!B!"J!'!`B!"J!'!!B$"J!'!!B!"J!'!!B!"J!'!!B!"J!
  1722. X+ '!!B!"J!'!!B!"J!'!!B!"J!'!3B""J-'!!B!"J!'!3B!"J)'!!B!"J!'!3B!"[r
  1723. X+ r!!!!2'!!!*F!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  1724. X+ !!!!!!!!!!!%!!!!*!!",L3!!!3!!!!V-!!!*c!!!!%m!*Pad"lJ!!!!F!%B!!8C
  1725. X+ 26P3!!!!54Np14!!!!"j,LIrr)!!!!!!R!E`!P`!!"3!*M!!R!CJ)5'&MDdC[ER3
  1726. X+ 2'3:
  1727. X*** mac/Old/mac.c    Sun Nov 19 12:23:53 1989
  1728. X--- mac/mac.c    Tue Nov 14 20:31:40 1989
  1729. X***************
  1730. X*** 62,67 ****
  1731. X--- 62,68 ----
  1732. X      GetPort(&oldPort);
  1733. X      SetPort(HackWindow);
  1734. X      while (!ch) {
  1735. X+         keyCode = 0;
  1736. X          GetPort(&oldPort1);
  1737. X          SetPort((GrafPtr)HackWindow);
  1738. X          /* do cursor blinking */
  1739. X***************
  1740. X*** 436,442 ****
  1741. X      TextFont(t->fontNum);
  1742. X      TextSize(t->fontSize);
  1743. X      TextMode(srcCopy);
  1744. X-     macflags &= ~0x1000;
  1745. X      /* a termcap-type escape string */
  1746. X      if (!strncmp(s, "\033[", 2)) {
  1747. X          switch(*(s + 2)) {
  1748. X--- 437,442 ----
  1749. X***************
  1750. X*** 444,453 ****
  1751. X              if (t->inColor) {
  1752. X              temp = (short)(*(s + 3) - 'a');
  1753. X              if (temp >= BLACK && temp < MAXCOLORS &&
  1754. X!                 (temp % (MAXCOLORS / 2) != GRAY))    /* set colour */
  1755. X                  ForeColor(t->color[temp % (MAXCOLORS / 2)]);
  1756. X              if (temp == GRAY)
  1757. X!                 macflags |= 0x1000;
  1758. X               /* yellow fgnd hard to see on white bgnd */
  1759. X               /* so change to green background */
  1760. X              if (temp == YELLOW || temp == BROWN)
  1761. X--- 444,453 ----
  1762. X              if (t->inColor) {
  1763. X              temp = (short)(*(s + 3) - 'a');
  1764. X              if (temp >= BLACK && temp < MAXCOLORS &&
  1765. X!                 (temp % (MAXCOLORS / 2) != GRAY)) /* set colour */
  1766. X                  ForeColor(t->color[temp % (MAXCOLORS / 2)]);
  1767. X              if (temp == GRAY)
  1768. X!                         ForeColor(t->color[0]);
  1769. X               /* yellow fgnd hard to see on white bgnd */
  1770. X               /* so change to green background */
  1771. X              if (temp == YELLOW || temp == BROWN)
  1772. X***************
  1773. X*** 532,538 ****
  1774. X          
  1775. X          if (sLen) {
  1776. X          while (stmp < (s + sLen)) {
  1777. X!             temp = (x + charleft - 1 < t->maxCol) ? sLen : t->maxCol - x;
  1778. X              savech = '\0';
  1779. X              c1 = stmp + temp;    /* point to the char after the end */
  1780. X              c = index(stmp, '\n');
  1781. X--- 532,538 ----
  1782. X          
  1783. X          if (sLen) {
  1784. X          while (stmp < (s + sLen)) {
  1785. X!             temp = (x + charleft - 1 < t->maxCol) ? charleft : t->maxCol - x;
  1786. X              savech = '\0';
  1787. X              c1 = stmp + temp;    /* point to the char after the end */
  1788. X              c = index(stmp, '\n');
  1789. X***************
  1790. X*** 623,639 ****
  1791. X          SysBeep(1);
  1792. X      } else if ((c != '\n') && (c != '\r')) {
  1793. X          t->screen[y][x] = c;
  1794. X-         if (macflags & 0x1000) {
  1795. X-             eraseRect.top = cur.v -t->ascent;
  1796. X-             eraseRect.bottom = eraseRect.top + t->height;
  1797. X-             eraseRect.left = cur.h;
  1798. X-             eraseRect.right = cur.h + t->charWidth;
  1799. X-             GetPenState(&pnState);
  1800. X-             FillRect(&eraseRect, dkGray);
  1801. X-             SetPenState(&pnState);
  1802. X-             macflags &= ~0x1000;
  1803. X-             TextMode(srcOr);
  1804. X-         }
  1805. X          DrawText(&c, 0, 1);
  1806. X          if (!savech)
  1807. X              t->tcur_x++;
  1808. X--- 623,628 ----
  1809. X***************
  1810. X*** 812,818 ****
  1811. X      } else {
  1812. X          while (!itemHit) {
  1813. X              if (GetNextEvent(everyEvent,&theEvent))
  1814. X!                 if (theEvent.what == mouseDown)
  1815. X                      itemHit = OK_BUTTON;
  1816. X          }
  1817. X      }
  1818. X--- 801,809 ----
  1819. X      } else {
  1820. X          while (!itemHit) {
  1821. X              if (GetNextEvent(everyEvent,&theEvent))
  1822. X!                 if (theEvent.what == mouseDown ||
  1823. X!                           theEvent.what == keyDown ||
  1824. X!                       theEvent.what == autoKey)
  1825. X                      itemHit = OK_BUTTON;
  1826. X          }
  1827. X      }
  1828. X*** mac/Old/macfile.c    Sun Nov 19 12:24:28 1989
  1829. X--- mac/macfile.c    Tue Nov 14 20:31:44 1989
  1830. X***************
  1831. X*** 79,86 ****
  1832. X   */
  1833. X  
  1834. X  FILE *
  1835. X! openFile(fileName)
  1836. X! char    *fileName;
  1837. X  {
  1838. X      term_info *t;
  1839. X      SFReply    reply;
  1840. X--- 79,86 ----
  1841. X   */
  1842. X  
  1843. X  FILE *
  1844. X! openFile(fileName, rdmode)
  1845. X! char    *fileName, *rdmode;
  1846. X  {
  1847. X      term_info *t;
  1848. X      SFReply    reply;
  1849. X***************
  1850. X*** 89,96 ****
  1851. X      t = (term_info *)GetWRefCon(HackWindow);
  1852. X      if (t->auxFileVRefNum) {
  1853. X          SetVol(0L,t->auxFileVRefNum);
  1854. X!     }
  1855. X!     fp = fopen(fileName,"r");
  1856. X      if (!fp && findNamedFile(fileName,2,&reply)) {
  1857. X          if (reply.good) {
  1858. X              t->auxFileVRefNum = reply.vRefNum;
  1859. X--- 89,99 ----
  1860. X      t = (term_info *)GetWRefCon(HackWindow);
  1861. X      if (t->auxFileVRefNum) {
  1862. X          SetVol(0L,t->auxFileVRefNum);
  1863. X!     } else
  1864. X!         SetVol(0L, t->recordVRefNum);
  1865. X! 
  1866. X!     reply.good = false;
  1867. X!     fp = fopen(fileName, rdmode);
  1868. X      if (!fp && findNamedFile(fileName,2,&reply)) {
  1869. X          if (reply.good) {
  1870. X              t->auxFileVRefNum = reply.vRefNum;
  1871. X***************
  1872. X*** 97,104 ****
  1873. X          }
  1874. X      }
  1875. X      if (!fp)
  1876. X!         fp = fopen(fileName,"r");
  1877. X!     else if (!t->auxFileVRefNum) {
  1878. X          (void)GetVol((StringPtr)&reply.fName,&t->auxFileVRefNum);
  1879. X      }
  1880. X      return fp;
  1881. X--- 100,107 ----
  1882. X          }
  1883. X      }
  1884. X      if (!fp)
  1885. X!         fp = fopen(fileName, rdmode);
  1886. X!     else if (!t->auxFileVRefNum && reply.good) {
  1887. X          (void)GetVol((StringPtr)&reply.fName,&t->auxFileVRefNum);
  1888. X      }
  1889. X      return fp;
  1890. X*** mac/Old/macinit.c    Sun Nov 19 12:24:45 1989
  1891. X--- mac/macinit.c    Tue Nov  7 14:26:00 1989
  1892. X***************
  1893. X*** 238,243 ****
  1894. X--- 238,258 ----
  1895. X          panic("Can't get MONST resource data.");
  1896. X      }
  1897. X      
  1898. X+     temp = GetResource(HACK_DATA, OBJECT_DATA);
  1899. X+     if (temp) {
  1900. X+         DetachResource(temp);
  1901. X+         MoveHHi(temp);
  1902. X+         HLock(temp);
  1903. X+         i = GetHandleSize(temp);
  1904. X+         objects = (struct objclass *)(*temp);
  1905. X+         for (j = 0; j< NROFOBJECTS+1; j++) {
  1906. X+             objects[j].oc_name = sm_obj[j].oc_name;
  1907. X+             objects[j].oc_descr = sm_obj[j].oc_descr;
  1908. X+         }
  1909. X+     } else {
  1910. X+         panic("Can't get OBJECT resource data.");
  1911. X+     }
  1912. X+     
  1913. X      (void)aboutBox(0);    
  1914. X      return 0;
  1915. X  }
  1916. X***************
  1917. X*** 258,263 ****
  1918. X--- 273,279 ----
  1919. X  {
  1920. X      short    i;
  1921. X      char    *l;
  1922. X+     extern char **Map;
  1923. X      
  1924. X      l = calloc(COLNO , sizeof(struct rm **));
  1925. X      level.locations = (struct rm **)l;
  1926. X***************
  1927. X*** 285,290 ****
  1928. X--- 301,314 ----
  1929. X      level.objlist = (struct obj *)0L;
  1930. X      level.monlist = (struct monst *)0L;
  1931. X      
  1932. X+ l = calloc(COLNO, sizeof(char *));
  1933. X+ Map = (char **)l;
  1934. X+ l = calloc(ROWNO * COLNO, sizeof(char));
  1935. X+ for (i = 0; i < COLNO; i++) {
  1936. X+     Map[i] = 
  1937. X+     (char *)(l + (i * ROWNO * sizeof(char)));
  1938. X+ }
  1939. X+ 
  1940. X  }
  1941. X  
  1942. X  /* Since NetHack usually exits before reaching end of main()    */
  1943. X*** mac/Old/nethack.r    Sun Nov 19 12:25:23 1989
  1944. X--- mac/nethack.r    Mon Nov 13 22:25:21 1989
  1945. X***************
  1946. X*** 313,319 ****
  1947. X  
  1948. X  data 'HDTA' (102, "graphics") {
  1949. X      $"20 BA CD C9 BB C8 BC CE CA CB B9 CC B3 C4 5C 2F"/*  :MI;H<NJK9L3D\/ */
  1950. X!     $"EF FA B0 3C 3E 5E 22 7D 7B 23 5C 5F 3C 3E 23 23"/* ..0<>^"}{#\_<>## */
  1951. X  };
  1952. X  
  1953. X  data 'HDTA' (103, "keymap") {
  1954. X--- 313,320 ----
  1955. X  
  1956. X  data 'HDTA' (102, "graphics") {
  1957. X      $"20 BA CD C9 BB C8 BC CE CA CB B9 CC B3 C4 5C 2F"/*  :MI;H<NJK9L3D\/ */
  1958. X!     $"B0 CD BA EF FA B0 3C 3E 5E 22 7D 7B 23 5C 5F 3C"/* ..0<>^"}{#\_<>## */
  1959. X!     $"3E 23 23 00"
  1960. X  };
  1961. X  
  1962. X  data 'HDTA' (103, "keymap") {
  1963. END_OF_FILE
  1964. if test 53204 -ne `wc -c <'patches06a'`; then
  1965.     echo shar: \"'patches06a'\" unpacked with wrong size!
  1966. fi
  1967. # end of 'patches06a'
  1968. fi
  1969. echo shar: End of archive 10 \(of 15\).
  1970. cp /dev/null ark10isdone
  1971. MISSING=""
  1972. for I in 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 ; do
  1973.     if test ! -f ark${I}isdone ; then
  1974.     MISSING="${MISSING} ${I}"
  1975.     fi
  1976. done
  1977. if test "${MISSING}" = "" ; then
  1978.     echo You have unpacked all 15 archives.
  1979.     rm -f ark[1-9]isdone ark[1-9][0-9]isdone
  1980. else
  1981.     echo You still need to unpack the following archives:
  1982.     echo "        " ${MISSING}
  1983. fi
  1984. ##  End of shell archive.
  1985. exit 0
  1986.