diff options
author | Jared Adams <jaxad0127@gmail.com> | 2009-03-08 18:40:48 -0600 |
---|---|---|
committer | Ira Rice <irarice@gmail.com> | 2009-03-09 00:52:56 -0600 |
commit | 5fa3f62d0d6d9cbffeef0f6a2497aae023dbadcf (patch) | |
tree | a905c74e059311b5adf10a6eacbe53482d95c380 /src/inventory.h | |
parent | 6ea994477c58912785729e7922eb90862a1ab13c (diff) | |
download | mana-5fa3f62d0d6d9cbffeef0f6a2497aae023dbadcf.tar.gz mana-5fa3f62d0d6d9cbffeef0f6a2497aae023dbadcf.tar.bz2 mana-5fa3f62d0d6d9cbffeef0f6a2497aae023dbadcf.tar.xz mana-5fa3f62d0d6d9cbffeef0f6a2497aae023dbadcf.zip |
Add an interface for eAthena's storage system
Diffstat (limited to 'src/inventory.h')
-rw-r--r-- | src/inventory.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/inventory.h b/src/inventory.h index 3b3ec507..e23f7657 100644 --- a/src/inventory.h +++ b/src/inventory.h @@ -26,6 +26,7 @@ class Item; #define INVENTORY_SIZE 102 +#define STORAGE_SIZE 301 class Inventory { @@ -33,7 +34,7 @@ class Inventory /** * Constructor. */ - Inventory(int size); + Inventory(int size, int offset); /** * Destructor. @@ -111,6 +112,7 @@ class Inventory protected: Item **mItems; /**< The holder of items */ int mSize; /**< The max number of inventory items */ + int mOffset; /**< Offset used by the inventory */ }; #endif |