diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-09-05 11:56:09 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-09-06 01:18:57 +0300 |
commit | 3b1d570f626786d141d99a7923669e82e0c125ca (patch) | |
tree | 32b97502634d7eff39a8f83ce0ba921c55291694 /src | |
parent | 89c117a64240de90c19004c846edf7c524f6484d (diff) | |
download | mv-3b1d570f626786d141d99a7923669e82e0c125ca.tar.gz mv-3b1d570f626786d141d99a7923669e82e0c125ca.tar.bz2 mv-3b1d570f626786d141d99a7923669e82e0c125ca.tar.xz mv-3b1d570f626786d141d99a7923669e82e0c125ca.zip |
Add skill types enum.
Diffstat (limited to 'src')
-rw-r--r-- | src/CMakeLists.txt | 1 | ||||
-rw-r--r-- | src/Makefile.am | 3 | ||||
-rw-r--r-- | src/resources/skilltype.h | 37 |
3 files changed, 40 insertions, 1 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index b5ff1e503..e19a4b96f 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -649,6 +649,7 @@ SET(SRCS resources/sdlmusic.cpp resources/sdlmusic.h resources/skillconsts.h + resources/skilltype.h resources/db/sounddb.cpp resources/db/sounddb.h resources/db/weaponsdb.cpp diff --git a/src/Makefile.am b/src/Makefile.am index 8baa3520a..f849e0163 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -100,7 +100,6 @@ dyecmd_SOURCES = gui/cliprect.cpp \ resources/sdlimagehelper.h \ resources/sdlmusic.cpp \ resources/sdlmusic.h \ - resources/skillconsts.h \ resources/soundeffect.cpp \ resources/soundeffect.h \ resources/subimage.cpp \ @@ -772,6 +771,8 @@ manaplus_SOURCES += gui/widgets/avatarlistbox.cpp \ resources/sdlimagehelper.h \ resources/sdlmusic.cpp \ resources/sdlmusic.h \ + resources/skillconsts.h \ + resources/skilltype.h \ resources/db/sounddb.cpp \ resources/db/sounddb.h \ resources/db/weaponsdb.cpp \ diff --git a/src/resources/skilltype.h b/src/resources/skilltype.h new file mode 100644 index 000000000..79384762f --- /dev/null +++ b/src/resources/skilltype.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 RESOURCES_SKILLTYPE_H +#define RESOURCES_SKILLTYPE_H + +namespace SkillType +{ + enum SkillType + { + Attack = 1, + Ground = 2, + Self = 4, + Unused = 8, + Support = 16, + TargetTrap = 32 + }; +} // namespace SkillType + +#endif // RESOURCES_SKILLTYPE_H |