fix typos

This commit is contained in:
RainRat
2024-02-28 20:15:56 -08:00
parent b53a43027f
commit a3658f85ac
167 changed files with 320 additions and 320 deletions

View File

@@ -50,11 +50,11 @@ differences are primarily visual. This windowport supports dymanic
resizing of the terminal window, so you can play with it to see how it
looks best to you during a game. Also, the align_status and
align_message options may be set during the game, so you can experiment
to see what arraingement looks best to you.
to see what arrangement looks best to you.
For menus, in addition to the normal configurable keybindings for menu
navigation descrived in the Guidebook, you can use the right and left
arrows to to forward or backward one page, respectively, and the home
arrows to forward or backward one page, respectively, and the home
and end keys to go to the first and last pages, respectively.
Some configuration options that are specific to or relevant to the
@@ -105,7 +105,7 @@ CONTACT
Please send any bug reports, suggestions, patches, or miscellaneous
feedback to me (Karl Garrison) at: kgarrison@pobox.com. Note that as
of this writing, I only have sporatic Internet access, so I may not get
of this writing, I only have sporadic Internet access, so I may not get
back to you right away.
Happy Hacking!

View File

@@ -36,7 +36,7 @@ DISPLAY
* Animation effects do not display properly - this could probably be
fixed with a correct implementation of the curses_delay_output function.
* Support option to set forground and background colors for individual
* Support option to set foreground and background colors for individual
windows
@@ -45,7 +45,7 @@ MENUS
(cursdial.c)
* Menus need to be able to accept a count as input, e.g. to specifiy
* Menus need to be able to accept a count as input, e.g. to specify
how many items to drop.
* Currently the "preselected" flag for an individual menu item is
@@ -79,7 +79,7 @@ MAP WINDOW
* The map window would probably benefit from a total redesign. Right
now, it uses a pad instead of a regular curses window, which causes a
number of special cases in the code to account for it, and a seperate
number of special cases in the code to account for it, and a separate
window behind it just to draw the border. It feels kludgy and
annoying!
@@ -95,7 +95,7 @@ STATUS WINDOW
Gnomish Mines) and perhaps show thermometer bars for hit points and
magical power.
* Conversely, if we have a narrower dislay, compress some of the
* Conversely, if we have a narrower display, compress some of the
labels to save space, and do not display some items that never or
rarely change (e.g. name, level and title, and alignment). Perhaps
display changes to these fields in the message window if they do
@@ -132,7 +132,7 @@ MISC
* Update documentation and in-game help to describe the newly-added
options: cursesgraphics, term_rows, term_cols, and windowborders.
* Recognize "Alt" key in a platform-independant way to allow its use
* Recognize "Alt" key in a platform-independent way to allow its use
to select extended commands. Currently this works for PDCurses. For
Ncurses, the Alt key works in an xterm or rxvt if the -meta8 flag is
passed, but I'd like to see a general way of detecting it.

View File

@@ -1097,7 +1097,7 @@ menu_win_size(nhmenu *menu)
}
/* avoid a tiny popup window; when it's shown over the endings of
old messsages rather than over the map, it is fairly easy for
old messages rather than over the map, it is fairly easy for
the player to overlook it, particularly when walking around and
stepping on a pile of 2 items; also, multi-page menus need enough
room for "(Page M of N) => " even if all entries are narrower
@@ -1669,7 +1669,7 @@ menu_select_deselect(
/* Perform the selected operation (select, unselect, invert selection)
on the given menu page. If menu_page is 0, then perform opetation on
on the given menu page. If menu_page is 0, then perform operation on
all pages in menu. Returns last page displayed. */
static int

View File

@@ -207,7 +207,7 @@ curses_create_main_windows(void)
boolean msg_vertical = (message_orientation == ALIGN_LEFT
|| message_orientation == ALIGN_RIGHT);
/* Vertical windows have priority. Otherwise, priotity is:
/* Vertical windows have priority. Otherwise, priority is:
status > inv > msg */
if (status_vertical)
set_window_position(&status_x, &status_y,
@@ -752,7 +752,7 @@ curses_init_options(void)
#ifdef PDCURSES
/* PDCurses for SDL, win32 and OS/2 has the ability to set the
terminal size programatically. If the user does not specify a
terminal size programmatically. If the user does not specify a
size in the config file, we will set it to a nice big 32x110 to
take advantage of some of the nice features of this windowport. */
if (iflags.wc2_term_cols == 0)

View File

@@ -372,7 +372,7 @@ curses_uncurse_terminal(void)
{
/* also called by panictrace_handler(), a signal handler, so somewhat
iffy in that situation; but without this, newlines behave as raw
line feeds so subseqent backtrace gets scrawled all over the screen
line feeds so subsequent backtrace gets scrawled all over the screen
and is nearly useless */
curses_cleanup();
curs_set(orig_cursor);

View File

@@ -1249,7 +1249,7 @@ curs_vert_status_vals(int win_width)
Sprintf(status_vals_long[BL_VERS],
"%*s%s", win_width - txtlen, " ", text);
} else if ((fldidx == BL_HUNGER || fldidx == BL_CAP) && *text) {
/* hunger and enbumbrance are shown side-by-side in
/* hunger and encumbrance are shown side-by-side in
a 26 character or wider window; if leading space is
present, get rid of it, then add one we're sure about */
if (*text == ' ')
@@ -1783,7 +1783,7 @@ draw_bar(boolean is_hp, int cur, int max, const char *title)
}
/* Update the status win - this is called when NetHack would normally
write to the status window, so we know somwthing has changed. We
write to the status window, so we know something has changed. We
override the write and update what needs to be updated ourselves. */
void
curses_update_stats(void)
@@ -2105,7 +2105,7 @@ draw_vertical(int x, int y, int hp, int hpmax)
wmove(win, y++, x);
wprintw(win, "%s", dungeons[u.uz.dnum].dname);
y++; /* Blank line inbetween */
y++; /* Blank line in-between */
wmove(win, y++, x);
/* Attributes. Old vertical order is preserved */

View File

@@ -21,7 +21,7 @@ typedef struct nhw {
int width; /* Usable width not counting border */
int height; /* Usable height not counting border */
int x; /* start of window on terminal (left) */
int y; /* start of window on termial (top) */
int y; /* start of window on terminal (top) */
int orientation; /* Placement of window relative to map */
boolean border; /* Whether window has a visible border */
} nethack_window;