From ac3ccda23ac4b5c69e15147b8082d90df2ac23de Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 13 Dec 2015 22:45:52 +0300 Subject: Move spells and graphics related constants into separate files. --- src/const/spells.h | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 src/const/spells.h (limited to 'src/const/spells.h') diff --git a/src/const/spells.h b/src/const/spells.h new file mode 100644 index 000000000..3f75fbe5d --- /dev/null +++ b/src/const/spells.h @@ -0,0 +1,32 @@ +/* + * The ManaPlus Client + * Copyright (C) 2009-2010 Andrei Karas + * 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_SPELLMINID_H +#define CONST_SPELLMINID_H + +#include "localconsts.h" + +const int SPELL_MIN_ID = 100000; +const unsigned int SPELL_SHORTCUT_ITEMS = 49; +const unsigned int SPELL_SHORTCUT_TABS = 5; +const unsigned int SPELLS_SIZE = SPELL_SHORTCUT_ITEMS * SPELL_SHORTCUT_TABS; + +#endif // CONST_SPELLMINID_H -- cgit v1.2.3-60-g2f50