* as output from getdir(): simulated button used
* 0 (none) or CLICK_1 (left) or CLICK_2 (right) */
int getloc_filter; /* GFILTER_foo */
+ boolean bgcolors; /* display background colors on a map position */
boolean getloc_moveskip;
boolean getloc_travelmode;
boolean getloc_usemenu;
NHOPTC(autounlock, Behavior, 80, opt_out, set_in_game,
Yes, Yes, No, Yes, NoAlias,
"action to take when encountering locked door or chest")
+ NHOPTB(bgcolors, Behavior, 0, opt_out, set_in_game,
+ On, Yes, No, No, NoAlias, &iflags.bgcolors, Term_Off)
NHOPTO("bind keys", Advanced, o_bind_keys, BUFSZ, opt_in, set_in_game,
No, Yes, No, NoAlias, "edit key binds")
#if defined(MICRO) && !defined(AMIGA)
return;
}
#endif
- if (gw.wsettings.map_frame_color != NO_COLOR && mapxy_valid(x, y))
+ if (iflags.bgcolors
+ && gw.wsettings.map_frame_color != NO_COLOR && mapxy_valid(x, y))
*framecolor = gw.wsettings.map_frame_color;
else
*framecolor = NO_COLOR;