]> granicus.if.org Git - nethack/commit
autodescribe for #terrain
authorPatR <rankin@nethack.org>
Fri, 13 May 2016 01:57:10 +0000 (18:57 -0700)
committerPatR <rankin@nethack.org>
Fri, 13 May 2016 01:57:10 +0000 (18:57 -0700)
commitdccc8188014e7337fcbd39a9cd11dbd555ad1d01
tree16d96a53f30f2aaad15de667e535eed5602af8c1
parent088c47a427b74a1618952897cafe732dc607b03e
autodescribe for #terrain

Requested during beta-testing however long ago:  want a way to
look at specific map locations while #terrain is showing them
without monsters and/or objects and/or traps being displayed in
the way.  The post-3.6.0 autodescribe feature for getpos() made
this pretty easy to achieve, although the lookat() aspect felt
more like trail-and-error than careful design.

Instead of putting up a --More-- prompt, ask the player to pick
a location with the cursor.  Moving the cursor gives the terse
description for every location traversed.  Actually picking a
spot just ends #terrain and goes back to normal play.
doc/fixes36.1
include/flag.h
src/cmd.c
src/detect.c
src/do_name.c
src/pager.c