diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-09-09 19:38:13 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-09-09 19:38:13 +0300 |
commit | 0e58c7c1df7d4e02b1dc06d5ee40bd7ab25ef284 (patch) | |
tree | ca07297a4a1489132d7718e32e0bdd36342e0a21 | |
parent | e234316a0a46677f4523b7b91b5c1cdc22a4fea1 (diff) | |
download | manaplus-0e58c7c1df7d4e02b1dc06d5ee40bd7ab25ef284.tar.gz manaplus-0e58c7c1df7d4e02b1dc06d5ee40bd7ab25ef284.tar.bz2 manaplus-0e58c7c1df7d4e02b1dc06d5ee40bd7ab25ef284.tar.xz manaplus-0e58c7c1df7d4e02b1dc06d5ee40bd7ab25ef284.zip |
Add cooking types.
-rw-r--r-- | src/CMakeLists.txt | 1 | ||||
-rw-r--r-- | src/Makefile.am | 1 | ||||
-rw-r--r-- | src/being/cookingtype.h | 37 |
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 |