home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 October / usenetsourcesnewsgroupsinfomagicoctober1994disk2.iso / games / volume9 / umoria3 / patch1a / patches01 < prev   
Encoding:
Text File  |  1990-06-08  |  38.1 KB  |  1,365 lines

  1. diff -cr oldumoria/CHANGES umoria/CHANGES
  2. *** oldumoria/CHANGES    Thu May 10 11:49:31 1990
  3. --- umoria/CHANGES    Sun May 27 15:38:31 1990
  4. ***************
  5. *** 602,604
  6.   resource.hqx: recompiled the mac resource files
  7.   macscore.c, mac.c: changed control characters '...' to \311
  8.   all: distribute version 5.2.0
  9.  
  10. --- 602,656 -----
  11.   resource.hqx: recompiled the mac resource files
  12.   macscore.c, mac.c: changed control characters '...' to \311
  13.   all: distribute version 5.2.0
  14. + ----------- 5/14
  15. + death.c, externs.h, io.c, ms_misc.c: Turbo C changes, void sleep() instead
  16. +     of unsigned sleep(), don't call reset_term() before exiting, ifdef
  17. +     out definition of sleep() in ms_misc.c, declare signal handler as
  18. +     void not int
  19. + generate.c, types.h: change IBMPC_TURBO_C defines to the proper TURBOC define
  20. + io.c: shell_out(), MSDOS code parameter to inkey() call deleted
  21. + externs.h: count_msg_print() changed from (int) to (char *)
  22. + io.c: get_check(), add code to use 'y' if LINT_ARGS defined, pause_exit()
  23. +     add code to use 'delay' for MSDOS machines
  24. + ms_misc.c: clear_screen(0,0) changed to clear_screen()
  25. + main.c: set stack size for TURBOC by declaring the _stksize variable
  26. + misc2.c: player_saves(), split expression up because MPW C couldn't handle it
  27. + save.c: include time.h for for the Mac, delete var 'i' in save_char (unused),
  28. +     get_char() add code for MAC to return FALSE if savefile doesn't exist
  29. + mac.c: add call to initsavedefaults() in main()
  30. + mac/ERRORS: document problem with mac Makefile
  31. + -------- 5/15
  32. + externs.h: remove decl of py_bash(), which is in moria2.c and static
  33. + --------- 5/17
  34. + dungeon.c: move search_off() call after check_view(), as panel_* variables
  35. +     must be valid before search_off() is called
  36. + -------- 5/18
  37. + all: 7 files did not end with newlines, 5 hqx files, and origcmds.hlp,
  38. +     misc/README also did not end with a newline
  39. + -------- 5/21
  40. + constant.h, version.hlp, moria.r: change version number to 5.2.1
  41. + ScrnMgr.doc: split all lines greater than 80 characters, to make the file
  42. +     more portable
  43. + --------- 5/22
  44. + death.c: in mac sources, there was a 'true' instead of a 'TRUE'
  45. + ms_misc.c: Turbo C sscanf() incorrectly reads a newline from a blank line,
  46. +     add check for newline to code that reads configuration file
  47. + spells.c: door_creation(), called popt() before calling delete_object()
  48. +     which could then invalidate the value returned by popt, moved
  49. +     popt() call after the delete_object() call
  50. + ----------- 5/25
  51. + creature.c: fix the invincible/invisible monster bug, multiply_monster()
  52. +     was creating children on top of the parent, thus killing the parent
  53. +     for carnivorous monsters
  54. + death.c, externs.h, generate.c, io.c, main.c, ms_misc.c, signals.c, types.h:
  55. +     change all TURBOC defines to __TURBOC__
  56. + util/printit: new version of the printit program by Carl Hommel, fixed up
  57. +     to be somewhat more portable and to use only moria defined constants 
  58. + -------- 5/27
  59. + player.c, tables.c, variable.c: Turbo C can not accept any file with more than
  60. +     64K global variables, so variable.c split into three parts, also
  61. +     updated all makefiles to refer to all three files
  62. + mac files: all three mac Makefiles modified to delete obsolete references to
  63. +     CInterface.o and CRuntime.o, scrnmgr Makefile modified to automatically
  64. +     combine the two ScrnMgr.c parts, README updated to document a problem
  65. +     with the Makefile not appending resources and text files sometimes
  66. diff -cr oldumoria/ERRORS umoria/ERRORS
  67. *** oldumoria/ERRORS    Thu May 10 11:37:10 1990
  68. --- umoria/ERRORS    Sun May 27 15:38:29 1990
  69. ***************
  70. *** 1,3
  71.   for Atari ST, find and fix rest of the &/| long constant problems, esp. see
  72.   moria1.c
  73.   
  74.  
  75. --- 1,23 -----
  76. + on some unknown version of Sun OS, with some unknown compiler version,
  77. + on a Sun 3/80, umoria core dumps while restoring a savefile if compiled
  78. + with -O2, works if compiled with -O1
  79. + mac version does not clear screen properly when running a second
  80. + character, try looking for variables which should be cleared but aren't,
  81. + especially the race display, and object pointers
  82. + typing escape to the wizard mode change character prompts does not
  83. + clear the message line
  84. + can actually get the 'internal error in identify scroll' message, user had
  85. + two(one?) unidentified identify scrolls, and one known identify scroll,
  86. + read the known one, identified the unknown ones, got the combining message,
  87. + and then got the internal error message
  88. + need to clear the heavy_weapon state everytime a new weapon is wielded,
  89. + so that you don't get 'can wield' message when going from heavy to light,
  90. + but you do get a 'can't' wield' message when going from heavy to heavy
  91.   for Atari ST, find and fix rest of the &/| long constant problems, esp. see
  92.   moria1.c
  93.   
  94. ***************
  95. *** 13,22
  96.   I did this, note the def of errno in files.c for MSDOS
  97.   
  98.   clock in misc1.c needs to be changed, Mac (TC?) defines this
  99. - i believe it is possible for two oozes to eat each other, and this
  100. - will cause problems; there definitely IS a bug in the m_list code
  101. - somewhere
  102.   
  103.   a few routines still equate '\0' with ESCAPE, such as get_com(),
  104.   fix them to ignore NULL characters?,  also get_com() should echo "escape"
  105.  
  106. --- 33,38 -----
  107.   I did this, note the def of errno in files.c for MSDOS
  108.   
  109.   clock in misc1.c needs to be changed, Mac (TC?) defines this
  110.   
  111.   a few routines still equate '\0' with ESCAPE, such as get_com(),
  112.   fix them to ignore NULL characters?,  also get_com() should echo "escape"
  113. diff -cr oldumoria/README umoria/README
  114. *** oldumoria/README    Wed May  9 16:05:57 1990
  115. --- umoria/README    Mon May 21 00:41:02 1990
  116. ***************
  117. *** 3,9
  118.   second major release of the game.  These sources have been compiled
  119.   successfully at least once in the following environments: UNIX (4.2 BSD,
  120.   4.3 BSD, SYS V, Xenix, and many similar systems), IBM-PC (MSC 5.0,
  121. ! Turbo C 4.0), Mac (MPW 3.0), Atari ST (MWC, GCC).  VMS and Mac (Think C 4.0)
  122.   ports are in progress.
  123.   
  124.   I consider these to be beta sources.  That means they will probably work
  125.  
  126. --- 3,9 -----
  127.   second major release of the game.  These sources have been compiled
  128.   successfully at least once in the following environments: UNIX (4.2 BSD,
  129.   4.3 BSD, SYS V, Xenix, and many similar systems), IBM-PC (MSC 5.0,
  130. ! Turbo C 2.0), Mac (MPW 3.0), Atari ST (MWC, GCC).  VMS and Mac (Think C 4.0)
  131.   ports are in progress.
  132.   
  133.   I consider these to be beta sources.  That means they will probably work
  134. diff -cr oldumoria/atari_st/Makefile umoria/atari_st/Makefile
  135. *** oldumoria/atari_st/Makefile    Mon Feb 26 21:27:46 1990
  136. --- umoria/atari_st/Makefile    Sun May 27 15:48:08 1990
  137. ***************
  138. *** 12,18
  139.       generate.c sets.c dungeon.c creature.c death.c eat.c help.c magic.c\
  140.       potions.c prayer.c save.c staffs.c wands.c scrolls.c spells.c\
  141.       wizard.c store2.c signals.c moria1.c moria2.c monsters.c\
  142. !     treasure.c variable.c rnd.c recall.c atarist.c undef.c
  143.   
  144.   OBJS = main.o misc1.o misc2.o store1.o files.o io.o create.o desc.o\
  145.       generate.o sets.o dungeon.o creature.o death.o eat.o help.o magic.o\
  146.  
  147. --- 12,19 -----
  148.       generate.c sets.c dungeon.c creature.c death.c eat.c help.c magic.c\
  149.       potions.c prayer.c save.c staffs.c wands.c scrolls.c spells.c\
  150.       wizard.c store2.c signals.c moria1.c moria2.c monsters.c\
  151. !     treasure.c variable.c rnd.c recall.c atarist.c undef.c\
  152. !     player.c tables.c
  153.   
  154.   OBJS = main.o misc1.o misc2.o store1.o files.o io.o create.o desc.o\
  155.       generate.o sets.o dungeon.o creature.o death.o eat.o help.o magic.o\
  156. ***************
  157. *** 18,24
  158.       generate.o sets.o dungeon.o creature.o death.o eat.o help.o magic.o\
  159.       potions.o prayer.o save.o staffs.o wands.o scrolls.o spells.o\
  160.       wizard.o store2.o signals.o moria1.o moria2.o monsters.o\
  161. !     treasure.o variable.o rnd.o recall.o atarist.o undef.o curses.o
  162.   
  163.   LIBFILES = moria_hours moria_help moria_orig_help moria_wiz_help \
  164.       moria_orig_wiz_help moria_man
  165.  
  166. --- 19,26 -----
  167.       generate.o sets.o dungeon.o creature.o death.o eat.o help.o magic.o\
  168.       potions.o prayer.o save.o staffs.o wands.o scrolls.o spells.o\
  169.       wizard.o store2.o signals.o moria1.o moria2.o monsters.o\
  170. !     treasure.o variable.o rnd.o recall.o atarist.o undef.o curses.o\
  171. !     player.o tables.o
  172.   
  173.   LIBFILES = moria_hours moria_help moria_orig_help moria_wiz_help \
  174.       moria_orig_wiz_help moria_man
  175. ***************
  176. *** 84,89
  177.   monsters.o: constant.h types.h config.h
  178.   moria1.o: constant.h types.h externs.h config.h
  179.   moria2.o: constant.h types.h externs.h config.h
  180.   potions.o: constant.h types.h externs.h config.h
  181.   prayer.o: constant.h types.h externs.h config.h
  182.   recall.o: constant.h config.h types.h externs.h
  183.  
  184. --- 86,92 -----
  185.   monsters.o: constant.h types.h config.h
  186.   moria1.o: constant.h types.h externs.h config.h
  187.   moria2.o: constant.h types.h externs.h config.h
  188. + player.o: constant.h types.h config.h
  189.   potions.o: constant.h types.h externs.h config.h
  190.   prayer.o: constant.h types.h externs.h config.h
  191.   recall.o: constant.h config.h types.h externs.h
  192. ***************
  193. *** 96,101
  194.   staffs.o: constant.h types.h externs.h config.h
  195.   store1.o: constant.h types.h externs.h config.h
  196.   store2.o: constant.h types.h externs.h config.h
  197.   treasure.o: constant.h types.h config.h
  198.   atarist.o: constant.h config.h types.h externs.h
  199.   variable.o: constant.h types.h config.h
  200.  
  201. --- 99,105 -----
  202.   staffs.o: constant.h types.h externs.h config.h
  203.   store1.o: constant.h types.h externs.h config.h
  204.   store2.o: constant.h types.h externs.h config.h
  205. + tables.o: constant.h types.h config.h
  206.   treasure.o: constant.h types.h config.h
  207.   atarist.o: constant.h config.h types.h externs.h
  208.   variable.o: constant.h types.h config.h
  209. diff -cr oldumoria/files/version.hlp umoria/files/version.hlp
  210. *** oldumoria/files/version.hlp    Wed May  9 15:11:55 1990
  211. --- umoria/files/version.hlp    Mon May 21 16:53:08 1990
  212. ***************
  213. *** 52,55
  214.     not for profit purposes provided that this copyright and statement are
  215.     included in all such copies.
  216.   
  217. ! Umoria Version 5.2, patch level 0
  218.  
  219. --- 52,55 -----
  220.     not for profit purposes provided that this copyright and statement are
  221.     included in all such copies.
  222.   
  223. ! Umoria Version 5.2, patch level 1
  224. diff -cr oldumoria/ibmpc/MLINK.LNK umoria/ibmpc/MLINK.LNK
  225. *** oldumoria/ibmpc/MLINK.LNK    Fri May  4 16:50:21 1990
  226. --- umoria/ibmpc/MLINK.LNK    Sun May 27 15:43:37 1990
  227. ***************
  228. *** 4,7
  229.   POTIONS+PRAYER+RND+SAVE+
  230.   SCROLLS+SETS+SIGNALS+SPELLS+STAFFS+
  231.   STORE1+STORE2+TREASURE+VARIABLE+
  232. ! WANDS+WIZARD+IO+MS_MISC+UNDEF+RECALL,moria,,pccurses
  233.  
  234. --- 4,8 -----
  235.   POTIONS+PRAYER+RND+SAVE+
  236.   SCROLLS+SETS+SIGNALS+SPELLS+STAFFS+
  237.   STORE1+STORE2+TREASURE+VARIABLE+
  238. ! WANDS+WIZARD+IO+MS_MISC+UNDEF+RECALL+
  239. ! PLAYER.C+TABLES.C,moria,,pccurses
  240. diff -cr oldumoria/ibmpc/MORIA.CNF umoria/ibmpc/MORIA.CNF
  241. *** oldumoria/ibmpc/MORIA.CNF    Fri May  4 16:50:07 1990
  242. --- umoria/ibmpc/MORIA.CNF    Mon May 14 13:54:08 1990
  243. ***************
  244. *** 1,4
  245. ! # Configuration file for PC MORIA 4.87
  246.   #
  247.   # All lines that have the # character as the first character are
  248.   # comment lines.  Blank lines are totally ignored.
  249.  
  250. --- 1,4 -----
  251. ! # Configuration file for PC MORIA 5.x
  252.   #
  253.   # All lines that have the # character as the first character are
  254.   # comment lines.  Blank lines are totally ignored.
  255. diff -cr oldumoria/ibmpc/ms_misc.c umoria/ibmpc/ms_misc.c
  256. *** oldumoria/ibmpc/ms_misc.c    Tue Mar 27 14:27:05 1990
  257. --- umoria/ibmpc/ms_misc.c    Fri May 25 17:14:13 1990
  258. ***************
  259. *** 57,62
  260.       return cp;
  261.   }
  262.   
  263.   unsigned int
  264.   sleep(secs)
  265.   int    secs;
  266.  
  267. --- 57,63 -----
  268.       return cp;
  269.   }
  270.   
  271. + #ifndef __TURBOC__
  272.   unsigned int
  273.   sleep(secs)
  274.   int    secs;
  275. ***************
  276. *** 68,73
  277.           /* nothing */;
  278.       return 0;
  279.   }
  280.   
  281.   void
  282.   error(fmt, a1, a2, a3, a4)
  283.  
  284. --- 69,75 -----
  285.           /* nothing */;
  286.       return 0;
  287.   }
  288. + #endif
  289.   
  290.   void
  291.   error(fmt, a1, a2, a3, a4)
  292. ***************
  293. *** 153,159
  294.               continue;
  295.   
  296.           cnt = sscanf(buf, "%s", opt);
  297. !         if (cnt == 0 || opt[0] == '\0')
  298.               continue;
  299.   
  300.           /* Go through possible variables
  301.  
  302. --- 155,163 -----
  303.               continue;
  304.   
  305.           cnt = sscanf(buf, "%s", opt);
  306. !         /* Turbo C will incorrectly read a newline from an empty line,
  307. !            MSC will read correctly read a NULL character */
  308. !         if (cnt == 0 || opt[0] == '\0' || opt[0] == '\n')
  309.               continue;
  310.   
  311.           /* Go through possible variables
  312. ***************
  313. *** 382,388
  314.   {
  315.           char buf[80];
  316.   
  317. !     clear_screen(0, 0);
  318.           wmove(stdscr,0,0); 
  319.       waddstr(stdscr,"                         *********************");
  320.       wmove(stdscr,1,0);
  321.  
  322. --- 386,392 -----
  323.   {
  324.           char buf[80];
  325.   
  326. !     clear_screen();
  327.           wmove(stdscr,0,0); 
  328.       waddstr(stdscr,"                         *********************");
  329.       wmove(stdscr,1,0);
  330. diff -cr oldumoria/mac/README umoria/mac/README
  331. *** oldumoria/mac/README    Sun Mar  4 03:38:31 1990
  332. --- umoria/mac/README    Sun May 27 15:32:40 1990
  333. ***************
  334. *** 28,30
  335.   
  336.       a.    Set the directory to "{NewDir}"
  337.       b.    Build (cmd-B) "Moria" (or execute "BuildProgram Moria").
  338.  
  339. --- 28,34 -----
  340.   
  341.       a.    Set the directory to "{NewDir}"
  342.       b.    Build (cmd-B) "Moria" (or execute "BuildProgram Moria").
  343. +     c.  If Moria doesn't seem to work right, it is probably because
  344. +         the resource and text files weren't appended to the application.
  345. +         Either delete the file Moria and rebuild, or else execute by hand
  346. +         the commands which append the resources and text files.
  347. diff -cr oldumoria/mac/mac.c umoria/mac/mac.c
  348. *** oldumoria/mac/mac.c    Thu May 10 11:42:44 1990
  349. --- umoria/mac/mac.c    Mon May 14 19:11:52 1990
  350. ***************
  351. *** 1674,1679
  352.       
  353.       restart_flag = FALSE;
  354.       
  355.       /* Find out if user has started from a saved game */
  356.       savedgame = getfinderfile();
  357.       
  358.  
  359. --- 1674,1681 -----
  360.       
  361.       restart_flag = FALSE;
  362.       
  363. +     initsavedefaults ();
  364.       /* Find out if user has started from a saved game */
  365.       savedgame = getfinderfile();
  366.       
  367. diff -cr oldumoria/mac/macdata.c umoria/mac/macdata.c
  368. *** oldumoria/mac/macdata.c    Sun Mar  4 03:38:35 1990
  369. --- umoria/mac/macdata.c    Sun May 27 15:19:27 1990
  370. ***************
  371. *** 1,7
  372.   /* This program creates the initialized global data resources.        */
  373.   /* It is compiled as an MPW tool.                                    */
  374.   
  375. ! /* Monsters.c, treasur1.c, treasur2.c, variable.c are included.        */
  376.   /* But, when this program is built, the compiler is instructed to    */
  377.   /* actually include the initialized global data.  We just copy it    */
  378.   /* into resource handles and dump them to the executable.            */
  379.  
  380. --- 1,7 -----
  381.   /* This program creates the initialized global data resources.        */
  382.   /* It is compiled as an MPW tool.                                    */
  383.   
  384. ! /* Monsters.c, player.c, tables.c, treasure.c, and variables.c are included.*/
  385.   /* But, when this program is built, the compiler is instructed to    */
  386.   /* actually include the initialized global data.  We just copy it    */
  387.   /* into resource handles and dump them to the executable.            */
  388. diff -cr oldumoria/mac/moria.r umoria/mac/moria.r
  389. *** oldumoria/mac/moria.r    Wed May  9 15:14:30 1990
  390. --- umoria/mac/moria.r    Mon May 21 16:54:25 1990
  391. ***************
  392. *** 13,19
  393.   };
  394.   
  395.   resource 'MRIA' (0) {
  396. !     "Moria 5.2.0 for the Macintosh: Implementation 2.0b1"
  397.   };
  398.   
  399.   resource 'BNDL' (128, purgeable) {
  400.  
  401. --- 13,19 -----
  402.   };
  403.   
  404.   resource 'MRIA' (0) {
  405. !     "Moria 5.2.1 for the Macintosh: Implementation 2.0b1"
  406.   };
  407.   
  408.   resource 'BNDL' (128, purgeable) {
  409. ***************
  410. *** 205,211
  411.           StaticText {
  412.               disabled,
  413.               "Moria for the Macintosh\n"
  414. !             "Version 5.2.0\n"
  415.               "Implementation 2.0b1\n\n\n"
  416.               "Programmers:\n"
  417.               "Robert Alan Koeneke\n"
  418.  
  419. --- 205,211 -----
  420.           StaticText {
  421.               disabled,
  422.               "Moria for the Macintosh\n"
  423. !             "Version 5.2.1\n"
  424.               "Implementation 2.0b1\n\n\n"
  425.               "Programmers:\n"
  426.               "Robert Alan Koeneke\n"
  427. ***************
  428. *** 560,566
  429.           {8, 52, 40, 380},
  430.           StaticText {
  431.               disabled,
  432. !             "Moria for the Macintosh Version 5.2.0"
  433.           },
  434.           /* [6] */
  435.           {8, 8, 40, 40},
  436.  
  437. --- 560,566 -----
  438.           {8, 52, 40, 380},
  439.           StaticText {
  440.               disabled,
  441. !             "Moria for the Macintosh Version 5.2.1"
  442.           },
  443.           /* [6] */
  444.           {8, 8, 40, 40},
  445. ***************
  446. *** 584,590
  447.   
  448.   resource 'TEXT' (512, "Mac Help", purgeable) {
  449.       "This is an beta version of Mac Moria, implementation 2.0b1, which is "
  450. !     "based on the Umoria 5.2.0 sources.  Please send comments and bug repor"
  451.       "ts to wilson@ernie.Berkeley.EDU (Jim Wilson) or 73230.224@compuserve.c"
  452.       "om (Curtis McCauley).\n\n"
  453.       "Users of previous versions o"
  454.  
  455. --- 584,590 -----
  456.   
  457.   resource 'TEXT' (512, "Mac Help", purgeable) {
  458.       "This is an beta version of Mac Moria, implementation 2.0b1, which is "
  459. !     "based on the Umoria 5.2.1 sources.  Please send comments and bug repor"
  460.       "ts to wilson@ernie.Berkeley.EDU (Jim Wilson) or 73230.224@compuserve.c"
  461.       "om (Curtis McCauley).\n\n"
  462.       "Users of previous versions o"
  463. diff -cr oldumoria/source/constant.h umoria/source/constant.h
  464. *** oldumoria/source/constant.h    Wed May  9 15:09:55 1990
  465. --- umoria/source/constant.h    Mon May 21 16:52:42 1990
  466. ***************
  467. *** 24,30
  468.   /* Current version number of Moria                */
  469.   #define CUR_VERSION_MAJ 5 /* version 5.2 */
  470.   #define CUR_VERSION_MIN 2
  471. ! #define PATCH_LEVEL 0
  472.   
  473.   #ifndef TRUE
  474.   #define TRUE 1
  475.  
  476. --- 24,30 -----
  477.   /* Current version number of Moria                */
  478.   #define CUR_VERSION_MAJ 5 /* version 5.2 */
  479.   #define CUR_VERSION_MIN 2
  480. ! #define PATCH_LEVEL 1
  481.   
  482.   #ifndef TRUE
  483.   #define TRUE 1
  484. diff -cr oldumoria/source/creature.c umoria/source/creature.c
  485. *** oldumoria/source/creature.c    Fri May  4 19:33:39 1990
  486. --- umoria/source/creature.c    Fri May 25 17:07:25 1990
  487. ***************
  488. *** 905,911
  489.       attackn++;
  490.         else
  491.       break;
  492. !    }
  493.   }
  494.   
  495.   
  496.  
  497. --- 905,911 -----
  498.       attackn++;
  499.         else
  500.       break;
  501. !     }
  502.   }
  503.   
  504.   
  505. ***************
  506. *** 1389,1395
  507.       {
  508.         j = y - 2 + randint(3);
  509.         k = x - 2 + randint(3);
  510. !       if (in_bounds(j, k))
  511.       {
  512.         c_ptr = &cave[j][k];
  513.         if ((c_ptr->fval <= MAX_OPEN_SPACE) && (c_ptr->tptr == 0) &&
  514.  
  515. --- 1389,1397 -----
  516.       {
  517.         j = y - 2 + randint(3);
  518.         k = x - 2 + randint(3);
  519. !       /* don't create a new creature on top of the old one, that causes
  520. !      invincible/invisible creatures to appear */
  521. !       if (in_bounds(j, k) && (j != y || k != x))
  522.       {
  523.         c_ptr = &cave[j][k];
  524.         if ((c_ptr->fval <= MAX_OPEN_SPACE) && (c_ptr->tptr == 0) &&
  525. diff -cr oldumoria/source/death.c umoria/source/death.c
  526. *** oldumoria/source/death.c    Fri May  4 18:19:28 1990
  527. --- umoria/source/death.c    Fri May 25 17:10:53 1990
  528. ***************
  529. *** 257,263
  530.         break;
  531.       case 'y': case 'Y':
  532.         func = 'Y';
  533. !       ok = true;
  534.         break;
  535.       case 'n': case 'N':
  536.         func = 'N';
  537.  
  538. --- 257,263 -----
  539.         break;
  540.       case 'y': case 'Y':
  541.         func = 'Y';
  542. !       ok = TRUE;
  543.         break;
  544.       case 'n': case 'N':
  545.         func = 'N';
  546. ***************
  547. *** 549,554
  548.     if (i > 0)
  549.       display_scores (i, TRUE);
  550.     erase_line (23, 0);
  551.     restore_term ();
  552.   #ifdef MAC
  553.     /* Undo what has been done */
  554.  
  555. --- 549,555 -----
  556.     if (i > 0)
  557.       display_scores (i, TRUE);
  558.     erase_line (23, 0);
  559. + #ifndef __TURBOC__
  560.     restore_term ();
  561.   #endif
  562.   #ifdef MAC
  563. ***************
  564. *** 550,555
  565.       display_scores (i, TRUE);
  566.     erase_line (23, 0);
  567.     restore_term ();
  568.   #ifdef MAC
  569.     /* Undo what has been done */
  570.     enablefilemenu(TRUE);
  571.  
  572. --- 551,557 -----
  573.     erase_line (23, 0);
  574.   #ifndef __TURBOC__
  575.     restore_term ();
  576. + #endif
  577.   #ifdef MAC
  578.     /* Undo what has been done */
  579.     enablefilemenu(TRUE);
  580. diff -cr oldumoria/source/dungeon.c umoria/source/dungeon.c
  581. *** oldumoria/source/dungeon.c    Mon May  7 23:56:50 1990
  582. --- umoria/source/dungeon.c    Thu May 17 14:31:30 1990
  583. ***************
  584. *** 82,89
  585.     find_count = 0;
  586.     new_level_flag    = FALSE;
  587.     find_flag    = FALSE;
  588. -   if (search_flag)
  589. -     search_off();
  590.     teleport_flag = FALSE;
  591.     mon_tot_mult    = 0;
  592.     cave[char_row][char_col].cptr = 1;
  593.  
  594. --- 82,87 -----
  595.     find_count = 0;
  596.     new_level_flag    = FALSE;
  597.     find_flag    = FALSE;
  598.     teleport_flag = FALSE;
  599.     mon_tot_mult    = 0;
  600.     cave[char_row][char_col].cptr = 1;
  601. ***************
  602. *** 91,96
  603.     panel_row = panel_col = -1;
  604.     /* Light up the area around character       */
  605.     check_view ();
  606.     /* Light,  but do not move critters        */
  607.     creatures(FALSE);
  608.     /* Print the depth               */
  609.  
  610. --- 89,99 -----
  611.     panel_row = panel_col = -1;
  612.     /* Light up the area around character       */
  613.     check_view ();
  614. +   /* must do this after panel_row/col set to -1, because search_off() will call
  615. +      check_view(), and so the panel_* variables must be valid before
  616. +      search_off() is called */
  617. +   if (search_flag)
  618. +     search_off();
  619.     /* Light,  but do not move critters        */
  620.     creatures(FALSE);
  621.     /* Print the depth               */
  622. diff -cr oldumoria/source/externs.h umoria/source/externs.h
  623. *** oldumoria/source/externs.h    Fri May  4 20:49:41 1990
  624. --- umoria/source/externs.h    Fri May 25 17:11:07 1990
  625. ***************
  626. *** 297,303
  627.   void clear_from(int);
  628.   void print(char, int, int);
  629.   void move_cursor_relative(int, int);
  630. ! void count_msg_print(int);
  631.   void prt(char *, int, int);
  632.   void move_cursor(int, int);
  633.   void msg_print(char *);
  634.  
  635. --- 297,303 -----
  636.   void clear_from(int);
  637.   void print(char, int, int);
  638.   void move_cursor_relative(int, int);
  639. ! void count_msg_print(char *);
  640.   void prt(char *, int, int);
  641.   void move_cursor(int, int);
  642.   void msg_print(char *);
  643. ***************
  644. *** 494,500
  645.   void look(void);
  646.   void throw_object(void);
  647.   void bash(void);
  648. - void py_bash(int, int);
  649.   
  650.   #ifdef MSDOS
  651.   /* ms_misc.c */
  652.  
  653. --- 494,499 -----
  654.   void look(void);
  655.   void throw_object(void);
  656.   void bash(void);
  657.   
  658.   #ifdef MSDOS
  659.   /* ms_misc.c */
  660. ***************
  661. *** 499,504
  662.   #ifdef MSDOS
  663.   /* ms_misc.c */
  664.   char *getlogin(void);
  665.   unsigned int sleep(int );
  666.   void error(char *, ...);
  667.   void warn(char *, ...);
  668.  
  669. --- 498,506 -----
  670.   #ifdef MSDOS
  671.   /* ms_misc.c */
  672.   char *getlogin(void);
  673. + #ifdef __TURBOC__
  674. + void sleep(int);
  675. + #else
  676.   unsigned int sleep(int );
  677.   #endif
  678.   void error(char *, ...);
  679. ***************
  680. *** 500,505
  681.   /* ms_misc.c */
  682.   char *getlogin(void);
  683.   unsigned int sleep(int );
  684.   void error(char *, ...);
  685.   void warn(char *, ...);
  686.   void msdos_init(void);
  687.  
  688. --- 502,508 -----
  689.   void sleep(int);
  690.   #else
  691.   unsigned int sleep(int );
  692. + #endif
  693.   void error(char *, ...);
  694.   void warn(char *, ...);
  695.   void msdos_init(void);
  696. ***************
  697. *** 952,958
  698.   void look();
  699.   void throw_object();
  700.   void bash();
  701. - void py_bash();
  702.   
  703.   #ifdef MSDOS
  704.   /* ms_misc.c */
  705.  
  706. --- 955,960 -----
  707.   void look();
  708.   void throw_object();
  709.   void bash();
  710.   
  711.   #ifdef MSDOS
  712.   /* ms_misc.c */
  713. ***************
  714. *** 957,962
  715.   #ifdef MSDOS
  716.   /* ms_misc.c */
  717.   char *getlogin();
  718.   unsigned int sleep();
  719.   void error();
  720.   void warn();
  721.  
  722. --- 959,967 -----
  723.   #ifdef MSDOS
  724.   /* ms_misc.c */
  725.   char *getlogin();
  726. + #ifdef __TURBOC__
  727. + void sleep();
  728. + #else
  729.   unsigned int sleep();
  730.   #endif
  731.   void error();
  732. ***************
  733. *** 958,963
  734.   /* ms_misc.c */
  735.   char *getlogin();
  736.   unsigned int sleep();
  737.   void error();
  738.   void warn();
  739.   void msdos_init();
  740.  
  741. --- 963,969 -----
  742.   void sleep();
  743.   #else
  744.   unsigned int sleep();
  745. + #endif
  746.   void error();
  747.   void warn();
  748.   void msdos_init();
  749. diff -cr oldumoria/source/generate.c umoria/source/generate.c
  750. *** oldumoria/source/generate.c    Fri May  4 19:00:51 1990
  751. --- umoria/source/generate.c    Fri May 25 17:11:17 1990
  752. ***************
  753. *** 13,19
  754.   
  755.   #ifdef USG
  756.   #if !defined(ATARIST_MWC)
  757. ! #ifndef IBMPC_TURBO_C
  758.   #include <memory.h>
  759.   #else
  760.   #include <mem.h>
  761.  
  762. --- 13,19 -----
  763.   
  764.   #ifdef USG
  765.   #if !defined(ATARIST_MWC)
  766. ! #ifndef __TURBOC__
  767.   #include <memory.h>
  768.   #else
  769.   #include <mem.h>
  770. diff -cr oldumoria/source/io.c umoria/source/io.c
  771. *** oldumoria/source/io.c    Fri May  4 18:41:55 1990
  772. --- umoria/source/io.c    Fri May 25 17:11:29 1990
  773. ***************
  774. *** 136,141
  775.   
  776.   #ifdef USG
  777.   void exit();
  778.   unsigned sleep();
  779.   #endif
  780.   #ifdef ultrix
  781.  
  782. --- 136,144 -----
  783.   
  784.   #ifdef USG
  785.   void exit();
  786. + #ifdef __TURBOC__
  787. + void sleep();
  788. + #else
  789.   unsigned sleep();
  790.   #endif
  791.   #endif
  792. ***************
  793. *** 138,143
  794.   void exit();
  795.   unsigned sleep();
  796.   #endif
  797.   #ifdef ultrix
  798.   void exit();
  799.   void sleep();
  800.  
  801. --- 141,147 -----
  802.   #else
  803.   unsigned sleep();
  804.   #endif
  805. + #endif
  806.   #ifdef ultrix
  807.   void exit();
  808.   void sleep();
  809. ***************
  810. *** 535,541
  811.       clear_screen();    /* BOSS key if shell failed */
  812.       put_buffer("M:\\> ", 0, 0);
  813.       do {
  814. !       key = inkey(key);
  815.       } while (key != '!');
  816.     }
  817.   
  818.  
  819. --- 539,545 -----
  820.       clear_screen();    /* BOSS key if shell failed */
  821.       put_buffer("M:\\> ", 0, 0);
  822.       do {
  823. !       key = inkey();
  824.       } while (key != '!');
  825.     }
  826.   
  827. ***************
  828. *** 1055,1060
  829.     /* prevent message 'warning: y is unused' */
  830.     x = y;
  831.   #endif
  832.   #endif
  833.   
  834.     if (x > 73)
  835.  
  836. --- 1059,1067 -----
  837.     /* prevent message 'warning: y is unused' */
  838.     x = y;
  839.   #endif
  840. + #ifdef LINT_ARGS
  841. +   /* prevent message about y never used for MSDOS systems */
  842. +   res = y;
  843.   #endif
  844.   #endif
  845.   
  846. ***************
  847. *** 1056,1061
  848.     x = y;
  849.   #endif
  850.   #endif
  851.   
  852.     if (x > 73)
  853.   #ifdef ATARIST_MWC
  854.  
  855. --- 1063,1069 -----
  856.     /* prevent message about y never used for MSDOS systems */
  857.     res = y;
  858.   #endif
  859. + #endif
  860.   
  861.     if (x > 73)
  862.   #ifdef ATARIST_MWC
  863. ***************
  864. *** 1230,1235
  865.         erase_line(prt_line, 0);
  866.   #ifndef MSDOS        /* PCs are slow enough as is  -dgk */
  867.         if (delay > 0)  (void) sleep((unsigned)delay);
  868.   #endif
  869.   #ifdef MAC
  870.         enablefilemenu(FALSE);
  871.  
  872. --- 1238,1246 -----
  873.         erase_line(prt_line, 0);
  874.   #ifndef MSDOS        /* PCs are slow enough as is  -dgk */
  875.         if (delay > 0)  (void) sleep((unsigned)delay);
  876. + #else
  877. +       /* prevent message about delay unused */
  878. +       dummy = delay;
  879.   #endif
  880.   #ifdef MAC
  881.         enablefilemenu(FALSE);
  882. diff -cr oldumoria/source/main.c umoria/source/main.c
  883. *** oldumoria/source/main.c    Fri May  4 20:48:51 1990
  884. --- umoria/source/main.c    Fri May 25 17:11:37 1990
  885. ***************
  886. *** 121,126
  887.   long _stksize = 18000;        /*(SAJ) for MWC    */
  888.   #endif
  889.   
  890.   #if defined(LINT_ARGS)
  891.   static void char_inven_init(void);
  892.   static void init_m_level(void);
  893.  
  894. --- 121,130 -----
  895.   long _stksize = 18000;        /*(SAJ) for MWC    */
  896.   #endif
  897.   
  898. + #ifdef __TURBOC__
  899. + unsigned _stklen = 0x3fff;    /* increase stack from 4K to 16K */
  900. + #endif
  901.   #if defined(LINT_ARGS)
  902.   static void char_inven_init(void);
  903.   static void init_m_level(void);
  904. diff -cr oldumoria/source/misc2.c umoria/source/misc2.c
  905. *** oldumoria/source/misc2.c    Tue May  8 13:07:13 1990
  906. --- umoria/source/misc2.c    Wed May 16 15:34:45 1990
  907. ***************
  908. *** 2308,2313
  909.   /* Saving throws for player character.        -RAK-    */
  910.   int player_saves()
  911.   {
  912.     if (randint(100) <= (py.misc.save + stat_adj(A_WIS)
  913.                  + (class_level_adj[py.misc.pclass][CLA_SAVE]
  914.                 * py.misc.lev / 3)))
  915.  
  916. --- 2308,2316 -----
  917.   /* Saving throws for player character.        -RAK-    */
  918.   int player_saves()
  919.   {
  920. +   /* MPW C couldn't handle the expression, so split it into two parts */
  921. +   int16 temp = class_level_adj[py.misc.pclass][CLA_SAVE];
  922.     if (randint(100) <= (py.misc.save + stat_adj(A_WIS)
  923.                  + (temp * py.misc.lev / 3)))
  924.       return(TRUE);
  925. ***************
  926. *** 2309,2316
  927.   int player_saves()
  928.   {
  929.     if (randint(100) <= (py.misc.save + stat_adj(A_WIS)
  930. !                + (class_level_adj[py.misc.pclass][CLA_SAVE]
  931. !               * py.misc.lev / 3)))
  932.       return(TRUE);
  933.     else
  934.       return(FALSE);
  935.  
  936. --- 2312,2318 -----
  937.     int16 temp = class_level_adj[py.misc.pclass][CLA_SAVE];
  938.   
  939.     if (randint(100) <= (py.misc.save + stat_adj(A_WIS)
  940. !                + (temp * py.misc.lev / 3)))
  941.       return(TRUE);
  942.     else
  943.       return(FALSE);
  944. diff -cr oldumoria/source/save.c umoria/source/save.c
  945. *** oldumoria/source/save.c    Thu May 10 10:16:18 1990
  946. --- umoria/source/save.c    Mon May 14 19:08:52 1990
  947. ***************
  948. *** 70,75
  949.   #endif
  950.   
  951.   #if !defined(ATARIST_MWC)
  952.   long time();
  953.   #else
  954.   char *malloc();
  955.  
  956. --- 70,78 -----
  957.   #endif
  958.   
  959.   #if !defined(ATARIST_MWC)
  960. + #ifdef MAC
  961. + #include <time.h>
  962. + #else
  963.   long time();
  964.   #endif
  965.   #else
  966. ***************
  967. *** 71,76
  968.   
  969.   #if !defined(ATARIST_MWC)
  970.   long time();
  971.   #else
  972.   char *malloc();
  973.   #endif
  974.  
  975. --- 74,80 -----
  976.   #include <time.h>
  977.   #else
  978.   long time();
  979. + #endif
  980.   #else
  981.   char *malloc();
  982.   #endif
  983. ***************
  984. *** 491,497
  985.   char *fnam;
  986.   {
  987.     vtype temp;
  988. !   register int i, ok, fd;
  989.     int8u char_tmp;
  990.   
  991.     if (log_index < 0)
  992.  
  993. --- 495,501 -----
  994.   char *fnam;
  995.   {
  996.     vtype temp;
  997. !   register int ok, fd;
  998.     int8u char_tmp;
  999.   
  1000.     if (log_index < 0)
  1001. ***************
  1002. *** 641,646
  1003.         msg_print("Savefile does not exist.");
  1004.         return FALSE;    /* Don't bother with messages here. File absent. */
  1005.       }
  1006.   #endif
  1007.   
  1008.     clear_screen();
  1009.  
  1010. --- 645,653 -----
  1011.         msg_print("Savefile does not exist.");
  1012.         return FALSE;    /* Don't bother with messages here. File absent. */
  1013.       }
  1014. + #else
  1015. +   if (access (savefile, 0) < 0)
  1016. +     return FALSE;
  1017.   #endif
  1018.   
  1019.     clear_screen();
  1020. diff -cr oldumoria/source/signals.c umoria/source/signals.c
  1021. *** oldumoria/source/signals.c    Fri May  4 18:17:16 1990
  1022. --- umoria/source/signals.c    Fri May 25 17:11:52 1990
  1023. ***************
  1024. *** 76,81
  1025.   
  1026.   #ifdef USG
  1027.   void exit();
  1028.   unsigned sleep();
  1029.   #endif
  1030.   
  1031.  
  1032. --- 76,84 -----
  1033.   
  1034.   #ifdef USG
  1035.   void exit();
  1036. + #ifdef __TURBOC__
  1037. + void sleep();
  1038. + #else
  1039.   unsigned sleep();
  1040.   #endif
  1041.   #endif
  1042. ***************
  1043. *** 78,83
  1044.   void exit();
  1045.   unsigned sleep();
  1046.   #endif
  1047.   
  1048.   static int error_sig = -1;
  1049.   static int signal_count = 0;
  1050.  
  1051. --- 81,87 -----
  1052.   #else
  1053.   unsigned sleep();
  1054.   #endif
  1055. + #endif
  1056.   
  1057.   static int error_sig = -1;
  1058.   static int signal_count = 0;
  1059. ***************
  1060. *** 92,97
  1061.   
  1062.     smask = sigsetmask(0) | (1 << sig);
  1063.   #else
  1064.   static int signal_handler(sig)
  1065.   int sig;
  1066.   {
  1067.  
  1068. --- 96,104 -----
  1069.   
  1070.     smask = sigsetmask(0) | (1 << sig);
  1071.   #else
  1072. + #ifdef __TURBOC__
  1073. + static void signal_handler(sig)
  1074. + #else
  1075.   static int signal_handler(sig)
  1076.   #endif
  1077.   int sig;
  1078. ***************
  1079. *** 93,98
  1080.     smask = sigsetmask(0) | (1 << sig);
  1081.   #else
  1082.   static int signal_handler(sig)
  1083.   int sig;
  1084.   {
  1085.   
  1086.  
  1087. --- 100,106 -----
  1088.   static void signal_handler(sig)
  1089.   #else
  1090.   static int signal_handler(sig)
  1091. + #endif
  1092.   int sig;
  1093.   {
  1094.   
  1095. diff -cr oldumoria/source/spells.c umoria/source/spells.c
  1096. *** oldumoria/source/spells.c    Mon Apr  9 12:11:18 1990
  1097. --- umoria/source/spells.c    Tue May 22 15:25:17 1990
  1098. ***************
  1099. *** 437,443
  1100.         if (c_ptr->fval <= MAX_CAVE_FLOOR)
  1101.           {
  1102.             door = TRUE;
  1103. -           k = popt();
  1104.             if (c_ptr->tptr != 0)
  1105.           (void) delete_object(i, j);
  1106.             c_ptr->fval = BLOCKED_FLOOR;
  1107.  
  1108. --- 437,442 -----
  1109.         if (c_ptr->fval <= MAX_CAVE_FLOOR)
  1110.           {
  1111.             door = TRUE;
  1112.             if (c_ptr->tptr != 0)
  1113.           (void) delete_object(i, j);
  1114.             k = popt();
  1115. ***************
  1116. *** 440,445
  1117.             k = popt();
  1118.             if (c_ptr->tptr != 0)
  1119.           (void) delete_object(i, j);
  1120.             c_ptr->fval = BLOCKED_FLOOR;
  1121.             c_ptr->tptr = k;
  1122.            invcopy(&t_list[k], OBJ_CLOSED_DOOR);
  1123.  
  1124. --- 439,445 -----
  1125.             door = TRUE;
  1126.             if (c_ptr->tptr != 0)
  1127.           (void) delete_object(i, j);
  1128. +           k = popt();
  1129.             c_ptr->fval = BLOCKED_FLOOR;
  1130.             c_ptr->tptr = k;
  1131.             invcopy(&t_list[k], OBJ_CLOSED_DOOR);
  1132. ***************
  1133. *** 442,448
  1134.           (void) delete_object(i, j);
  1135.             c_ptr->fval = BLOCKED_FLOOR;
  1136.             c_ptr->tptr = k;
  1137. !          invcopy(&t_list[k], OBJ_CLOSED_DOOR);
  1138.             lite_spot(i, j);
  1139.           }
  1140.       }
  1141.  
  1142. --- 442,448 -----
  1143.             k = popt();
  1144.             c_ptr->fval = BLOCKED_FLOOR;
  1145.             c_ptr->tptr = k;
  1146. !           invcopy(&t_list[k], OBJ_CLOSED_DOOR);
  1147.             lite_spot(i, j);
  1148.           }
  1149.       }
  1150. diff -cr oldumoria/source/treasure.c umoria/source/treasure.c
  1151. *** oldumoria/source/treasure.c    Mon Apr 16 19:07:05 1990
  1152. --- umoria/source/treasure.c    Fri May 25 20:43:52 1990
  1153. ***************
  1154. *** 1,4
  1155. ! /* treasur1.c: dungeon object definitions
  1156.   
  1157.      Copyright (c) 1989 James E. Wilson, Robert A. Koeneke
  1158.   
  1159.  
  1160. --- 1,4 -----
  1161. ! /* treasure.c: dungeon object definitions
  1162.   
  1163.      Copyright (c) 1989 James E. Wilson, Robert A. Koeneke
  1164.   
  1165. diff -cr oldumoria/source/types.h umoria/source/types.h
  1166. *** oldumoria/source/types.h    Fri May  4 18:18:13 1990
  1167. --- umoria/source/types.h    Fri May 25 17:12:23 1990
  1168. ***************
  1169. *** 318,324
  1170.     unsigned int pl : 1;    /* permanent light, used for walls and lighted rooms */
  1171.     unsigned int tl : 1;    /* temporary light, used for player's lamp light,etc.*/
  1172.   #else
  1173. ! #ifndef IBMPC_TURBO_C
  1174.     /* this is not legal ANSI C, this is a MSC extension, which will use 1 byte
  1175.        for the bitfields whereas MSC uses 2 bytes for the bitfields above */
  1176.     /* this is also a MWC extension on the Atari ST */
  1177.  
  1178. --- 318,324 -----
  1179.     unsigned int pl : 1;    /* permanent light, used for walls and lighted rooms */
  1180.     unsigned int tl : 1;    /* temporary light, used for player's lamp light,etc.*/
  1181.   #else
  1182. ! #ifndef __TURBOC__
  1183.     /* this is not legal ANSI C, this is a MSC extension, which will use 1 byte
  1184.        for the bitfields whereas MSC uses 2 bytes for the bitfields above */
  1185.     /* this is also a MWC extension on the Atari ST */
  1186. diff -cr oldumoria/unix/Makefile umoria/unix/Makefile
  1187. *** oldumoria/unix/Makefile    Tue May  8 00:06:16 1990
  1188. --- umoria/unix/Makefile    Sun May 27 15:59:20 1990
  1189. ***************
  1190. *** 11,17
  1191.       generate.c sets.c dungeon.c creature.c death.c eat.c help.c magic.c\
  1192.       potions.c prayer.c save.c staffs.c wands.c scrolls.c spells.c\
  1193.       wizard.c store2.c signals.c moria1.c moria2.c monsters.c\
  1194. !     treasure.c variable.c rnd.c recall.c unix.c undef.c
  1195.   
  1196.   OBJS = main.o misc1.o misc2.o store1.o files.o io.o create.o desc.o\
  1197.       generate.o sets.o dungeon.o creature.o death.o eat.o help.o magic.o\
  1198.  
  1199. --- 11,18 -----
  1200.       generate.c sets.c dungeon.c creature.c death.c eat.c help.c magic.c\
  1201.       potions.c prayer.c save.c staffs.c wands.c scrolls.c spells.c\
  1202.       wizard.c store2.c signals.c moria1.c moria2.c monsters.c\
  1203. !     treasure.c variable.c rnd.c recall.c unix.c undef.c\
  1204. !     player.c tables.c
  1205.   
  1206.   OBJS = main.o misc1.o misc2.o store1.o files.o io.o create.o desc.o\
  1207.       generate.o sets.o dungeon.o creature.o death.o eat.o help.o magic.o\
  1208. ***************
  1209. *** 17,23
  1210.       generate.o sets.o dungeon.o creature.o death.o eat.o help.o magic.o\
  1211.       potions.o prayer.o save.o staffs.o wands.o scrolls.o spells.o\
  1212.       wizard.o store2.o signals.o moria1.o moria2.o monsters.o\
  1213. !     treasure.o variable.o rnd.o recall.o unix.o undef.o
  1214.   
  1215.   LIBFILES = hours news origcmds.hlp owizcmds.hlp roglcmds.hlp rwizcmds.hlp \
  1216.       scores version.hlp welcome.hlp
  1217.  
  1218. --- 18,25 -----
  1219.       generate.o sets.o dungeon.o creature.o death.o eat.o help.o magic.o\
  1220.       potions.o prayer.o save.o staffs.o wands.o scrolls.o spells.o\
  1221.       wizard.o store2.o signals.o moria1.o moria2.o monsters.o\
  1222. !     treasure.o variable.o rnd.o recall.o unix.o undef.o\
  1223. !     player.o tables.o
  1224.   
  1225.   LIBFILES = hours news origcmds.hlp owizcmds.hlp roglcmds.hlp rwizcmds.hlp \
  1226.       scores version.hlp welcome.hlp
  1227. ***************
  1228. *** 66,71
  1229.   monsters.o: constant.h types.h config.h
  1230.   moria1.o: constant.h types.h externs.h config.h
  1231.   moria2.o: constant.h types.h externs.h config.h
  1232.   potions.o: constant.h types.h externs.h config.h
  1233.   prayer.o: constant.h types.h externs.h config.h
  1234.   recall.o: constant.h config.h types.h externs.h
  1235.  
  1236. --- 68,74 -----
  1237.   monsters.o: constant.h types.h config.h
  1238.   moria1.o: constant.h types.h externs.h config.h
  1239.   moria2.o: constant.h types.h externs.h config.h
  1240. + player.o: constant.h types.h config.h
  1241.   potions.o: constant.h types.h externs.h config.h
  1242.   prayer.o: constant.h types.h externs.h config.h
  1243.   recall.o: constant.h config.h types.h externs.h
  1244. ***************
  1245. *** 78,83
  1246.   staffs.o: constant.h types.h externs.h config.h
  1247.   store1.o: constant.h types.h externs.h config.h
  1248.   store2.o: constant.h types.h externs.h config.h
  1249.   treasure.o: constant.h types.h config.h
  1250.   unix.o: constant.h config.h types.h externs.h
  1251.   variable.o: constant.h types.h config.h
  1252.  
  1253. --- 81,87 -----
  1254.   staffs.o: constant.h types.h externs.h config.h
  1255.   store1.o: constant.h types.h externs.h config.h
  1256.   store2.o: constant.h types.h externs.h config.h
  1257. + tables.o: constant.h types.h config.h
  1258.   treasure.o: constant.h types.h config.h
  1259.   unix.o: constant.h config.h types.h externs.h
  1260.   variable.o: constant.h types.h config.h
  1261. diff -cr oldumoria/util/README umoria/util/README
  1262. *** oldumoria/util/README    Fri May  4 17:53:32 1990
  1263. --- umoria/util/README    Fri May 25 21:47:04 1990
  1264. ***************
  1265. *** 10,17
  1266.   monster.cng: a list of some of the changes to the monster.c file, is this
  1267.   still needed?
  1268.   
  1269. ! printit.c: some code which would pretty print item/monster descriptions for
  1270. ! umoria 4.87, by Carl Hommel, obsolete
  1271.   
  1272.   showmon.c: obsolete code from 4.87 for printing the monster dictionary,
  1273.   superceded by the monster memories
  1274.  
  1275. --- 10,17 -----
  1276.   monster.cng: a list of some of the changes to the monster.c file, is this
  1277.   still needed?
  1278.   
  1279. ! printit.c: some code which will pretty print item/monster descriptions,
  1280. ! written by Carl Hommel
  1281.   
  1282.   showmon.c: obsolete code from 4.87 for printing the monster dictionary,
  1283.   superceded by the monster memories
  1284. ***************
  1285. *** 16,19
  1286.   showmon.c: obsolete code from 4.87 for printing the monster dictionary,
  1287.   superceded by the monster memories
  1288.   
  1289. ! weapons: a program which roughly indicates which weapons are best
  1290.  
  1291. --- 16,21 -----
  1292.   showmon.c: obsolete code from 4.87 for printing the monster dictionary,
  1293.   superceded by the monster memories
  1294.   
  1295. ! weapons: a program which roughly indicates which weapons are best, written
  1296. ! by Wayne Schlitt
  1297. diff -cr oldumoria/vms/make.com umoria/vms/make.com
  1298. *** oldumoria/vms/make.com    Wed Feb 14 13:05:52 1990
  1299. --- umoria/vms/make.com    Sun May 27 15:46:50 1990
  1300. ***************
  1301. *** 17,22
  1302.   $ cc moria1.c /obj=moria1.o
  1303.   $ cc moria2.c /obj=moria2.o
  1304.   $ cc potions.c /obj=potions.o
  1305.   $ cc prayer.c /obj=prayer.o
  1306.   $ cc save.c /obj=save.o
  1307.   $ cc scrolls.c /obj=scrolls.o
  1308.  
  1309. --- 17,23 -----
  1310.   $ cc moria1.c /obj=moria1.o
  1311.   $ cc moria2.c /obj=moria2.o
  1312.   $ cc potions.c /obj=potions.o
  1313. + $ cc player.c /obj=player.o
  1314.   $ cc prayer.c /obj=prayer.o
  1315.   $ cc save.c /obj=save.o
  1316.   $ cc scrolls.c /obj=scrolls.o
  1317. ***************
  1318. *** 26,31
  1319.   $ cc staffs.c /obj=staffs.o
  1320.   $ cc store1.c /obj=store1.o
  1321.   $ cc store2.c /obj=store2.o
  1322.   $ cc treasure1.c /obj=treasure1.o
  1323.   $ cc treasure2.c /obj=treasure2.o
  1324.   $ cc variables.c /obj=variables.o
  1325.  
  1326. --- 27,33 -----
  1327.   $ cc staffs.c /obj=staffs.o
  1328.   $ cc store1.c /obj=store1.o
  1329.   $ cc store2.c /obj=store2.o
  1330. + $ cc tables.c /obj=tables.o
  1331.   $ cc treasure1.c /obj=treasure1.o
  1332.   $ cc treasure2.c /obj=treasure2.o
  1333.   $ cc variables.c /obj=variables.o
  1334. diff -cr oldumoria/vms/moria.opt umoria/vms/moria.opt
  1335. *** oldumoria/vms/moria.opt    Sat Feb 10 22:55:27 1990
  1336. --- umoria/vms/moria.opt    Sun May 27 15:47:31 1990
  1337. ***************
  1338. *** 2,8
  1339.   generate.o,sets.o,dungeon.o,creature.o,death.o,eat.o,help.o,magic.o, -
  1340.   potions.o,prayer.o,save.o,staffs.o,wands.o,scrolls.o,spells.o, -
  1341.   wizard.o,store2.o,signals.o,moria1.o,moria2.o,monsters.o, -
  1342. ! treasure1.o,treasure2.o,variables.o, -
  1343.   getch.o,cbreak.o,uexit.o,sys$library:vaxcrtl/share
  1344.   ! ^ char input
  1345.   !         ^ small stubs for cbreak(), nocbreak()
  1346.  
  1347. --- 2,8 -----
  1348.   generate.o,sets.o,dungeon.o,creature.o,death.o,eat.o,help.o,magic.o, -
  1349.   potions.o,prayer.o,save.o,staffs.o,wands.o,scrolls.o,spells.o, -
  1350.   wizard.o,store2.o,signals.o,moria1.o,moria2.o,monsters.o, -
  1351. ! treasure1.o,treasure2.o,variables.o,player.o,tables.o -
  1352.   getch.o,cbreak.o,uexit.o,sys$library:vaxcrtl/share
  1353.   ! ^ char input
  1354.   !         ^ small stubs for cbreak(), nocbreak()
  1355.