summaryrefslogtreecommitdiff
path: root/src/enums/resources
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-07-19 16:36:52 +0300
committerAndrei Karas <akaras@inbox.ru>2016-07-19 16:36:52 +0300
commitad6f481792dd4df5adc47bec543bb1e349d566d9 (patch)
tree5220832bee60472f530164673195daff1508278d /src/enums/resources
parent81dcbc085f750fa8dfe6401b774c1b930e95e5ca (diff)
downloadmv-ad6f481792dd4df5adc47bec543bb1e349d566d9.tar.gz
mv-ad6f481792dd4df5adc47bec543bb1e349d566d9.tar.bz2
mv-ad6f481792dd4df5adc47bec543bb1e349d566d9.tar.xz
mv-ad6f481792dd4df5adc47bec543bb1e349d566d9.zip
Add support casting flag what allow moving.
Diffstat (limited to 'src/enums/resources')
-rw-r--r--src/enums/resources/skilltype.h1
-rw-r--r--src/enums/resources/skilltype2.h51
2 files changed, 52 insertions, 0 deletions
diff --git a/src/enums/resources/skilltype.h b/src/enums/resources/skilltype.h
index c91589034..bc2b75db6 100644
--- a/src/enums/resources/skilltype.h
+++ b/src/enums/resources/skilltype.h
@@ -21,6 +21,7 @@
#ifndef ENUMS_RESOURCES_SKILLTYPE_H
#define ENUMS_RESOURCES_SKILLTYPE_H
+// aka inf
namespace SkillType
{
enum SkillType
diff --git a/src/enums/resources/skilltype2.h b/src/enums/resources/skilltype2.h
new file mode 100644
index 000000000..30bf9187b
--- /dev/null
+++ b/src/enums/resources/skilltype2.h
@@ -0,0 +1,51 @@
+/*
+ * The ManaPlus Client
+ * Copyright (C) 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 ENUMS_RESOURCES_SKILLTYPE2_H
+#define ENUMS_RESOURCES_SKILLTYPE2_H
+
+// aka inf2
+namespace SkillType2
+{
+ enum SkillType2
+ {
+ Unknown = 0,
+ Quest = 1,
+ Npc = 2,
+ Wedding = 4,
+ Spirit = 8,
+ Guild = 16,
+ SongDance = 32,
+ Ensemble = 64,
+ Trap = 128,
+ TargetSelf = 256,
+ NoTargetSelf = 512,
+ PartyOnly = 1024,
+ GuildOnly = 2048,
+ NoEnemy = 4096,
+ NoLandProtector = 8192,
+ Chorus = 16384,
+ FreeCastNormal = 32768,
+ FreeCastReduced = 65536,
+ FreeCastAny = 98304
+ };
+} // namespace SkillType2
+
+#endif // ENUMS_RESOURCES_SKILLTYPE2_H