diff options
author | Simon Edwardsson <simon@crossnet.se> | 2004-10-03 14:55:10 +0000 |
---|---|---|
committer | Simon Edwardsson <simon@crossnet.se> | 2004-10-03 14:55:10 +0000 |
commit | 2401b8b64f4c7ac574545b4db2dff1f4504a37fb (patch) | |
tree | ab4d91848ae38b9ab7a6b70fab48c1c68def5e67 /src/gui/inventory.h | |
parent | 9c4d57c8a76f8494d702f733998aaa70eaab0e5e (diff) | |
download | mana-2401b8b64f4c7ac574545b4db2dff1f4504a37fb.tar.gz mana-2401b8b64f4c7ac574545b4db2dff1f4504a37fb.tar.bz2 mana-2401b8b64f4c7ac574545b4db2dff1f4504a37fb.tar.xz mana-2401b8b64f4c7ac574545b4db2dff1f4504a37fb.zip |
Now possible to use items (again)
Diffstat (limited to 'src/gui/inventory.h')
-rw-r--r-- | src/gui/inventory.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gui/inventory.h b/src/gui/inventory.h index 0a8fd600..de710cfd 100644 --- a/src/gui/inventory.h +++ b/src/gui/inventory.h @@ -61,12 +61,14 @@ class TmwInventory { int increase_quantity(int index, int quantity); // increase quantity of a item int use_item(int index, int id); int quantityForIndex(int index) { return items[index].quantity; } + int drop_item(int index, int amunt); //END API - + itemHolder items[INVENTORY_SIZE]; // this is the holder of items private: DATAFILE *itemset; bool show_inventory; + int itemMeny, itemMeny_x, itemMeny_y, itemMeny_i; }; #endif |