new composite status conditions: weaponstatus,\
armorstatus, and terrainstatus This adds three special status items to show at a glance what the hero is wielding, wearing, and standing on. Each of the three items has its own boolean option rather than try to fix them in with the existing opttional status conditions. After a lot of testing, I think the weapon and armor ones will prove useful but the terrain one probably won't be. Presently it is implemented for tty and curses. When I developed it six years ago, it was also working for X11 but I'm not able to test the resurrection of that part so have left it out.
This commit is contained in:
@@ -17,6 +17,7 @@
|
||||
|
||||
struct flag {
|
||||
boolean acoustics; /* allow dungeon sound messages */
|
||||
boolean armorstatus; /* show armor info on status lines */
|
||||
boolean autodig; /* MRKR: Automatically dig */
|
||||
boolean autoquiver; /* Automatically fill quiver */
|
||||
boolean autoopen; /* open doors by walking into them */
|
||||
@@ -63,9 +64,11 @@ struct flag {
|
||||
boolean sortpack; /* sorted inventory */
|
||||
boolean sparkle; /* show "resisting" special FX (Scott Bigham) */
|
||||
boolean standout; /* use standout for --More-- */
|
||||
boolean terrainstatus; /* show terrain info on status lines */
|
||||
boolean time; /* display elapsed 'time' */
|
||||
boolean tombstone; /* print tombstone */
|
||||
boolean verbose; /* max battle info */
|
||||
boolean weaponstatus; /* show weapon info on status lines */
|
||||
int end_top, end_around; /* describe desired score list */
|
||||
unsigned autounlock; /* locked door/chest action */
|
||||
#define AUTOUNLOCK_UNTRAP 1
|
||||
@@ -307,6 +310,7 @@ struct instance_flags {
|
||||
int getpos_coords; /* show coordinates when getting cursor position */
|
||||
int menuinvertmode; /* 0 = invert toggles every item;
|
||||
* 1 = invert skips 'all items' item */
|
||||
int terrain_typ; /* index into terrain_descr[] for botl */
|
||||
color_attr menu_headings; /* CLR_ and ATR_ for menu headings */
|
||||
uint32_t colorcount; /* store how many colors terminal is capable of */
|
||||
boolean use_truecolor; /* force use of truecolor */
|
||||
|
||||
Reference in New Issue
Block a user