B08021 scroll_amount wincap option
> - I'd like to see another option added: scroll_amount. In > combination with scroll_margin, this would control the amount > of squares the screen is scrolled when the scroll_margin is > reached (currently, this amount is 1, but if I recall > correctly, it used to be more). For example, if both were 5, > when you came within 5 spaces of the left screen border, the > screen would shift 5 spaces to the right).
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
/* SCCS Id: @(#)flag.h 3.4 2002/07/27 */
|
||||
/* SCCS Id: @(#)flag.h 3.4 2002/08/22 */
|
||||
/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
|
||||
/* NetHack may be freely redistributed. See license for details. */
|
||||
|
||||
@@ -241,6 +241,7 @@ struct instance_flags {
|
||||
int wc_fontsiz_status; /* font size for the status window */
|
||||
int wc_fontsiz_menu; /* font size for the menu window */
|
||||
int wc_fontsiz_text; /* font size for text windows */
|
||||
int wc_scroll_amount; /* scroll this amount at scroll_margin */
|
||||
int wc_scroll_margin; /* scroll map when this far from
|
||||
the edge */
|
||||
int wc_map_mode; /* specify map viewing options, mostly
|
||||
@@ -249,12 +250,11 @@ struct instance_flags {
|
||||
boolean wc_splash_screen; /* display an opening splash screen or not */
|
||||
boolean wc_popup_dialog; /* put queries in pop up dialogs instead of
|
||||
in the message window */
|
||||
boolean wc_large_font; /* draw in larger fonts (say, 12pt instead
|
||||
of 9pt) */
|
||||
boolean wc_eight_bit_input; /* allow eight bit input */
|
||||
boolean wc_mouse_support; /* allow mouse support */
|
||||
|
||||
boolean cmdassist; /* provide detailed assistance for some commands */
|
||||
boolean obsolete; /* obsolete options can point at this, it isn't used */
|
||||
/* Items which belong in flags, but are here to allow save compatibility */
|
||||
boolean lootabc; /* use "a/b/c" rather than "o/i/b" when looting */
|
||||
boolean showrace; /* show hero glyph by race rather than by role */
|
||||
@@ -274,7 +274,7 @@ struct instance_flags {
|
||||
#define hilite_pet wc_hilite_pet
|
||||
#define use_inverse wc_inverse
|
||||
#ifdef MAC_GRAPHICS_ENV
|
||||
#define large_font wc_large_font
|
||||
#define large_font obsolete
|
||||
#endif
|
||||
#ifdef MAC
|
||||
#define popup_dialog wc_popup_dialog
|
||||
|
||||
@@ -157,9 +157,9 @@ extern NEARDATA struct window_procs windowprocs;
|
||||
#define WC_FONTSIZ_MENU 0x100000L /* 21 supports specification of mnu win font */
|
||||
#define WC_FONTSIZ_TEXT 0x200000L /* 22 supports specification of txt win font */
|
||||
#define WC_SCROLL_MARGIN 0x400000L /* 23 supports setting scroll margin for map */
|
||||
#define WC_SPLASH_SCREEN 0x800000L /* 24 supports setting scroll margin for map */
|
||||
#define WC_SPLASH_SCREEN 0x800000L /* 24 supports display of splash screen */
|
||||
#define WC_POPUP_DIALOG 0x1000000L /* 25 supports queries in pop dialogs */
|
||||
#define WC_LARGE_FONT 0x2000000L /* 26 Port supports large font */
|
||||
#define WC_SCROLL_AMOUNT 0x2000000L /* 26 scroll this amount at scroll margin */
|
||||
#define WC_EIGHT_BIT_IN 0x4000000L /* 27 8-bit character input */
|
||||
#define WC_PERM_INVENT 0x8000000L /* 28 8-bit character input */
|
||||
#define WC_MAP_MODE 0x10000000L /* 29 map_mode option */
|
||||
|
||||
Reference in New Issue
Block a user