wraptext port option (from <Someone>)

WC2_WRAPTEXT option was added but core changes
were not included  in the previous wince patch.
This commit is contained in:
nethack.allison
2003-08-14 11:04:33 +00:00
parent 8b5d31eb01
commit 5e94d4478b
6 changed files with 20 additions and 6 deletions

View File

@@ -265,6 +265,7 @@ struct instance_flags {
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 */

View File

@@ -174,9 +174,10 @@ extern NEARDATA struct window_procs windowprocs;
#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