.ds vr "NetHack 3.4
.ds f0 "\*(vr
.ds f1
-.ds f2 "July 16, 2003
+.ds f2 "August 14, 2003
.mt
A Guide to the Mazes of Menace
(Guidebook for NetHack)
.lp windowcolors
NetHack should display windows with the specified foreground/background
colors if it can.
+.lp wraptext
+NetHack port should wrap long lines of text if they don't fit in
+the visible area of the window.
.hn 2
Platform-specific Customization options
.pg
\begin{document}
%
% input file: guidebook.mn
-% $Revision: 1.67 $ $Date: 2003/06/30 02:08:55 $
+% $Revision: 1.68 $ $Date: 2003/07/17 01:34:40 $
%
%.ds h0 "
%.ds h1 %.ds h2 \%
%.au
\author{Eric S. Raymond\\
(Extensively edited and expanded for 3.4)}
-\date{July 16, 2003}
+\date{August 14, 2003}
\maketitle
\item[\ib{windowcolors}]
NetHack should display windows with the specified foreground/background
colors if it can.
+%.lp
+\item[\ib{wraptext}]
+NetHack port should wrap long lines of text if they don't fit in
+the visible area of the window.
\elist
%.hn 2
|--------------------+--------------------+--------------------+--------+
| fullscreen | WC2_FULLSCREEN | wc2_fullscreen |boolean |
| softkeyboard | WC2_SOFTKEYBOARD | wc2_softkeyboard |boolean |
+ | wraptext | WC2_WRAPTEXT | wc2_wraptext |boolean |
+--------------------+--------------------+--------------------+--------+
align_message -- where to place message window (top, bottom, left, right)
-- port should use these colors for window foreground/background
colors. Syntax:
menu fore/back message fore/back status fore/back text fore/back
+wraptext -- port should wrap long lines of text if they don't fit in
+ the visible area of the window
mouse_support -- port should enable mouse support if possible
Whenever one of these settings is adjusted, the port is notified of a change
boolean wc_mouse_support; /* allow mouse support */
boolean wc2_fullscreen; /* run fullscreen */
boolean wc2_softkeyboard; /* use software keyboard */
+ boolean wc2_wraptext; /* wrap text */
boolean cmdassist; /* provide detailed assistance for some commands */
boolean clicklook; /* allow right-clicking for look */
#define WC_MOUSE_SUPPORT 0x80000000L /* 32 mouse support */
/* no free bits */
-#define WC2_FULLSCREEN 0x01L /* 01 mouse support */
+#define WC2_FULLSCREEN 0x01L /* 01 display full screen */
#define WC2_SOFTKEYBOARD 0x02L /* 02 software keyboard */
- /* 30 free bits */
+#define WC2_WRAPTEXT 0x04L /* 04 wrap long lines of text */
+ /* 29 free bits */
#define ALIGN_LEFT 1
#define ALIGN_RIGHT 2
{"use_inverse", &iflags.wc_inverse, FALSE, SET_IN_GAME}, /*WC*/
#endif
{"verbose", &flags.verbose, TRUE, SET_IN_GAME},
+ {"wraptext", &iflags.wc2_wraptext, FALSE, SET_IN_GAME},
{(char *)0, (boolean *)0, FALSE, 0}
};
struct wc_Opt wc2_options[] = {
{"fullscreen", WC2_FULLSCREEN},
{"softkeyboard", WC2_SOFTKEYBOARD},
+ {"wraptext", WC2_WRAPTEXT},
{(char *)0, 0L}
};
* the appropriate bits for each option that you
* are setting in the optmask argument
* prior to calling.
- * example: set_wc2_option_mod_status(WC2_FULLSCREEN|WC2_SOFTKEYBOARD, SET_IN_FILE);
+ * example: set_wc2_option_mod_status(WC2_FULLSCREEN|WC2_SOFTKEYBOARD|WC2_WRAPTEXT, SET_IN_FILE);
*/
void