summaryrefslogtreecommitdiff
path: root/src/net/eathena
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-22 11:34:15 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-22 11:34:15 +0300
commit76f6e6411a11dbe380b7f9c7db5e53c38a36d46b (patch)
tree24f26bee523ae2273e63c04c8d8b4dde1f0eede8 /src/net/eathena
parent69edff63cb86475db553b6adfb19fa5fd1c83a37 (diff)
downloadplus-76f6e6411a11dbe380b7f9c7db5e53c38a36d46b.tar.gz
plus-76f6e6411a11dbe380b7f9c7db5e53c38a36d46b.tar.bz2
plus-76f6e6411a11dbe380b7f9c7db5e53c38a36d46b.tar.xz
plus-76f6e6411a11dbe380b7f9c7db5e53c38a36d46b.zip
eathena: add menu variable.
Diffstat (limited to 'src/net/eathena')
-rw-r--r--src/net/eathena/menu.cpp28
-rw-r--r--src/net/eathena/menu.h33
2 files changed, 61 insertions, 0 deletions
diff --git a/src/net/eathena/menu.cpp b/src/net/eathena/menu.cpp
new file mode 100644
index 000000000..d80c8743f
--- /dev/null
+++ b/src/net/eathena/menu.cpp
@@ -0,0 +1,28 @@
+/*
+ * 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/>.
+ */
+
+#include "net/eathena/menutype.h"
+
+#include "debug.h"
+
+namespace EAthena
+{
+ MenuType::Type menu = MenuType::Unknown;
+} // namespace EAthena
diff --git a/src/net/eathena/menu.h b/src/net/eathena/menu.h
new file mode 100644
index 000000000..200f75f48
--- /dev/null
+++ b/src/net/eathena/menu.h
@@ -0,0 +1,33 @@
+/*
+ * 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_MENU_H
+#define NET_EATHENA_MENU_H
+
+#include "net/eathena/menutype.h"
+
+#include "debug.h"
+
+namespace EAthena
+{
+ extern MenuType::Type menu;
+} // namespace EAthena
+
+#endif // NET_EATHENA_MENU_H