diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-12-18 16:10:08 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-12-18 16:10:08 +0300 |
commit | 3fb675aa416170395d80eb51435a0d09161baf36 (patch) | |
tree | ebc15a0ad412d8680b897d6e54c49c607077a9f2 /src/net/ea | |
parent | 120e0b5b384566c89984aeea86ae517909ebaac1 (diff) | |
download | manaplus-3fb675aa416170395d80eb51435a0d09161baf36.tar.gz manaplus-3fb675aa416170395d80eb51435a0d09161baf36.tar.bz2 manaplus-3fb675aa416170395d80eb51435a0d09161baf36.tar.xz manaplus-3fb675aa416170395d80eb51435a0d09161baf36.zip |
Move inventory index related constants into separate file.
Diffstat (limited to 'src/net/ea')
-rw-r--r-- | src/net/ea/buysellrecv.cpp | 2 | ||||
-rw-r--r-- | src/net/ea/eaprotocol.h | 3 | ||||
-rw-r--r-- | src/net/ea/inventoryrecv.cpp | 2 |
3 files changed, 4 insertions, 3 deletions
diff --git a/src/net/ea/buysellrecv.cpp b/src/net/ea/buysellrecv.cpp index 28c0409f8..27e74ba6d 100644 --- a/src/net/ea/buysellrecv.cpp +++ b/src/net/ea/buysellrecv.cpp @@ -28,6 +28,8 @@ #include "being/playerinfo.h" +#include "const/net/inventory.h" + #include "enums/resources/notifytypes.h" #include "gui/windows/buydialog.h" diff --git a/src/net/ea/eaprotocol.h b/src/net/ea/eaprotocol.h index 48a7d9262..90b2b37af 100644 --- a/src/net/ea/eaprotocol.h +++ b/src/net/ea/eaprotocol.h @@ -102,7 +102,4 @@ enum EA_SPRITE_VECTOREND }; -static const int INVENTORY_OFFSET = 2; -static const int STORAGE_OFFSET = 1; - #endif // NET_EA_EAPROTOCOL_H diff --git a/src/net/ea/inventoryrecv.cpp b/src/net/ea/inventoryrecv.cpp index bda53bab3..65ba9078d 100644 --- a/src/net/ea/inventoryrecv.cpp +++ b/src/net/ea/inventoryrecv.cpp @@ -26,6 +26,8 @@ #include "being/localplayer.h" +#include "const/net/inventory.h" + #include "enums/equipslot.h" #include "enums/resources/notifytypes.h" |