]> granicus.if.org Git - nethack/commit
'/' enhancement
authorPatR <rankin@nethack.org>
Tue, 7 Jul 2015 02:07:26 +0000 (19:07 -0700)
committerPatR <rankin@nethack.org>
Tue, 7 Jul 2015 02:07:26 +0000 (19:07 -0700)
commit63736ba33bdf211431e9a5b2bc228a5b30e83798
tree779d63645f4ddfca75fff2760aafd70b5c07a57a
parentfe09f7156d7ea6966852af77eb788b60d8d0d313
'/' enhancement

Add new entries to the menu used for the '/' command:  describe nearby
monsters, describe all shown monsters, describe nearby objects, and
describe all shown objects.  It makes a text window listing monsters--
or objects--currently displayed on the map, showing lines of
X  r,c  monster-or-object description
where 'X' is symbol (monster or object class letter for tty), 'r,c' is
row and column separated by comma, and description is similar to what
using '/y' or ';' manually would provide (how-seen info is omitted
when listing monsters).

Originally intended for blind players using screen readers to describe
what is displayed, but will probably get used by other players too.

The map doesn't use a separate set of glyphs for objects which are the
tops of piles, so the information that there are additional objects
beneath the ones shown isn't available to '/' and ';'.  That feels like
a bug to me....
src/pager.c