Grammar and punctuation fixes.
This commit is contained in:
@@ -20,7 +20,7 @@ Here's how to do it:
|
|||||||
- The example above will alert the users for a new feature
|
- The example above will alert the users for a new feature
|
||||||
added in 3.6.0 via a one-liner via pline(), but you
|
added in 3.6.0 via a one-liner via pline(), but you
|
||||||
could get more elaborate (just make sure it is all done
|
could get more elaborate (just make sure it is all done
|
||||||
in the 'if' code block..
|
in the 'if' code block.
|
||||||
|
|
||||||
Once the user finds the alert no longer useful, or becoming
|
Once the user finds the alert no longer useful, or becoming
|
||||||
annoying, they can set the "suppress_alert" option.
|
annoying, they can set the "suppress_alert" option.
|
||||||
|
|||||||
@@ -2707,7 +2707,7 @@ and you may be able to defeat him."
|
|||||||
"If you are %a at all times you may succeed, %p."
|
"If you are %a at all times you may succeed, %p."
|
||||||
%E
|
%E
|
||||||
%Cp Tou 00034
|
%Cp Tou 00034
|
||||||
"Let all who meet you on your journey know that you are on an quest for
|
"Let all who meet you on your journey know that you are on a quest for
|
||||||
%l and grant safe passage."
|
%l and grant safe passage."
|
||||||
%E
|
%E
|
||||||
%Cc Tou 00035
|
%Cc Tou 00035
|
||||||
|
|||||||
@@ -50,7 +50,7 @@
|
|||||||
.\" Version 1.6 March 15, 1989 Matt.Bishop@dartmouth.edu
|
.\" Version 1.6 March 15, 1989 Matt.Bishop@dartmouth.edu
|
||||||
.\" ..!bear.dartmouth.edu!bishop
|
.\" ..!bear.dartmouth.edu!bishop
|
||||||
.\" Fixed a bug in footnote handling (again, sigh ...) This one
|
.\" Fixed a bug in footnote handling (again, sigh ...) This one
|
||||||
.\" occurred when the the "fo" trap position was reset just beneath
|
.\" occurred when the "fo" trap position was reset just beneath
|
||||||
.\" the current line; the footnote overflow trap would kick in and
|
.\" the current line; the footnote overflow trap would kick in and
|
||||||
.\" never be closed.
|
.\" never be closed.
|
||||||
.\"
|
.\"
|
||||||
|
|||||||
@@ -177,7 +177,7 @@ int nhgetch() -- Returns a single character input from the user.
|
|||||||
changed and also return ASCII 033 in this case.
|
changed and also return ASCII 033 in this case.
|
||||||
int nh_poskey(int *x, int *y, int *mod)
|
int nh_poskey(int *x, int *y, int *mod)
|
||||||
-- Returns a single character input from the user or a
|
-- Returns a single character input from the user or a
|
||||||
a positioning event (perhaps from a mouse). If the
|
positioning event (perhaps from a mouse). If the
|
||||||
return value is non-zero, a character was typed, else,
|
return value is non-zero, a character was typed, else,
|
||||||
a position in the MAP window is returned in x, y and mod.
|
a position in the MAP window is returned in x, y and mod.
|
||||||
mod may be one of
|
mod may be one of
|
||||||
@@ -602,7 +602,7 @@ getmsghistory(init)
|
|||||||
If init is TRUE, start over again from most recent message.
|
If init is TRUE, start over again from most recent message.
|
||||||
|
|
||||||
putmsghistory(msg)
|
putmsghistory(msg)
|
||||||
-- The is the counterpart to getmsghistory() for restores
|
-- This is the counterpart to getmsghistory() for restores
|
||||||
used to reload the port's message recall buffer.
|
used to reload the port's message recall buffer.
|
||||||
The routine is called repeatedly from the core restore
|
The routine is called repeatedly from the core restore
|
||||||
routine, starting with the oldest message first, and
|
routine, starting with the oldest message first, and
|
||||||
@@ -693,7 +693,7 @@ when processing options, either in the config file, or by the 'O' command.
|
|||||||
|
|
||||||
You may be wondering what values your window port will find in the
|
You may be wondering what values your window port will find in the
|
||||||
iflags.wc_* and iflags.wc2_* fields for options that the user has not
|
iflags.wc_* and iflags.wc2_* fields for options that the user has not
|
||||||
specified in his/her config file. Put another way, how does you port code
|
specified in his/her config file. Put another way, how does your port code
|
||||||
tell if an option has not been set? The next paragraph explains that.
|
tell if an option has not been set? The next paragraph explains that.
|
||||||
|
|
||||||
If the core does not set an option, it will still be initialized
|
If the core does not set an option, it will still be initialized
|
||||||
@@ -1068,7 +1068,7 @@ When writing a new window-port, you need to follow the following guidelines:
|
|||||||
WINOBJ (if you want the NetHack binary to include them, that is).
|
WINOBJ (if you want the NetHack binary to include them, that is).
|
||||||
|
|
||||||
9) Look at your port's portmain.c (the file containing main()) and make
|
9) Look at your port's portmain.c (the file containing main()) and make
|
||||||
sure that all of the calls match the the requirements laid out in
|
sure that all of the calls match the requirements laid out in
|
||||||
Section VII.
|
Section VII.
|
||||||
|
|
||||||
Now, proceed with compilation and installation as usual. Don't forget
|
Now, proceed with compilation and installation as usual. Don't forget
|
||||||
|
|||||||
@@ -368,7 +368,7 @@ HELM("helm of telepathy", "visored helmet",
|
|||||||
* There is code in obj.h, objnam.c, mon.c, read.c that assumes (2).
|
* There is code in obj.h, objnam.c, mon.c, read.c that assumes (2).
|
||||||
* (1) The dragon scale mails and the dragon scales are together.
|
* (1) The dragon scale mails and the dragon scales are together.
|
||||||
* (2) That the order of the dragon scale mail and dragon scales
|
* (2) That the order of the dragon scale mail and dragon scales
|
||||||
* is the the same as order of dragons defined in monst.c.
|
* is the same as order of dragons defined in monst.c.
|
||||||
*/
|
*/
|
||||||
#define DRGN_ARMR(name,mgc,power,cost,ac,color) \
|
#define DRGN_ARMR(name,mgc,power,cost,ac,color) \
|
||||||
ARMOR(name, None, 1, mgc, 1, power, 0, 5, 40, \
|
ARMOR(name, None, 1, mgc, 1, power, 0, 5, 40, \
|
||||||
|
|||||||
@@ -921,7 +921,7 @@ aligntyp g_align;
|
|||||||
* - fix all of your problems;
|
* - fix all of your problems;
|
||||||
* - do you a gratuitous favor.
|
* - do you a gratuitous favor.
|
||||||
*
|
*
|
||||||
* If you make it to the the last category, you roll randomly again
|
* If you make it to the last category, you roll randomly again
|
||||||
* to see what they do for you.
|
* to see what they do for you.
|
||||||
*
|
*
|
||||||
* If your luck is at least 0, then you are guaranteed rescued from
|
* If your luck is at least 0, then you are guaranteed rescued from
|
||||||
|
|||||||
@@ -1916,7 +1916,7 @@ char *limits; /* points at range limit for current row, or NULL */
|
|||||||
* shadow limit imposed by the far block (right) then use the far
|
* shadow limit imposed by the far block (right) then use the far
|
||||||
* wall as our new far block when we recurse.
|
* wall as our new far block when we recurse.
|
||||||
*
|
*
|
||||||
* If the limits are the the same, and the far block really exists
|
* If the limits are the same, and the far block really exists
|
||||||
* (fb_row >= 0) then do the same as above.
|
* (fb_row >= 0) then do the same as above.
|
||||||
*
|
*
|
||||||
* Normally, the check would be for the far wall being closer OR EQUAL
|
* Normally, the check would be for the far wall being closer OR EQUAL
|
||||||
|
|||||||
@@ -1161,7 +1161,7 @@ CalculateCellSize(HWND hWnd, LPSIZE pSize, LPSIZE pWindowSize)
|
|||||||
hdc = GetDC(hWnd);
|
hdc = GetDC(hWnd);
|
||||||
|
|
||||||
/* if windows size is specified - attempt ro stretch cells across
|
/* if windows size is specified - attempt ro stretch cells across
|
||||||
the the window size. If not - make default cell size based on
|
the window size. If not - make default cell size based on
|
||||||
10 points font. Make sure that cell cesize does not exceeds 20 points
|
10 points font. Make sure that cell cesize does not exceeds 20 points
|
||||||
*/
|
*/
|
||||||
if (pWindowSize->cx > 0)
|
if (pWindowSize->cx > 0)
|
||||||
|
|||||||
@@ -34,7 +34,7 @@ typedef struct mswin_nethack_message_window {
|
|||||||
int yMax; /* maximum vertical scrolling position */
|
int yMax; /* maximum vertical scrolling position */
|
||||||
int xPage; /* page size of horizontal scroll bar */
|
int xPage; /* page size of horizontal scroll bar */
|
||||||
int lines_last_turn; /* lines added during the last turn */
|
int lines_last_turn; /* lines added during the last turn */
|
||||||
int dont_care; /* flag the the user does not care if messages are lost */
|
int dont_care; /* flag the user does not care if messages are lost */
|
||||||
} NHMessageWindow, *PNHMessageWindow;
|
} NHMessageWindow, *PNHMessageWindow;
|
||||||
|
|
||||||
static TCHAR szMessageWindowClass[] = TEXT("MSNHMessageWndClass");
|
static TCHAR szMessageWindowClass[] = TEXT("MSNHMessageWndClass");
|
||||||
|
|||||||
Reference in New Issue
Block a user