summaryrefslogtreecommitdiff
path: root/src/const/spells.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-12-13 22:45:52 +0300
committerAndrei Karas <akaras@inbox.ru>2015-12-13 22:45:52 +0300
commitac3ccda23ac4b5c69e15147b8082d90df2ac23de (patch)
tree593f2899e1891d8c5a6af47349570fb793e7ff79 /src/const/spells.h
parent6849c5919c02b4cf97de91c801b542e36eb089ce (diff)
downloadmanaverse-ac3ccda23ac4b5c69e15147b8082d90df2ac23de.tar.gz
manaverse-ac3ccda23ac4b5c69e15147b8082d90df2ac23de.tar.bz2
manaverse-ac3ccda23ac4b5c69e15147b8082d90df2ac23de.tar.xz
manaverse-ac3ccda23ac4b5c69e15147b8082d90df2ac23de.zip
Move spells and graphics related constants into separate files.
Diffstat (limited to 'src/const/spells.h')
-rw-r--r--src/const/spells.h32
1 files changed, 32 insertions, 0 deletions
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 <http://www.gnu.org/licenses/>.
+ */
+
+#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