From: nhmall Date: Sun, 30 Oct 2022 20:08:14 +0000 (-0400) Subject: grammar: "foo based" to "foo-based" X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ad23b4e8e128439dd71a8fcfff9a5aae7dc3c1f7;p=nethack grammar: "foo based" to "foo-based" There seems to be a need to locate these in the distribution every decade or so. --- diff --git a/README b/README index 9566a3c97..13d9b286b 100644 --- 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, diff --git a/doc/Guidebook.mn b/doc/Guidebook.mn index 9217b50fe..8ea38b65c 100644 --- a/doc/Guidebook.mn +++ b/doc/Guidebook.mn @@ -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 diff --git a/doc/Guidebook.tex b/doc/Guidebook.tex index 1325f078a..c5d206917 100644 --- a/doc/Guidebook.tex +++ b/doc/Guidebook.tex @@ -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}] diff --git a/include/color.h b/include/color.h index 4b9f8a1cf..3eb49c612 100644 --- a/include/color.h +++ b/include/color.h @@ -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 diff --git a/include/config.h b/include/config.h index 8e5858c80..47c56a8bc 100644 --- a/include/config.h +++ b/include/config.h @@ -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 */ diff --git a/include/patchlevel.h b/include/patchlevel.h index 3f39fe3be..d390a64a8 100644 --- a/include/patchlevel.h +++ b/include/patchlevel.h @@ -371,7 +371,7 @@ * 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 diff --git a/src/dog.c b/src/dog.c index 7837da256..f85c799d8 100644 --- 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; } diff --git a/src/mcastu.c b/src/mcastu.c index fa8097484..e902c9b20 100644 --- a/src/mcastu.c +++ b/src/mcastu.c @@ -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) { diff --git a/src/polyself.c b/src/polyself.c index 9e3dc72f8..36fc11bb8 100644 --- a/src/polyself.c +++ b/src/polyself.c @@ -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. diff --git a/src/vision.c b/src/vision.c index b81398233..f42b7d632 100644 --- a/src/vision.c +++ b/src/vision.c @@ -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()] diff --git a/sys/windows/windsys.c b/sys/windows/windsys.c index 47a05e4ef..f0c75ab1f 100644 --- a/sys/windows/windsys.c +++ b/sys/windows/windsys.c @@ -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 *