home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 October / usenetsourcesnewsgroupsinfomagicoctober1994disk2.iso / games / volume11 / larn / patch2 / patches02
Text File  |  1991-02-14  |  9KB  |  302 lines

  1. *** patchlevel_orig.h    Sun Feb 10 18:25:09 1991
  2. --- patchlevel.h    Sun Feb 10 18:25:06 1991
  3. ***************
  4. *** 1 ****
  5. ! #define PATCHLEVEL    1
  6. --- 1 ----
  7. ! #define PATCHLEVEL 2
  8. *** PATCHLOG_orig    Sun Feb 10 18:25:16 1991
  9. --- PATCHLOG    Sun Feb 10 18:25:13 1991
  10. ***************
  11. *** 1,15 ****
  12.   Patch1
  13.   ======
  14.   
  15.   Fixes the problem where no .larnopts file causes the dungeon to not be 
  16. ! displayed.  Selects the "hack-like" objects:
  17.   
  18.   Fixes the SIGSEV (ACCVIO) problem with the '?' command.  Append trailing blank
  19.   lines to the help file.
  20.   
  21.   Courtesy of jef@helios.ee.lbl.gov (Jef Poskanzer). Bug in cursor postioning
  22. ! (only appears on certain terminals)
  23.   
  24.   Courtesy of nethack.rankin@eql.caltech.edu (Pat Rankin).  spells and spheres
  25.   missing from the MMS file, link against the VAXCRTL sharable instead of the
  26. ! object library [how someone on VMS is supposed to use a U*ix diff,I don't know].
  27. --- 1,30 ----
  28. + Patch2
  29. + ======
  30. + Courtesy of Pat Rankin (nethack.rankin@EQL.Caltech.Edu).  In the on-line
  31. + help, fix the spelling mistakes with 'wield', and change the spell-casting 
  32. + lister from 'D' to 'I', as its implemented [plain-text only].
  33. + Courtesy of Kenichi Yaoita (yaoita@cm.phys.keio.ac.jp), with an
  34. + honorable mention to Andreas Chernov (ache@hq.demos.su).  Fix
  35. + the inventory count code, which is performing invalid comparisons
  36. + (<=26 vs <26).
  37. + Also courtesy of Kenichi Yaoita, fix an invalid screen offset in
  38. + bot_spellx().
  39.   Patch1
  40.   ======
  41.   
  42.   Fixes the problem where no .larnopts file causes the dungeon to not be 
  43. ! displayed.  Selects the "hack-like" objects.
  44.   
  45.   Fixes the SIGSEV (ACCVIO) problem with the '?' command.  Append trailing blank
  46.   lines to the help file.
  47.   
  48.   Courtesy of jef@helios.ee.lbl.gov (Jef Poskanzer). Bug in cursor postioning
  49. ! (only appears on certain terminals).
  50.   
  51.   Courtesy of nethack.rankin@eql.caltech.edu (Pat Rankin).  spells and spheres
  52.   missing from the MMS file, link against the VAXCRTL sharable instead of the
  53. ! object library.
  54. *** display_orig.c    Sun Feb 10 18:24:19 1991
  55. --- display.c    Sun Feb 10 18:24:12 1991
  56. ***************
  57. *** 131,137 ****
  58.    */
  59.   static bot_spellx()
  60.       {
  61. !     botsub(SPELLS,9,18,"%2d");
  62.       }
  63.   
  64.   /*
  65. --- 131,137 ----
  66.    */
  67.   static bot_spellx()
  68.       {
  69. !     botsub(SPELLS,8,18,"%3d");
  70.       }
  71.   
  72.   /*
  73. *** larnhlp_orig.txt    Sun Feb 10 18:24:36 1991
  74. --- larnhlp.txt    Sun Feb 10 18:24:31 1991
  75. ***************
  76. *** 37,43 ****
  77.   i  inventory your pockets  I  list all items found     ?  this help screen
  78.   q  quaff a potion          Q  quit the game
  79.   r  read a scroll           v  print program version
  80. ! w  weild a weapon          W  wear armor               ^L redraw the screen
  81.   
  82.   
  83.   
  84. --- 37,43 ----
  85.   i  inventory your pockets  I  list all items found     ?  this help screen
  86.   q  quaff a potion          Q  quit the game
  87.   r  read a scroll           v  print program version
  88. ! w  wield a weapon          W  wear armor               ^L redraw the screen
  89.   
  90.   
  91.   
  92. ***************
  93. *** 65,71 ****
  94.   t  tidy up at a fountain   T  take off armor
  95.   u  move northeast          U  run northeast
  96.   v  print program version
  97. ! w  weild a weapon          W  wear armor
  98.   y  move northwest          Y  run northwest            ^L redraw the screen
  99.                   Special Notes
  100.   
  101. --- 65,71 ----
  102.   t  tidy up at a fountain   T  take off armor
  103.   u  move northeast          U  run northeast
  104.   v  print program version
  105. ! w  wield a weapon          W  wear armor
  106.   y  move northwest          Y  run northwest            ^L redraw the screen
  107.                   Special Notes
  108.   
  109. ***************
  110. *** 80,86 ****
  111.   
  112.   When in the store, trading post, school, or home, an m<escape> will get you out.
  113.   
  114. ! When casting a spell, if you need a list of spells you can cast, type 'D' as
  115.   the first letter of your spell.  The available list of spells will be shown,
  116.   after which you may enter the spell code.  This only works on the 1st letter
  117.   of the spell you are casting.
  118. --- 80,86 ----
  119.   
  120.   When in the store, trading post, school, or home, an m<escape> will get you out.
  121.   
  122. ! When casting a spell, if you need a list of spells you can cast, type 'I' as
  123.   the first letter of your spell.  The available list of spells will be shown,
  124.   after which you may enter the spell code.  This only works on the 1st letter
  125.   of the spell you are casting.
  126. *** main_orig.c    Sun Feb 10 18:25:03 1991
  127. --- main.c    Sun Feb 10 18:24:49 1991
  128. ***************
  129. *** 516,522 ****
  130.       sigsav=nosignal;  nosignal=1; /* don't allow ^c etc */
  131.       srcount=0;
  132.   
  133. !      for (count=2,j=0; j<=26; j++)   /* count number of items we will display */
  134.          if (i=iven[j])
  135.           switch(i)
  136.               {
  137. --- 516,522 ----
  138.       sigsav=nosignal;  nosignal=1; /* don't allow ^c etc */
  139.       srcount=0;
  140.   
  141. !      for (count=2,j=0; j<26; j++)   /* count number of items we will display */
  142.          if (i=iven[j])
  143.           switch(i)
  144.               {
  145. ***************
  146. *** 529,535 ****
  147.       t_setup(count);
  148.   
  149.       for (i=22; i<84; i++)
  150. !          for (j=0; j<=26; j++)
  151.              if (i==iven[j])
  152.               switch(i)
  153.                   {
  154. --- 529,535 ----
  155.       t_setup(count);
  156.   
  157.       for (i=22; i<84; i++)
  158. !          for (j=0; j<26; j++)
  159.              if (i==iven[j])
  160.               switch(i)
  161.                   {
  162. ***************
  163. *** 550,556 ****
  164.       sigsav=nosignal;  nosignal=1; /* don't allow ^c etc */
  165.       srcount=0;
  166.   
  167. !      for (count=2,j=0; j<=26; j++)  /* count how many items */
  168.          if (i=iven[j])
  169.           switch(i)
  170.               {
  171. --- 550,556 ----
  172.       sigsav=nosignal;  nosignal=1; /* don't allow ^c etc */
  173.       srcount=0;
  174.   
  175. !      for (count=2,j=0; j<26; j++)  /* count how many items */
  176.          if (i=iven[j])
  177.           switch(i)
  178.               {
  179. ***************
  180. *** 564,570 ****
  181.       t_setup(count);
  182.   
  183.       for (i=22; i<84; i++)
  184. !          for (j=0; j<=26; j++)
  185.              if (i==iven[j])
  186.               switch(i)
  187.                   {
  188. --- 564,570 ----
  189.       t_setup(count);
  190.   
  191.       for (i=22; i<84; i++)
  192. !          for (j=0; j<26; j++)
  193.              if (i==iven[j])
  194.               switch(i)
  195.                   {
  196. ***************
  197. *** 586,592 ****
  198.       sigsav=nosignal;  nosignal=1; /* don't allow ^c etc */
  199.       srcount=0;
  200.   
  201. !     for (count=2,j=0; j<=26; j++)
  202.           switch(iven[j])
  203.               {
  204.               case OBOOK: case OSCROLL:   count++;
  205. --- 586,592 ----
  206.       sigsav=nosignal;  nosignal=1; /* don't allow ^c etc */
  207.       srcount=0;
  208.   
  209. !     for (count=2,j=0; j<26; j++)
  210.           switch(iven[j])
  211.               {
  212.               case OBOOK: case OSCROLL:   count++;
  213. ***************
  214. *** 594,600 ****
  215.       t_setup(count);
  216.   
  217.       for (i=22; i<84; i++)
  218. !          for (j=0; j<=26; j++)
  219.              if (i==iven[j])
  220.               switch(i)
  221.                   {
  222. --- 594,600 ----
  223.       t_setup(count);
  224.   
  225.       for (i=22; i<84; i++)
  226. !          for (j=0; j<26; j++)
  227.              if (i==iven[j])
  228.               switch(i)
  229.                   {
  230. ***************
  231. *** 612,618 ****
  232.       sigsav=nosignal;  nosignal=1; /* don't allow ^c etc */
  233.       srcount=0;
  234.   
  235. !     for (count=2,j=0; j<=26; j++)
  236.           switch(iven[j])
  237.               {
  238.               case OCOOKIE:   count++;
  239. --- 612,618 ----
  240.       sigsav=nosignal;  nosignal=1; /* don't allow ^c etc */
  241.       srcount=0;
  242.   
  243. !     for (count=2,j=0; j<26; j++)
  244.           switch(iven[j])
  245.               {
  246.               case OCOOKIE:   count++;
  247. ***************
  248. *** 620,626 ****
  249.       t_setup(count);
  250.   
  251.       for (i=22; i<84; i++)
  252. !          for (j=0; j<=26; j++)
  253.              if (i==iven[j])
  254.               switch(i)
  255.                   {
  256. --- 620,626 ----
  257.       t_setup(count);
  258.   
  259.       for (i=22; i<84; i++)
  260. !          for (j=0; j<26; j++)
  261.              if (i==iven[j])
  262.               switch(i)
  263.                   {
  264. ***************
  265. *** 638,644 ****
  266.       sigsav=nosignal;  nosignal=1; /* don't allow ^c etc */
  267.       srcount=0;
  268.   
  269. !     for (count=2,j=0; j<=26; j++)
  270.           switch(iven[j])
  271.               {
  272.               case OPOTION:   count++;
  273. --- 638,644 ----
  274.       sigsav=nosignal;  nosignal=1; /* don't allow ^c etc */
  275.       srcount=0;
  276.   
  277. !     for (count=2,j=0; j<26; j++)
  278.           switch(iven[j])
  279.               {
  280.               case OPOTION:   count++;
  281. ***************
  282. *** 646,652 ****
  283.       t_setup(count);
  284.   
  285.       for (i=22; i<84; i++)
  286. !          for (j=0; j<=26; j++)
  287.              if (i==iven[j])
  288.               switch(i)
  289.                   {
  290. --- 646,652 ----
  291.       t_setup(count);
  292.   
  293.       for (i=22; i<84; i++)
  294. !          for (j=0; j<26; j++)
  295.              if (i==iven[j])
  296.               switch(i)
  297.                   {
  298.