summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-22 01:23:20 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-22 01:23:20 +0300
commit69edff63cb86475db553b6adfb19fa5fd1c83a37 (patch)
tree8f5a0e4776d3564576482f20ccba8d86d891fb32 /src
parentdc523c0a90af99bdb78216f550576e7d38cb6737 (diff)
downloadmv-69edff63cb86475db553b6adfb19fa5fd1c83a37.tar.gz
mv-69edff63cb86475db553b6adfb19fa5fd1c83a37.tar.bz2
mv-69edff63cb86475db553b6adfb19fa5fd1c83a37.tar.xz
mv-69edff63cb86475db553b6adfb19fa5fd1c83a37.zip
eathena: add menu type enum.
Diffstat (limited to 'src')
-rw-r--r--src/CMakeLists.txt1
-rw-r--r--src/Makefile.am1
-rw-r--r--src/net/eathena/menutype.h51
3 files changed, 53 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 94fd562c2..410a0d5a9 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -1378,6 +1378,7 @@ SET(SRCS_EATHENA
net/eathena/loginhandler.h
net/eathena/mailhandler.cpp
net/eathena/mailhandler.h
+ net/eathena/menutype.h
net/eathena/mercenaryhandler.cpp
net/eathena/mercenaryhandler.h
net/eathena/messagehandler.cpp
diff --git a/src/Makefile.am b/src/Makefile.am
index 9a3c10cd1..6deccae3f 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1311,6 +1311,7 @@ manaplus_SOURCES += net/eathena/adminhandler.cpp \
net/eathena/loginhandler.h \
net/eathena/mailhandler.cpp \
net/eathena/mailhandler.h \
+ net/eathena/menutype.h \
net/eathena/mercenaryhandler.cpp \
net/eathena/mercenaryhandler.h \
net/eathena/messagehandler.cpp \
diff --git a/src/net/eathena/menutype.h b/src/net/eathena/menutype.h
new file mode 100644
index 000000000..5ca671e1d
--- /dev/null
+++ b/src/net/eathena/menutype.h
@@ -0,0 +1,51 @@
+/*
+ * The ManaPlus Client
+ * Copyright (C) 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 NET_EATHENA_MENUTYPE_H
+#define NET_EATHENA_MENUTYPE_H
+
+namespace EAthena
+{
+ namespace MenuType
+ {
+ enum Type
+ {
+ Unknown = 0,
+ Analysis,
+ AutoSpell,
+ AutoShadowSpell,
+ ChangeMaterial,
+ CreateConvert,
+ Eggs,
+ Feel,
+ Identify,
+ MagicDecoy,
+ MakingArrows,
+ PoisoningWeapon,
+ ReadingSpellBook,
+ RepairWespon,
+ Teleport,
+ Warp,
+ WeaponeRefine,
+ };
+ } // namespace MenuType
+} // namespace EAthena
+
+#endif // NET_EATHENA_MENUTYPE_H