diff options
author | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2006-08-02 12:54:15 +0000 |
---|---|---|
committer | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2006-08-02 12:54:15 +0000 |
commit | d5e5340c3926d1cf97f6cba151ffaecb20bfb35f (patch) | |
tree | d1faf7d5b27df8f3c523a8dd33357804118e62b1 /trunk/source/items.h | |
parent | 7b2204d69f21d7075e4666ee032d7a129081bc4b (diff) | |
download | crawl-ref-d5e5340c3926d1cf97f6cba151ffaecb20bfb35f.tar.gz crawl-ref-d5e5340c3926d1cf97f6cba151ffaecb20bfb35f.zip |
Integrated travel patch as of 20060727
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'trunk/source/items.h')
-rw-r--r-- | trunk/source/items.h | 21 |
1 files changed, 20 insertions, 1 deletions
diff --git a/trunk/source/items.h b/trunk/source/items.h index 10b1ee27c9..c4bca72527 100644 --- a/trunk/source/items.h +++ b/trunk/source/items.h @@ -85,7 +85,8 @@ void pickup(void); * called from: beam - items - transfor * *********************************************************************** */ bool copy_item_to_grid( const item_def &item, int x_plos, int y_plos, - int quant_drop = -1 ); // item.quantity by default + int quant_drop = -1, // item.quantity by default + bool mark_dropped = false); // last updated Oct 15, 2000 -- bwr /* *********************************************************************** @@ -122,4 +123,22 @@ int inv_count(void); void cmd_destroy_item( void ); +bool pickup_single_item(int link, int qty); + +bool drop_item( int item_dropped, int quant_drop ); + +int get_equip_slot(const item_def *item); + +void origin_set(int x, int y); +void origin_set_monster(item_def &item, const monsters *monster); +void origin_freeze(item_def &item, int x, int y); +bool origin_known(const item_def &item); +bool origin_describable(const item_def &item); +std::string origin_desc(const item_def &item); +void origin_purchased(item_def &item); +void origin_acquired(item_def &item, int agent); +void origin_set_startequip(item_def &item); +void origin_set_unknown(item_def &item); +void origin_set_inventory( void (*oset)(item_def &item) ); + #endif |