summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-09 19:38:13 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-09 19:38:13 +0300
commit0e58c7c1df7d4e02b1dc06d5ee40bd7ab25ef284 (patch)
treeca07297a4a1489132d7718e32e0bdd36342e0a21
parente234316a0a46677f4523b7b91b5c1cdc22a4fea1 (diff)
downloadmanaverse-0e58c7c1df7d4e02b1dc06d5ee40bd7ab25ef284.tar.gz
manaverse-0e58c7c1df7d4e02b1dc06d5ee40bd7ab25ef284.tar.bz2
manaverse-0e58c7c1df7d4e02b1dc06d5ee40bd7ab25ef284.tar.xz
manaverse-0e58c7c1df7d4e02b1dc06d5ee40bd7ab25ef284.zip
Add cooking types.
-rw-r--r--src/CMakeLists.txt1
-rw-r--r--src/Makefile.am1
-rw-r--r--src/being/cookingtype.h37
3 files changed, 39 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 4220c984c..60d1624a1 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -806,6 +806,7 @@ SET(SRCS
being/compounditem.h
being/compoundsprite.cpp
being/compoundsprite.h
+ being/cookingtype.h
being/gender.h
listeners/configlistener.h
configuration.cpp
diff --git a/src/Makefile.am b/src/Makefile.am
index feda2286f..fa20bf562 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -926,6 +926,7 @@ manaplus_SOURCES += gui/widgets/avatarlistbox.cpp \
being/compounditem.h \
being/compoundsprite.cpp \
being/compoundsprite.h \
+ being/cookingtype.h \
being/gender.h \
listeners/configlistener.h \
configuration.cpp \
diff --git a/src/being/cookingtype.h b/src/being/cookingtype.h
new file mode 100644
index 000000000..f1698ee50
--- /dev/null
+++ b/src/being/cookingtype.h
@@ -0,0 +1,37 @@
+/*
+ * The ManaPlus Client
+ * Copyright (C) 2011-2014 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 BEING_COOKINGTYPE_H
+#define BEING_COOKINGTYPE_H
+
+namespace CookingType
+{
+ enum Type
+ {
+ Cooking = 1,
+ Arrow = 2,
+ Elemental = 3,
+ MixCooking = 4,
+ MakeBomb = 5,
+ Pharmacy = 6
+ };
+} // namespace CookingType
+
+#endif // BEING_COOKINGTYPE_H