summaryrefslogtreecommitdiff
path: root/src/const
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-01-17 18:36:21 +0300
committerAndrei Karas <akaras@inbox.ru>2016-01-17 19:19:58 +0300
commit55cbf74cbe2c40b4592e72621e40f8858fc376d9 (patch)
tree1adb70df7ddddde9a504d572a789e7afb5cae58c /src/const
parent261a118937d8b1cd41cf16d983f880e5957f84b1 (diff)
downloadmv-55cbf74cbe2c40b4592e72621e40f8858fc376d9.tar.gz
mv-55cbf74cbe2c40b4592e72621e40f8858fc376d9.tar.bz2
mv-55cbf74cbe2c40b4592e72621e40f8858fc376d9.tar.xz
mv-55cbf74cbe2c40b4592e72621e40f8858fc376d9.zip
Move cards constants into separate file.
Diffstat (limited to 'src/const')
-rw-r--r--src/const/resources/item/cards.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/src/const/resources/item/cards.h b/src/const/resources/item/cards.h
new file mode 100644
index 000000000..7a58ed3ea
--- /dev/null
+++ b/src/const/resources/item/cards.h
@@ -0,0 +1,27 @@
+/*
+ * The ManaPlus Client
+ * Copyright (C) 2011-2016 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_RESOURCES_ITEM_ITEM_H
+#define CONST_RESOURCES_ITEM_ITEM_H
+
+const int maxCards = 4;
+const int maxMailCards = 4;
+
+#endif // CONST_RESOURCES_ITEM_ITEM_H