expand wincap options to second field

<Someone> wishes to add a couple of new options to the wince port ("run fullscreen" and "do not use CE software keyboard").

The wincap field was full, so this adds a second field for
additional options.
This commit is contained in:
nethack.allison
2003-07-17 01:35:31 +00:00
parent 83c28e6ff8
commit 99bcdf6a4e
16 changed files with 154 additions and 28 deletions

View File

@@ -8,6 +8,7 @@
struct window_procs {
const char *name;
unsigned long wincap; /* window port capability options supported */
unsigned long wincap2; /* additional window port capability options supported */
void FDECL((*win_init_nhwindows), (int *, char **));
void NDECL((*win_player_selection));
void NDECL((*win_askname));
@@ -173,6 +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_SOFTKEYBOARD 0x02L /* 02 software keyboard */
/* 30 free bits */
#define ALIGN_LEFT 1
#define ALIGN_RIGHT 2
#define ALIGN_TOP 3