summaryrefslogtreecommitdiff
path: root/src/enums
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-08-14 19:25:00 +0300
committerAndrei Karas <akaras@inbox.ru>2016-08-14 19:25:00 +0300
commit8ea20d3e1f61bcfeccf6885e11cacddeb014fe0f (patch)
treebda5dc8f66925aed8a1671a9d806a407af7bef3f /src/enums
parentf3781554bf946a22ac307d1c8fe6154db05bbf2e (diff)
downloadmv-8ea20d3e1f61bcfeccf6885e11cacddeb014fe0f.tar.gz
mv-8ea20d3e1f61bcfeccf6885e11cacddeb014fe0f.tar.bz2
mv-8ea20d3e1f61bcfeccf6885e11cacddeb014fe0f.tar.xz
mv-8ea20d3e1f61bcfeccf6885e11cacddeb014fe0f.zip
Add skill cast type option in skills window.
Can be changed, but for now unused.
Diffstat (limited to 'src/enums')
-rw-r--r--src/enums/input/inputaction.h2
-rw-r--r--src/enums/resources/skill/casttype.h35
2 files changed, 37 insertions, 0 deletions
diff --git a/src/enums/input/inputaction.h b/src/enums/input/inputaction.h
index babd4c23f..60eb5bf82 100644
--- a/src/enums/input/inputaction.h
+++ b/src/enums/input/inputaction.h
@@ -673,6 +673,8 @@ enumStart(InputAction)
SET_EMOTE_TYPE,
CAMERA_RESTORE,
SHOW_SKILL_LEVELS,
+ SHOW_SKILL_TYPE,
+ SELECT_SKILL_TYPE,
TOTAL
}
enumEnd(InputAction);
diff --git a/src/enums/resources/skill/casttype.h b/src/enums/resources/skill/casttype.h
new file mode 100644
index 000000000..b9be6d30b
--- /dev/null
+++ b/src/enums/resources/skill/casttype.h
@@ -0,0 +1,35 @@
+/*
+ * The ManaPlus Client
+ * Copyright (C) 2011-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_CASTTYPE_H
+#define ENUMS_RESOURCES_CASTTYPE_H
+
+#include "enums/simpletypes/enumdefines.h"
+
+enumStart(CastType)
+{
+ Default = 0,
+ Target = 1,
+ Position = 2,
+ Self = 3
+}
+enumEnd(CastType);
+
+#endif // ENUMS_RESOURCES_CASTTYPE_H