new command '`' to show discoveries for one class (trunk only)

Use the grave accent (back tick) character as the keystroke for a
new command which prompts for an object class and then shows a subset of
the discovered objects list covering just the selected class.  Similar
to the 'I' variant of 'i' for viewing inventory, and mainly useful once
the '\' discoveries list has grown long.
This commit is contained in:
nethack.rankin
2011-09-15 04:16:29 +00:00
parent b42cc3bdb0
commit 16e81690e3
11 changed files with 195 additions and 9 deletions

View File

@@ -1538,6 +1538,7 @@ E void FDECL(restnames, (int));
E void FDECL(discover_object, (int,BOOLEAN_P,BOOLEAN_P));
E void FDECL(undiscover_object, (int));
E int NDECL(dodiscovered);
E int NDECL(doclassdisco);
E void NDECL(rename_disco);
/* ### objects.c ### */