curses persistent inventory window tweak
Under curses interface, provide a way to get a little more space for perm_invent without turning off windowborders entirely. Possible 'windowborders' values: 0 = no borders, max screen space available for useful info 1 = full borders, two lines and two columns wasted for each window 2 = contingent borders, show if screen is big enough, else hide New: 3 = as 1 except no borders for perm_invent window 4 = as 2 except never borders for perm_invent window 3 and 4 let the map, message, and status windows have borders while providing two extra lines and two extra columns on each line for persistent inventory. It's not much but better than nothing when borders are enabled.
This commit is contained in:
@@ -195,8 +195,7 @@ extern void curses_status_update(int, genericptr_t, int, int, int,
|
||||
/* cursinvt.c */
|
||||
|
||||
extern void curses_update_inv(void);
|
||||
extern void curses_add_inv(int, const glyph_info *,
|
||||
char, attr_t, const char *);
|
||||
extern void curses_add_inv(int, char, attr_t, const char *);
|
||||
|
||||
/* cursinit.c */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user