]> granicus.if.org Git - nethack/commitdiff
grammar: "foo based" to "foo-based"
authornhmall <nhmall@nethack.org>
Sun, 30 Oct 2022 20:08:14 +0000 (16:08 -0400)
committernhmall <nhmall@nethack.org>
Sun, 30 Oct 2022 20:08:14 +0000 (16:08 -0400)
There seems to be a need to locate these in the distribution every decade or so.

README
doc/Guidebook.mn
doc/Guidebook.tex
include/color.h
include/config.h
include/patchlevel.h
src/dog.c
src/mcastu.c
src/polyself.c
src/vision.c
sys/windows/windsys.c

diff --git a/README b/README
index 9566a3c97ede0c662ca8670808110e997f45ffc1..13d9b286b57f4738ab713ae1b16309e2cad3b2b4 100644 (file)
--- a/README
+++ b/README
@@ -153,7 +153,7 @@ Please read items (1), (2) and (3) BEFORE doing anything with your new code.
         Stride 460 running UniStride 2.1
         Sun-3s, -4s, and -386is running SunOS 3.x
         Sun-3s and -386is running SunOS 4.x
-        Sun SPARC based machine running SunOS 4.x, Solaris 2.x, or Solaris 7
+        "Sun SPARC"-based machine running SunOS 4.x, Solaris 2.x, or Solaris 7
         Valid Logic Systems SCALD-System
 
     Previous versions, using a cross-compiler hosted on another platform,
index 9217b50fe030e3c54f59a52674d34d706835f4bf..8ea38b65c76d9e941a7795ece580c1ee1c85f2c2 100644 (file)
@@ -4420,7 +4420,7 @@ When pausing momentarily for display effect, such as with explosions and
 moving objects, use a timer rather than sending extra characters to the
 screen.
 (Applies to \(lqtty\(rq and \(lqcurses\(rq interfaces only; \(lqX11\(rq interface always
-uses a timer based delay.
+uses a timer-based delay.
 The default is on if configured into the program.)
 Persistent.
 .lp tombstone
index 1325f078a77fad8fa8ee5de0f446d8b41dafba15..c5d20691703383929d037fd9ea1942aa40ebd7cc 100644 (file)
@@ -4843,7 +4843,7 @@ Show the elapsed game time in turns on bottom line (default off).  Persistent.
 When pausing momentarily for display effect, such as with explosions and
 moving objects, use a timer rather than sending extra characters to the
 screen.  (Applies to ``tty'' and ``curses'' interfaces only; ``X11'' interface always
-uses a timer based delay.  The default is on if configured into the
+uses a timer-based delay.  The default is on if configured into the
 program.)  Persistent.
 %.lp
 \item[\ib{tombstone}]
index 4b9f8a1cf9c513a1131175543770a2d8a9a2da10..3eb49c612be309e41589c616c3fb9e8f9f089ace 100644 (file)
@@ -29,7 +29,7 @@
 #define CLR_WHITE 15
 #define CLR_MAX 16
 
-/* The "half-way" point for tty based color systems.  This is used in */
+/* The "half-way" point for tty-based color systems.  This is used in */
 /* the tty color setup code.  (IMHO, it should be removed - dean).    */
 #define BRIGHT 8
 
index 8e5858c803d66e373f96a50b7cf7a341c8c4bfe6..47c56a8bc9a78ef027937cdbdf3af5e386568795 100644 (file)
@@ -53,7 +53,7 @@
  * Some combinations make no sense.  See the installation document.
  */
 #if !defined(NOTTYGRAPHICS)
-#define TTY_GRAPHICS /* good old tty based graphics */
+#define TTY_GRAPHICS /* good old tty-based graphics */
 #endif
 /* #define CURSES_GRAPHICS *//* Curses interface - Karl Garrison*/
 /* #define X11_GRAPHICS */   /* X11 interface */
index 3f39fe3bee1a7889620f3fc4ac7d0b06f8a7337f..d390a64a864a2b901f858f7cdf7ea8eee7c46052 100644 (file)
  *  NetHack 3.2.0, April 11, 1996
  *  enhancements to the windowing systems including "tiles" or icons to
  *      visually represent monsters and objects (courtesy Warwick Allison)
- *  window based menu system introduced for inventory and selection
+ *  window-based menu system introduced for inventory and selection
  *  moving light sources besides the player
  *  improved #untrap (courtesy Helge Hafting)
  *  spellcasting logic changes to balance spellcasting towards magic-using
index 7837da256381a6badb2e2f937c56361c055a9556..f85c799d854ae8cd83366561490d3eea195f7540 100644 (file)
--- a/src/dog.c
+++ b/src/dog.c
@@ -1016,7 +1016,7 @@ dogfood(struct monst *mon, struct obj *obj)
             return ACCFOOD;
         if (metallivorous(mptr) && is_metallic(obj)
             && (is_rustprone(obj) || mptr != &mons[PM_RUST_MONSTER])) {
-            /* Non-rustproofed ferrous based metals are preferred. */
+            /* Non-rustproofed ferrous-based metals are preferred. */
             return (is_rustprone(obj) && !obj->oerodeproof) ? DOGFOOD
                                                             : ACCFOOD;
         }
index fa80974843cdffc25875361f5695170a82f7369b..e902c9b2010b80dd6a420c4b068d72cbb29c6f4c 100644 (file)
@@ -70,7 +70,7 @@ cursetxt(struct monst *mtmp, boolean undirected)
     }
 }
 
-/* convert a level based random selection into a specific mage spell;
+/* convert a level-based random selection into a specific mage spell;
    inappropriate choices will be screened out by spell_would_be_useless() */
 static int
 choose_magic_spell(int spellval)
@@ -124,7 +124,7 @@ choose_magic_spell(int spellval)
     }
 }
 
-/* convert a level based random selection into a specific cleric spell */
+/* convert a level-based random selection into a specific cleric spell */
 static int
 choose_clerical_spell(int spellnum)
 {
index 9e3dc72f8e00dae50161582169f25618c8060358..36fc11bb80115da3d3820d8ec451b35a25334afa 100644 (file)
@@ -339,7 +339,7 @@ newman(void)
 
     /*
      * New hit points:
-     *  remove level-gain based HP from any extra HP accumulated
+     *  remove "level gain"-based HP from any extra HP accumulated
      *  (the "extra" might actually be negative);
      *  modify the extra, retaining {80%, 90%, 100%, or 110%};
      *  add in newly generated set of level-gain HP.
index b81398233dd8657911591fbebf8f5accc5cce154..f42b7d6320829a9ec7c3b4ee31375560c8b1e980 100644 (file)
@@ -478,7 +478,7 @@ new_angle(struct rm *lev, unsigned char *sv, int row, int col)
  *      + After the monster move, before input from the player. [moveloop()]
  *      + At end of moveloop. [moveloop() ??? not sure why this is here]
  *      + Right before something is printed. [pline()]
- *      + Right before we do a vision based operation. [do_clear_area()]
+ *      + Right before we do a vision-based operation. [do_clear_area()]
  *      + screen redraw, so we can renew all positions in sight. [docrt()]
  *      + When toggling temporary blindness, in case additional events
  *        impacted by vision occur during the same move [make_blinded()]
index 47a05e4ef3162345f5d88df8fa016c4c06dbd43a..f0c75ab1f1d34c04f016546136194af8d3f2dcb1 100644 (file)
@@ -5,7 +5,7 @@
 /*
  *  WIN32 system functions.
  * 
- *  Included in both console and window based clients on the windows platform.
+ *  Included in both console-based and window-based clients on the windows platform.
  *
  *  Initial Creation: Michael Allison - January 31/93
  *