diff options
author | Eugenio Favalli <elvenprogrammer@gmail.com> | 2004-10-02 10:40:58 +0000 |
---|---|---|
committer | Eugenio Favalli <elvenprogrammer@gmail.com> | 2004-10-02 10:40:58 +0000 |
commit | ace84beb9ef458b49d2c502c13f70c1aa6cc5da3 (patch) | |
tree | 7c034cb33f3c2c317a3acb98f44adc34b53d5df5 /src/gui/inventory.h | |
parent | cc2cf7a80788b725b5ce4ba616969172c62e9f8b (diff) | |
download | mana-ace84beb9ef458b49d2c502c13f70c1aa6cc5da3.tar.gz mana-ace84beb9ef458b49d2c502c13f70c1aa6cc5da3.tar.bz2 mana-ace84beb9ef458b49d2c502c13f70c1aa6cc5da3.tar.xz mana-ace84beb9ef458b49d2c502c13f70c1aa6cc5da3.zip |
*** empty log message ***
Diffstat (limited to 'src/gui/inventory.h')
-rw-r--r-- | src/gui/inventory.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gui/inventory.h b/src/gui/inventory.h index 653d99db..ee16d56b 100644 --- a/src/gui/inventory.h +++ b/src/gui/inventory.h @@ -45,7 +45,7 @@ struct itemHolder { // the holder of a item //int index; // item position }; -class TmwInventory{ +class TmwInventory { public: TmwInventory() {}; ~TmwInventory() {}; @@ -61,8 +61,9 @@ class TmwInventory{ int increase_quantity(int index, int quantity); // increase quantity of a item int use_item(int index, int id); //END API - private: + itemHolder items[INVENTORY_SIZE]; // this is the holder of items + private: DATAFILE *itemset; bool show_inventory; }; |