From 3fb675aa416170395d80eb51435a0d09161baf36 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 18 Dec 2015 16:10:08 +0300 Subject: Move inventory index related constants into separate file. --- src/const/net/inventory.h | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 src/const/net/inventory.h (limited to 'src/const') 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 . + */ + +#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 -- cgit v1.2.3-70-g09d2