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/const/net | |
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/const/net')
-rw-r--r-- | src/const/net/inventory.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/src/const/net/inventory.h b/src/const/net/inventory.h new file mode 100644 index 000000000..37ef8ab74 --- /dev/null +++ b/src/const/net/inventory.h @@ -0,0 +1,29 @@ +/* + * The ManaPlus Client + * Copyright (C) 2004-2009 The Mana World Development Team + * Copyright (C) 2009-2010 The Mana Developers + * Copyright (C) 2011-2015 The ManaPlus Developers + * + * This file is part of The ManaPlus Client. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ + +#ifndef CONST_NET_INVENTORY_H +#define CONST_NET_INVENTORY_H + +static const int INVENTORY_OFFSET = 2; +static const int STORAGE_OFFSET = 1; + +#endif // CONST_NET_INVENTORY_H |