From 76f6e6411a11dbe380b7f9c7db5e53c38a36d46b Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 22 Sep 2014 11:34:15 +0300 Subject: eathena: add menu variable. --- src/net/eathena/menu.cpp | 28 ++++++++++++++++++++++++++++ src/net/eathena/menu.h | 33 +++++++++++++++++++++++++++++++++ 2 files changed, 61 insertions(+) create mode 100644 src/net/eathena/menu.cpp create mode 100644 src/net/eathena/menu.h (limited to 'src/net/eathena') 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 . + */ + +#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 . + */ + +#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 -- cgit v1.2.3-70-g09d2