From 69edff63cb86475db553b6adfb19fa5fd1c83a37 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 22 Sep 2014 01:23:20 +0300 Subject: eathena: add menu type enum. --- src/CMakeLists.txt | 1 + src/Makefile.am | 1 + src/net/eathena/menutype.h | 51 ++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 53 insertions(+) create mode 100644 src/net/eathena/menutype.h 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 . + */ + +#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 -- cgit v1.2.3-60-g2f50