From 0e58c7c1df7d4e02b1dc06d5ee40bd7ab25ef284 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 9 Sep 2014 19:38:13 +0300 Subject: Add cooking types. --- src/CMakeLists.txt | 1 + src/Makefile.am | 1 + src/being/cookingtype.h | 37 +++++++++++++++++++++++++++++++++++++ 3 files changed, 39 insertions(+) create mode 100644 src/being/cookingtype.h 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 . + */ + +#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 -- cgit v1.2.3-60-g2f50