diff options
author | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-08-02 17:57:40 +0000 |
---|---|---|
committer | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-08-02 17:57:40 +0000 |
commit | 73945a5e77bcfacb8aa8aa935f074cabb0a0f3cf (patch) | |
tree | 84cbacf4db1eb4ff91bbb30f3e069169bd2f2a48 /crawl-ref/source/items.h | |
parent | e160fb287cda3717eebdee04c7a0a45b484549d6 (diff) | |
download | crawl-ref-73945a5e77bcfacb8aa8aa935f074cabb0a0f3cf.tar.gz crawl-ref-73945a5e77bcfacb8aa8aa935f074cabb0a0f3cf.zip |
Apply Yelve Yakut's patch (2020369) to list monsters and items in view.
The command to do so is xx, and you can select an entry for more
details, which will be the database description ('v') for items and the
more detailed 'x' description for monsters, which I think is more useful.
What's still needed is some kind of sorting by, I guess, difficulty for
monsters and respecting sort_menus for the items. Also, the item listing
is not terribly useful at the moment but surely soon someone will think
of a way to change that. :)
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6755 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/items.h')
-rw-r--r-- | crawl-ref/source/items.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/crawl-ref/source/items.h b/crawl-ref/source/items.h index 1693a16d08..3d59851843 100644 --- a/crawl-ref/source/items.h +++ b/crawl-ref/source/items.h @@ -90,6 +90,12 @@ void request_autopickup(bool do_pickup = true); * *********************************************************************** */ void pickup(void); +/* *********************************************************************** + * called from: directn + * *********************************************************************** */ +int item_name_specialness(const item_def& item); +void item_list_on_square( std::vector<const item_def*>& items, + int obj, bool force_squelch = false ); // last updated 08jun2000 {dlb} /* *********************************************************************** |