some comment spelling fixes

This commit is contained in:
nhmall
2023-03-16 22:27:01 -04:00
parent 90906ed05a
commit de79240dea
51 changed files with 118 additions and 118 deletions

View File

@@ -96,16 +96,16 @@ struct sinfo {
int saving; /* creating a save file */
int restoring; /* reloading a save file */
int in_moveloop; /* normal gameplay in progress */
int in_impossible; /* reportig a warning */
int in_impossible; /* reporting a warning */
int in_docrt; /* in docrt(): redrawing the whole screen */
int in_self_recover; /* processsing orphaned level files */
int in_self_recover; /* processing orphaned level files */
int in_checkpoint; /* saving insurance checkpoint */
int in_parseoptions; /* in parseoptions */
int in_role_selection; /* role/race/&c selection menus in progress */
int config_error_ready; /* config_error_add is ready, available */
int beyond_savefile_load; /* set when past savefile loading */
#ifdef PANICLOG
int in_paniclog; /* writing a panicloc entry */
int in_paniclog; /* writing a paniclog entry */
#endif
int wizkit_wishing; /* starting wizard mode game w/ WIZKIT file */
/* getting_a_command: only used for ALTMETA config to process ESC, but
@@ -1195,7 +1195,7 @@ struct instance_globals_m {
struct monst *marcher; /* monster that is shooting */
/* muse.c */
boolean m_using; /* kludge to use mondided instead of killed */
boolean m_using; /* kludge to use mondied instead of killed */
struct musable m;
/* options.c */

View File

@@ -32,7 +32,7 @@
* so treat those situations as blocking telepathy, detection, and warning
* even though conceptually they shouldn't do so.
*
* [3.7 also] The macros whose name begins with an understore have been
* [3.7 also] The macros whose name begins with an underscore have been
* converted to functions in order to have compilers generate smaller code.
* The retained underscore versions are still used in display.c but should
* only be used in other situations if the function calls actually produce
@@ -51,7 +51,7 @@
/* organized to perform cheaper tests first;
is_pool() vs is_pool_or_lava(): hero who is underwater can see adjacent
lava, but presumeably any monster there is on top so not sensed */
lava, but presumably any monster there is on top so not sensed */
#define _sensemon(mon) \
( (!u.uswallow || (mon) == u.ustuck) \
&& (!Underwater || (mdistu(mon) <= 2 && is_pool((mon)->mx, (mon)->my))) \

View File

@@ -122,7 +122,7 @@ enum cost_alteration_types {
/* bitmask flags for corpse_xname();
PFX_THE takes precedence over ARTICLE, NO_PFX takes precedence over both */
#define CXN_NORMAL 0 /* no special handling */
#define CXN_SINGULAR 1 /* override quantity if greather than 1 */
#define CXN_SINGULAR 1 /* override quantity if greater than 1 */
#define CXN_NO_PFX 2 /* suppress "the" from "the Unique Monst */
#define CXN_PFX_THE 4 /* prefix with "the " (unless pname) */
#define CXN_ARTICLE 8 /* include a/an/the prefix */
@@ -639,7 +639,7 @@ enum getobj_callback_returns {
* floor before getobj. */
GETOBJ_EXCLUDE_NONINVENT = -2,
/* invalid because it is an inaccessible or unwanted piece of gear, but
* psuedo-valid for the purposes of allowing the player to select it and
* pseudo-valid for the purposes of allowing the player to select it and
* getobj to return it if there is a prompt instead of getting "silly
* thing", in order for the getobj caller to present a specific failure
* message. Other than that, the only thing this does differently from
@@ -647,7 +647,7 @@ enum getobj_callback_returns {
* else to foo". */
GETOBJ_EXCLUDE_INACCESS = -1,
/* invalid for purposes of not showing a prompt if nothing is valid but
* psuedo-valid for selecting - identical to GETOBJ_EXCLUDE_INACCESS but
* pseudo-valid for selecting - identical to GETOBJ_EXCLUDE_INACCESS but
* without the "else" in "You don't have anything else to foo". */
GETOBJ_EXCLUDE_SELECTABLE = 0,
/* valid - invlet not presented in the summary or the ? menu as a

View File

@@ -254,7 +254,7 @@
(vegan(ptr) \
|| ((ptr)->mlet == S_PUDDING && (ptr) != &mons[PM_BLACK_PUDDING]))
/* monkeys are tameable via bananas but not pacifiable via food,
/* monkeys are tamable via bananas but not pacifiable via food,
otherwise their theft attack could be nullified too easily;
dogs and cats can be tamed by anything they like to eat and are
pacified by any other food;

View File

@@ -55,7 +55,7 @@ struct obj {
* oil lamp, tallow/wax candle (1 for no apparent reason?);
* marks spinach tins (1 iff corpsenm==NON_PM);
* marks tin variety (various: homemade, stir fried, &c);
* eggs laid by you (1), eggs upgraded with rojal jelly (2);
* eggs laid by you (1), eggs upgraded with royal jelly (2);
* Schroedinger's Box (1) or royal coffers for a court (2);
* named fruit index;
* candy bar wrapper index;
@@ -323,7 +323,7 @@ struct obj {
#define Is_mbag(o) ((o)->otyp == BAG_OF_HOLDING || (o)->otyp == BAG_OF_TRICKS)
#define SchroedingersBox(o) ((o)->otyp == LARGE_BOX && (o)->spe == 1)
/* usually waterproof; random chance to be subjected to leakage if cursed;
excludes statues, which aren't vulernable to water even when cursed */
excludes statues, which aren't vulnerable to water even when cursed */
#define Waterproof_container(o) \
((o)->otyp == OILSKIN_SACK || (o)->otyp == ICE_BOX || Is_box(o))

View File

@@ -114,7 +114,7 @@ enum achivements {
* defeated nemesis (not same as acquiring Bell or artifact),
* completed quest (formally, by bringing artifact to leader),
* entered rogue level,
* entered Fort Ludios level/branch (not guaranteed to be achieveable),
* entered Fort Ludios level/branch (not guaranteed to be achievable),
* entered Medusa level,
* entered castle level,
* obtained castle wand (handle similarly to mines and sokoban prizes),