diff options
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 |