diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-10-10 22:14:45 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-10-10 22:15:57 +0300 |
commit | aa3f63fd497558a02feb3ddbc44f31eac091f39b (patch) | |
tree | 0e28b9b1f0501dd8be9e1a38db4ec1777fa3fbfa /src/input/pages | |
parent | 7c10a6b61e9d06a4ae9cc9f942dfacb6fcfd9d3d (diff) | |
download | mv-aa3f63fd497558a02feb3ddbc44f31eac091f39b.tar.gz mv-aa3f63fd497558a02feb3ddbc44f31eac091f39b.tar.bz2 mv-aa3f63fd497558a02feb3ddbc44f31eac091f39b.tar.xz mv-aa3f63fd497558a02feb3ddbc44f31eac091f39b.zip |
Remove most unused files.
Diffstat (limited to 'src/input/pages')
-rw-r--r-- | src/input/pages/basic.cpp | 271 | ||||
-rw-r--r-- | src/input/pages/basic.h | 31 | ||||
-rw-r--r-- | src/input/pages/chat.cpp | 251 | ||||
-rw-r--r-- | src/input/pages/chat.h | 28 | ||||
-rw-r--r-- | src/input/pages/craft.cpp | 89 | ||||
-rw-r--r-- | src/input/pages/craft.h | 28 | ||||
-rw-r--r-- | src/input/pages/emotes.cpp | 655 | ||||
-rw-r--r-- | src/input/pages/emotes.h | 31 | ||||
-rw-r--r-- | src/input/pages/gui.cpp | 198 | ||||
-rw-r--r-- | src/input/pages/gui.h | 28 | ||||
-rw-r--r-- | src/input/pages/move.cpp | 404 | ||||
-rw-r--r-- | src/input/pages/move.h | 31 | ||||
-rw-r--r-- | src/input/pages/other.cpp | 465 | ||||
-rw-r--r-- | src/input/pages/other.h | 31 | ||||
-rw-r--r-- | src/input/pages/outfits.cpp | 374 | ||||
-rw-r--r-- | src/input/pages/outfits.h | 31 | ||||
-rw-r--r-- | src/input/pages/shortcuts.cpp | 176 | ||||
-rw-r--r-- | src/input/pages/shortcuts.h | 31 | ||||
-rw-r--r-- | src/input/pages/windows.cpp | 271 | ||||
-rw-r--r-- | src/input/pages/windows.h | 31 |
20 files changed, 0 insertions, 3455 deletions
diff --git a/src/input/pages/basic.cpp b/src/input/pages/basic.cpp deleted file mode 100644 index ad4ad2c6f..000000000 --- a/src/input/pages/basic.cpp +++ /dev/null @@ -1,271 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2007 Joshua Langley <joshlangley@optusnet.com.au> - * Copyright (C) 2009 The Mana World Development Team - * Copyright (C) 2009-2010 The Mana Developers - * Copyright (C) 2011-2017 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 "gui/setupactiondata.h" - -#include "utils/gettext.h" - -#include "debug.h" - -SetupActionData setupActionDataBasic[] = -{ - { - // TRANSLATORS: input action name - N_("Target and attack keys"), - InputAction::NO_VALUE, - "", - }, - { - // TRANSLATORS: input action name - N_("Attack"), - InputAction::ATTACK, - "", - }, - { - // TRANSLATORS: input action name - N_("Target & attack closest monster"), - InputAction::TARGET_ATTACK, - "", - }, - { - // TRANSLATORS: input action name - N_("Target & attack closest player"), - InputAction::ATTACK_HUMAN, - "", - }, - { - // TRANSLATORS: input action name - N_("Move to Target"), - InputAction::MOVE_TO_TARGET, - "", - }, - { - // TRANSLATORS: input action name - N_("Change Move to Target type"), - InputAction::CHANGE_MOVE_TO_TARGET, - "", - }, - { - // TRANSLATORS: input action name - N_("Move to Home location"), - InputAction::MOVE_TO_HOME, - "", - }, - { - // TRANSLATORS: input action name - N_("Set home location"), - InputAction::SET_HOME, - "", - }, - { - // TRANSLATORS: input action name - N_("Move to navigation point"), - InputAction::MOVE_TO_POINT, - "", - }, - { - // TRANSLATORS: input action name - N_("Talk"), - InputAction::TALK, - "", - }, - { - // TRANSLATORS: input action name - N_("Stop Attack / Modifier key"), - InputAction::STOP_ATTACK, - "", - }, - { - // TRANSLATORS: input action name - N_("Untarget"), - InputAction::UNTARGET, - "", - }, - { - // TRANSLATORS: input action name - N_("Target monster"), - InputAction::TARGET_MONSTER, - "", - }, - { - // TRANSLATORS: input action name - N_("Target closest monster (without filters)"), - InputAction::TARGET_CLOSEST_MONSTER, - "", - }, - { - // TRANSLATORS: input action name - N_("Target NPC"), - InputAction::TARGET_NPC, - "", - }, - { - // TRANSLATORS: input action name - N_("Target Player"), - InputAction::TARGET_PLAYER, - "", - }, - { - // TRANSLATORS: input action name - N_("Target mercenary"), - InputAction::TARGET_MERCENARY, - "", - }, - { - // TRANSLATORS: input action name - N_("Target skill unit"), - InputAction::TARGET_SKILL_UNIT, - "", - }, - { - // TRANSLATORS: input action name - N_("Change targeting type"), - InputAction::CHANGE_TARGETING_TYPE, - "", - }, - { - // TRANSLATORS: input action name - N_("Target pet"), - InputAction::TARGET_PET, - "", - }, - { - // TRANSLATORS: input action name - N_("Catch pet"), - InputAction::CATCH_PET, - "", - }, - { - // TRANSLATORS: input action name - N_("Other Keys"), - InputAction::NO_VALUE, - "", - }, - { - // TRANSLATORS: input action name - N_("Pickup"), - InputAction::PICKUP, - "", - }, - { - // TRANSLATORS: input action name - N_("Change Pickup Type"), - InputAction::CHANGE_PICKUP_TYPE, - "", - }, - { - // TRANSLATORS: input action name - N_("Sit"), - InputAction::SIT, - "", - }, - { - // TRANSLATORS: input action name - N_("Screenshot"), - InputAction::SCREENSHOT, - "", - }, - { - // TRANSLATORS: input action name - N_("Enable/Disable Trading"), - InputAction::CHANGE_TRADE, - "", - }, - { - // TRANSLATORS: input action name - N_("Open trade window"), - InputAction::OPEN_TRADE, - "", - }, - { - // TRANSLATORS: input action name - N_("Start trade with target"), - InputAction::TRADE, - "", - }, - { - // TRANSLATORS: input action name - N_("Follow selected player"), - InputAction::FOLLOW, - "", - }, - { - // TRANSLATORS: input action name - N_("Change Map View Mode"), - InputAction::PATHFIND, - "", - }, - { - // TRANSLATORS: input action name - N_("Select OK"), - InputAction::OK, - "", - }, - { - // TRANSLATORS: input action name - N_("Quit"), - InputAction::QUIT, - "", - }, - { - // TRANSLATORS: input action name - N_("Stop or sit"), - InputAction::STOP_SIT, - "", - }, - { - // TRANSLATORS: input action name - N_("Return to safe video mode"), - InputAction::SAFE_VIDEO, - "", - }, - { - // TRANSLATORS: input action name - N_("Fire your homunculus"), - InputAction::HOMUNCULUS_FIRE, - "", - }, - { - // TRANSLATORS: input action name - N_("Buy"), - InputAction::BUY, - "", - }, - { - // TRANSLATORS: input action name - N_("Sell"), - InputAction::SELL, - "", - }, - { - // TRANSLATORS: input action name - N_("Open context menu"), - InputAction::CONTEXT_MENU, - "", - }, - { - "", - InputAction::NO_VALUE, - "" - } -}; diff --git a/src/input/pages/basic.h b/src/input/pages/basic.h deleted file mode 100644 index 5cfe3af53..000000000 --- a/src/input/pages/basic.h +++ /dev/null @@ -1,31 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2007 Joshua Langley <joshlangley@optusnet.com.au> - * Copyright (C) 2009 The Mana World Development Team - * Copyright (C) 2009-2010 The Mana Developers - * Copyright (C) 2011-2017 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 INPUT_PAGES_BASIC_H -#define INPUT_PAGES_BASIC_H - -#include "gui/setupactiondata.h" - -extern SetupActionData setupActionDataBasic[]; - -#endif // INPUT_PAGES_BASIC_H diff --git a/src/input/pages/chat.cpp b/src/input/pages/chat.cpp deleted file mode 100644 index c8abfc9ca..000000000 --- a/src/input/pages/chat.cpp +++ /dev/null @@ -1,251 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2011-2017 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 "gui/setupactiondata.h" - -#include "utils/gettext.h" - -#include "debug.h" - -SetupActionData setupActionDataChat[] = -{ - { - // TRANSLATORS: input action group - N_("Main"), - InputAction::NO_VALUE, - "", - }, - { - // TRANSLATORS: input action name - N_("Toggle Chat"), - InputAction::TOGGLE_CHAT, - "", - }, - { - // TRANSLATORS: input action name - N_("Chat modifier key"), - InputAction::CHAT_MOD, - "", - }, - { - // TRANSLATORS: input action name - N_("Scroll Chat Up"), - InputAction::SCROLL_CHAT_UP, - "", - }, - { - // TRANSLATORS: input action name - N_("Scroll Chat Down"), - InputAction::SCROLL_CHAT_DOWN, - "", - }, - { - // TRANSLATORS: input action group - N_("Tabs"), - InputAction::NO_VALUE, - "", - }, - { - // TRANSLATORS: input action name - N_("Previous Chat Tab"), - InputAction::PREV_CHAT_TAB, - "", - }, - { - // TRANSLATORS: input action name - N_("Next Chat Tab"), - InputAction::NEXT_CHAT_TAB, - "", - }, - { - // TRANSLATORS: input action name - N_("Clear current chat tab"), - InputAction::CLEAR_CHAT_TAB, - "", - }, - { - // TRANSLATORS: input action name - N_("Close current Chat Tab"), - InputAction::CLOSE_CHAT_TAB, - "", - }, - { - // TRANSLATORS: input action name - N_("Close all chat tabs"), - InputAction::CLOSE_ALL_CHAT_TABS, - "", - }, - { - // TRANSLATORS: input action name - N_("Select general tab"), - InputAction::CHAT_GENERAL_TAB, - "", - }, - { - // TRANSLATORS: input action name - N_("Select debug tab"), - InputAction::CHAT_DEBUG_TAB, - "", - }, - { - // TRANSLATORS: input action name - N_("Select trade tab"), - InputAction::CHAT_TRADE_TAB, - "", - }, - { - // TRANSLATORS: input action name - N_("Select battle tab"), - InputAction::CHAT_BATTLE_TAB, - "", - }, - { - // TRANSLATORS: input action name - N_("Select gm tab"), - InputAction::CHAT_GM_TAB, - "", - }, - { - // TRANSLATORS: input action name - N_("Select lang tab"), - InputAction::CHAT_LANG_TAB, - "", - }, - { - // TRANSLATORS: input action name - N_("Select party tab"), - InputAction::CHAT_PARTY_TAB, - "", - }, - { - // TRANSLATORS: input action name - N_("Select guild tab"), - InputAction::CHAT_GUILD_TAB, - "", - }, - { - // TRANSLATORS: input action group - N_("Other"), - InputAction::NO_VALUE, - "", - }, - { - // TRANSLATORS: input action name - N_("Ignore all whispers"), - InputAction::IGNORE_ALL_WHISPERS, - "", - }, - { - // TRANSLATORS: input action name - N_("Ignore all whispers on server side"), - InputAction::SERVER_IGNORE_ALL, - "", - }, - { - // TRANSLATORS: input action name - N_("Unignore all whispers on server side"), - InputAction::SERVER_UNIGNORE_ALL, - "", - }, - { - // TRANSLATORS: input action name - N_("Previous chat line"), - InputAction::CHAT_PREV_HISTORY, - "", - }, - { - // TRANSLATORS: input action name - N_("Next chat line"), - InputAction::CHAT_NEXT_HISTORY, - "", - }, - { - // TRANSLATORS: input action group - N_("Smiles"), - InputAction::NO_VALUE, - "", - }, - { - // TRANSLATORS: input action name - N_("Show smiles"), - InputAction::GUI_F1, - "", - }, - { - "F2", - InputAction::GUI_F2, - "", - }, - { - "F3", - InputAction::GUI_F3, - "", - }, - { - "F4", - InputAction::GUI_F4, - "", - }, - { - "F5", - InputAction::GUI_F5, - "", - }, - { - "F6", - InputAction::GUI_F6, - "", - }, - { - "F7", - InputAction::GUI_F7, - "", - }, - { - "F8", - InputAction::GUI_F8, - "", - }, - { - "F9", - InputAction::GUI_F9, - "", - }, - { - "F10", - InputAction::GUI_F10, - "", - }, - { - "F11", - InputAction::GUI_F11, - "", - }, - { - "F12", - InputAction::GUI_F12, - "", - }, - { - "", - InputAction::NO_VALUE, - "" - } -}; diff --git a/src/input/pages/chat.h b/src/input/pages/chat.h deleted file mode 100644 index 2f4cf147b..000000000 --- a/src/input/pages/chat.h +++ /dev/null @@ -1,28 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2011-2017 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 INPUT_PAGES_CHAT_H -#define INPUT_PAGES_CHAT_H - -#include "gui/setupactiondata.h" - -extern SetupActionData setupActionDataChat[]; - -#endif // INPUT_PAGES_CHAT_H diff --git a/src/input/pages/craft.cpp b/src/input/pages/craft.cpp deleted file mode 100644 index fe93a0c1e..000000000 --- a/src/input/pages/craft.cpp +++ /dev/null @@ -1,89 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2011-2017 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 "gui/setupactiondata.h" - -#include "utils/gettext.h" -#include "utils/stringutils.h" - -#include "debug.h" - -SetupActionData setupActionDataCraft[] = -{ - { - // TRANSLATORS: input action name - strprintf(N_("Craft shortcut %d"), 1), - InputAction::CRAFT_1, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Craft shortcut %d"), 2), - InputAction::CRAFT_2, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Craft shortcut %d"), 3), - InputAction::CRAFT_3, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Craft shortcut %d"), 4), - InputAction::CRAFT_4, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Craft shortcut %d"), 5), - InputAction::CRAFT_5, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Craft shortcut %d"), 6), - InputAction::CRAFT_6, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Craft shortcut %d"), 7), - InputAction::CRAFT_7, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Craft shortcut %d"), 8), - InputAction::CRAFT_8, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Craft shortcut %d"), 9), - InputAction::CRAFT_9, - "", - }, - { - "", - InputAction::NO_VALUE, - "" - }, -}; diff --git a/src/input/pages/craft.h b/src/input/pages/craft.h deleted file mode 100644 index d69425c63..000000000 --- a/src/input/pages/craft.h +++ /dev/null @@ -1,28 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2011-2017 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 INPUT_PAGES_CRAFT_H -#define INPUT_PAGES_CRAFT_H - -#include "gui/setupactiondata.h" - -extern SetupActionData setupActionDataCraft[]; - -#endif // INPUT_PAGES_CRAFT_H diff --git a/src/input/pages/emotes.cpp b/src/input/pages/emotes.cpp deleted file mode 100644 index 84537771d..000000000 --- a/src/input/pages/emotes.cpp +++ /dev/null @@ -1,655 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2007 Joshua Langley <joshlangley@optusnet.com.au> - * Copyright (C) 2009 The Mana World Development Team - * Copyright (C) 2009-2010 The Mana Developers - * Copyright (C) 2011-2017 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 "gui/setupactiondata.h" - -#include "utils/gettext.h" -#include "utils/stringutils.h" - -#include "debug.h" - -SetupActionData setupActionDataEmotes[] = -{ - { - // TRANSLATORS: input action name - N_("Emote modifiers keys"), - InputAction::NO_VALUE, - "" - }, - { - // TRANSLATORS: input action name - N_("Emote modifier key"), - InputAction::EMOTE, - "", - }, - { - // TRANSLATORS: input action name - N_("Pet emote modifier key"), - InputAction::PET_EMOTE, - "", - }, - { - // TRANSLATORS: input action name - N_("Homunculus / mercenary emote modifier key"), - InputAction::HOMUN_EMOTE, - "", - }, - { - // TRANSLATORS: input action name - N_("Emote shortcuts"), - InputAction::NO_VALUE, - "" - }, - { - // TRANSLATORS: input action name - strprintf(N_("Emote Shortcut %d"), 1), - InputAction::EMOTE_1, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Emote Shortcut %d"), 2), - InputAction::EMOTE_2, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Emote Shortcut %d"), 3), - InputAction::EMOTE_3, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Emote Shortcut %d"), 4), - InputAction::EMOTE_4, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Emote Shortcut %d"), 5), - InputAction::EMOTE_5, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Emote Shortcut %d"), 6), - InputAction::EMOTE_6, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Emote Shortcut %d"), 7), - InputAction::EMOTE_7, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Emote Shortcut %d"), 8), - InputAction::EMOTE_8, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Emote Shortcut %d"), 9), - InputAction::EMOTE_9, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Emote Shortcut %d"), 10), - InputAction::EMOTE_10, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Emote Shortcut %d"), 11), - InputAction::EMOTE_11, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Emote Shortcut %d"), 12), - InputAction::EMOTE_12, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Emote Shortcut %d"), 13), - InputAction::EMOTE_13, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Emote Shortcut %d"), 14), - InputAction::EMOTE_14, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Emote Shortcut %d"), 15), - InputAction::EMOTE_15, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Emote Shortcut %d"), 16), - InputAction::EMOTE_16, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Emote Shortcut %d"), 17), - InputAction::EMOTE_17, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Emote Shortcut %d"), 18), - InputAction::EMOTE_18, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Emote Shortcut %d"), 19), - InputAction::EMOTE_19, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Emote Shortcut %d"), 20), - InputAction::EMOTE_20, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Emote Shortcut %d"), 21), - InputAction::EMOTE_21, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Emote Shortcut %d"), 22), - InputAction::EMOTE_22, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Emote Shortcut %d"), 23), - InputAction::EMOTE_23, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Emote Shortcut %d"), 24), - InputAction::EMOTE_24, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Emote Shortcut %d"), 25), - InputAction::EMOTE_25, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Emote Shortcut %d"), 26), - InputAction::EMOTE_26, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Emote Shortcut %d"), 27), - InputAction::EMOTE_27, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Emote Shortcut %d"), 28), - InputAction::EMOTE_28, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Emote Shortcut %d"), 29), - InputAction::EMOTE_29, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Emote Shortcut %d"), 30), - InputAction::EMOTE_30, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Emote Shortcut %d"), 31), - InputAction::EMOTE_31, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Emote Shortcut %d"), 32), - InputAction::EMOTE_32, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Emote Shortcut %d"), 33), - InputAction::EMOTE_33, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Emote Shortcut %d"), 34), - InputAction::EMOTE_34, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Emote Shortcut %d"), 35), - InputAction::EMOTE_35, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Emote Shortcut %d"), 36), - InputAction::EMOTE_36, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Emote Shortcut %d"), 37), - InputAction::EMOTE_37, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Emote Shortcut %d"), 38), - InputAction::EMOTE_38, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Emote Shortcut %d"), 39), - InputAction::EMOTE_39, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Emote Shortcut %d"), 40), - InputAction::EMOTE_40, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Emote Shortcut %d"), 41), - InputAction::EMOTE_41, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Emote Shortcut %d"), 42), - InputAction::EMOTE_42, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Emote Shortcut %d"), 43), - InputAction::EMOTE_43, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Emote Shortcut %d"), 44), - InputAction::EMOTE_44, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Emote Shortcut %d"), 45), - InputAction::EMOTE_45, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Emote Shortcut %d"), 46), - InputAction::EMOTE_46, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Emote Shortcut %d"), 47), - InputAction::EMOTE_47, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Emote Shortcut %d"), 48), - InputAction::EMOTE_48, - "", - }, - { - "", - InputAction::NO_VALUE, - "" - }, - { - // TRANSLATORS: input action name - N_("Pet emote shortcuts"), - InputAction::NO_VALUE, - "" - }, - { - // TRANSLATORS: input action name - strprintf(N_("Pet emote shortcut %d"), 1), - InputAction::PET_EMOTE_1, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Pet emote shortcut %d"), 2), - InputAction::PET_EMOTE_2, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Pet emote shortcut %d"), 3), - InputAction::PET_EMOTE_3, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Pet emote shortcut %d"), 4), - InputAction::PET_EMOTE_4, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Pet emote shortcut %d"), 5), - InputAction::PET_EMOTE_5, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Pet emote shortcut %d"), 6), - InputAction::PET_EMOTE_6, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Pet emote shortcut %d"), 7), - InputAction::PET_EMOTE_7, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Pet emote shortcut %d"), 8), - InputAction::PET_EMOTE_8, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Pet emote shortcut %d"), 9), - InputAction::PET_EMOTE_9, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Pet emote shortcut %d"), 10), - InputAction::PET_EMOTE_10, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Pet emote shortcut %d"), 11), - InputAction::PET_EMOTE_11, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Pet emote shortcut %d"), 12), - InputAction::PET_EMOTE_12, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Pet emote shortcut %d"), 13), - InputAction::PET_EMOTE_13, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Pet emote shortcut %d"), 14), - InputAction::PET_EMOTE_14, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Pet emote shortcut %d"), 15), - InputAction::PET_EMOTE_15, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Pet emote shortcut %d"), 16), - InputAction::PET_EMOTE_16, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Pet emote shortcut %d"), 17), - InputAction::PET_EMOTE_17, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Pet emote shortcut %d"), 18), - InputAction::PET_EMOTE_18, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Pet emote shortcut %d"), 19), - InputAction::PET_EMOTE_19, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Pet emote shortcut %d"), 20), - InputAction::PET_EMOTE_20, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Pet emote shortcut %d"), 21), - InputAction::PET_EMOTE_21, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Pet emote shortcut %d"), 22), - InputAction::PET_EMOTE_22, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Pet emote shortcut %d"), 23), - InputAction::PET_EMOTE_23, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Pet emote shortcut %d"), 24), - InputAction::PET_EMOTE_24, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Pet emote shortcut %d"), 25), - InputAction::PET_EMOTE_25, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Pet emote shortcut %d"), 26), - InputAction::PET_EMOTE_26, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Pet emote shortcut %d"), 27), - InputAction::PET_EMOTE_27, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Pet emote shortcut %d"), 28), - InputAction::PET_EMOTE_28, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Pet emote shortcut %d"), 29), - InputAction::PET_EMOTE_29, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Pet emote shortcut %d"), 30), - InputAction::PET_EMOTE_30, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Pet emote shortcut %d"), 31), - InputAction::PET_EMOTE_31, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Pet emote shortcut %d"), 32), - InputAction::PET_EMOTE_32, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Pet emote shortcut %d"), 33), - InputAction::PET_EMOTE_33, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Pet emote shortcut %d"), 34), - InputAction::PET_EMOTE_34, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Pet emote shortcut %d"), 35), - InputAction::PET_EMOTE_35, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Pet emote shortcut %d"), 36), - InputAction::PET_EMOTE_36, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Pet emote shortcut %d"), 37), - InputAction::PET_EMOTE_37, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Pet emote shortcut %d"), 38), - InputAction::PET_EMOTE_38, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Pet emote shortcut %d"), 39), - InputAction::PET_EMOTE_39, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Pet emote shortcut %d"), 40), - InputAction::PET_EMOTE_40, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Pet emote shortcut %d"), 41), - InputAction::PET_EMOTE_41, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Pet emote shortcut %d"), 42), - InputAction::PET_EMOTE_42, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Pet emote shortcut %d"), 43), - InputAction::PET_EMOTE_43, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Pet emote shortcut %d"), 44), - InputAction::PET_EMOTE_44, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Pet emote shortcut %d"), 45), - InputAction::PET_EMOTE_45, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Pet emote shortcut %d"), 46), - InputAction::PET_EMOTE_46, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Pet emote shortcut %d"), 47), - InputAction::PET_EMOTE_47, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Pet emote shortcut %d"), 48), - InputAction::PET_EMOTE_48, - "", - }, - { - "", - InputAction::NO_VALUE, - "" - }, -}; diff --git a/src/input/pages/emotes.h b/src/input/pages/emotes.h deleted file mode 100644 index e0a5ee452..000000000 --- a/src/input/pages/emotes.h +++ /dev/null @@ -1,31 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2007 Joshua Langley <joshlangley@optusnet.com.au> - * Copyright (C) 2009 The Mana World Development Team - * Copyright (C) 2009-2010 The Mana Developers - * Copyright (C) 2011-2017 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 INPUT_PAGES_EMOTES_H -#define INPUT_PAGES_EMOTES_H - -#include "gui/setupactiondata.h" - -extern SetupActionData setupActionDataEmotes[]; - -#endif // INPUT_PAGES_EMOTES_H diff --git a/src/input/pages/gui.cpp b/src/input/pages/gui.cpp deleted file mode 100644 index d09aa6f35..000000000 --- a/src/input/pages/gui.cpp +++ /dev/null @@ -1,198 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2011-2017 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 "gui/setupactiondata.h" - -#include "utils/gettext.h" - -#include "debug.h" - -SetupActionData setupActionDataGui[] = -{ - { - // TRANSLATORS: input action name - N_("Move & selection"), - InputAction::NO_VALUE, - "", - }, - { - // TRANSLATORS: input action name - N_("Move Up"), - InputAction::GUI_UP, - "", - }, - { - // TRANSLATORS: input action name - N_("Move Down"), - InputAction::GUI_DOWN, - "", - }, - { - // TRANSLATORS: input action name - N_("Move Left"), - InputAction::GUI_LEFT, - "", - }, - { - // TRANSLATORS: input action name - N_("Move Right"), - InputAction::GUI_RIGHT, - "", - }, - { - // TRANSLATORS: input action name - N_("Move Home"), - InputAction::GUI_HOME, - "", - }, - { - // TRANSLATORS: input action name - N_("Move End"), - InputAction::GUI_END, - "", - }, - { - // TRANSLATORS: input action name - N_("Page up"), - InputAction::GUI_PAGE_UP, - "", - }, - { - // TRANSLATORS: input action name - N_("Page down"), - InputAction::GUI_PAGE_DOWN, - "", - }, - { - // TRANSLATORS: input action name - N_("Other"), - InputAction::NO_VALUE, - "", - }, - { - // TRANSLATORS: input action name - N_("Select"), - InputAction::GUI_SELECT, - "", - }, - { - // TRANSLATORS: input action name - N_("Select2"), - InputAction::GUI_SELECT2, - "", - }, - { - // TRANSLATORS: input action name - N_("Cancel"), - InputAction::GUI_CANCEL, - "", - }, - { - // TRANSLATORS: input action name - N_("Delete"), - InputAction::GUI_DELETE, - "", - }, - { - // TRANSLATORS: input action name - N_("Backspace"), - InputAction::GUI_BACKSPACE, - "", - }, - { - // TRANSLATORS: input action name - N_("Insert"), - InputAction::GUI_INSERT, - "", - }, - { - // TRANSLATORS: input action name - N_("Tab"), - InputAction::GUI_TAB, - "", - }, - { - // TRANSLATORS: input action name - N_("Mod"), - InputAction::GUI_MOD, - "", - }, - { - // TRANSLATORS: input action name - N_("Ctrl"), - InputAction::GUI_CTRL, - "", - }, - { - "B", - InputAction::GUI_B, - "", - }, - { - "C", - InputAction::GUI_C, - "", - }, - { - "D", - InputAction::GUI_D, - "", - }, - { - "E", - InputAction::GUI_E, - "", - }, - { - "F", - InputAction::GUI_F, - "", - }, - { - "H", - InputAction::GUI_H, - "", - }, - { - "K", - InputAction::GUI_K, - "", - }, - { - "U", - InputAction::GUI_U, - "", - }, - { - "V", - InputAction::GUI_V, - "", - }, - { - "W", - InputAction::GUI_W, - "", - }, - { - "", - InputAction::NO_VALUE, - "" - } -}; diff --git a/src/input/pages/gui.h b/src/input/pages/gui.h deleted file mode 100644 index 5c72fca13..000000000 --- a/src/input/pages/gui.h +++ /dev/null @@ -1,28 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2011-2017 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 INPUT_PAGES_GUI_H -#define INPUT_PAGES_GUI_H - -#include "gui/setupactiondata.h" - -extern SetupActionData setupActionDataGui[]; - -#endif // INPUT_PAGES_GUI_H diff --git a/src/input/pages/move.cpp b/src/input/pages/move.cpp deleted file mode 100644 index 8df8a2c5d..000000000 --- a/src/input/pages/move.cpp +++ /dev/null @@ -1,404 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2007 Joshua Langley <joshlangley@optusnet.com.au> - * Copyright (C) 2009 The Mana World Development Team - * Copyright (C) 2009-2010 The Mana Developers - * Copyright (C) 2011-2017 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 "gui/setupactiondata.h" - -#include "utils/gettext.h" -#include "utils/stringutils.h" - -#include "debug.h" - -SetupActionData setupActionDataMove[] = -{ - { - // TRANSLATORS: input action name - N_("Move Keys"), - InputAction::NO_VALUE, - "", - }, - { - // TRANSLATORS: input action name - N_("Move player up"), - InputAction::MOVE_UP, - "", - }, - { - // TRANSLATORS: input action name - N_("Move player down"), - InputAction::MOVE_DOWN, - "", - }, - { - // TRANSLATORS: input action name - N_("Move player left"), - InputAction::MOVE_LEFT, - "", - }, - { - // TRANSLATORS: input action name - N_("Move player right"), - InputAction::MOVE_RIGHT, - "", - }, - { - // TRANSLATORS: input action name - N_("Move player forward"), - InputAction::MOVE_FORWARD, - "", - }, - { - // TRANSLATORS: input action name - N_("Move pet up"), - InputAction::PET_MOVE_UP, - "", - }, - { - // TRANSLATORS: input action name - N_("Move pet down"), - InputAction::PET_MOVE_DOWN, - "", - }, - { - // TRANSLATORS: input action name - N_("Move pet left"), - InputAction::PET_MOVE_LEFT, - "", - }, - { - // TRANSLATORS: input action name - N_("Move pet right"), - InputAction::PET_MOVE_RIGHT, - "", - }, - { - // TRANSLATORS: input action name - N_("Move homunculus to master"), - InputAction::HOMUNCULUS_TO_MASTER, - "", - }, - { - // TRANSLATORS: input action name - N_("Move mercenary to master"), - InputAction::MERCENARY_TO_MASTER, - "", - }, - { - // TRANSLATORS: input action name - N_("Move to navigation point shortcuts"), - InputAction::NO_VALUE, - "" - }, - { - // TRANSLATORS: input action name - strprintf(N_("Move to point Shortcut %d"), 1), - InputAction::MOVE_TO_POINT_1, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Move to point Shortcut %d"), 2), - InputAction::MOVE_TO_POINT_2, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Move to point Shortcut %d"), 3), - InputAction::MOVE_TO_POINT_3, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Move to point Shortcut %d"), 4), - InputAction::MOVE_TO_POINT_4, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Move to point Shortcut %d"), 5), - InputAction::MOVE_TO_POINT_5, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Move to point Shortcut %d"), 6), - InputAction::MOVE_TO_POINT_6, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Move to point Shortcut %d"), 7), - InputAction::MOVE_TO_POINT_7, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Move to point Shortcut %d"), 8), - InputAction::MOVE_TO_POINT_8, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Move to point Shortcut %d"), 9), - InputAction::MOVE_TO_POINT_9, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Move to point Shortcut %d"), 10), - InputAction::MOVE_TO_POINT_10, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Move to point Shortcut %d"), 11), - InputAction::MOVE_TO_POINT_11, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Move to point Shortcut %d"), 12), - InputAction::MOVE_TO_POINT_12, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Move to point Shortcut %d"), 13), - InputAction::MOVE_TO_POINT_13, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Move to point Shortcut %d"), 14), - InputAction::MOVE_TO_POINT_14, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Move to point Shortcut %d"), 15), - InputAction::MOVE_TO_POINT_15, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Move to point Shortcut %d"), 16), - InputAction::MOVE_TO_POINT_16, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Move to point Shortcut %d"), 17), - InputAction::MOVE_TO_POINT_17, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Move to point Shortcut %d"), 18), - InputAction::MOVE_TO_POINT_18, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Move to point Shortcut %d"), 19), - InputAction::MOVE_TO_POINT_19, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Move to point Shortcut %d"), 20), - InputAction::MOVE_TO_POINT_20, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Move to point Shortcut %d"), 21), - InputAction::MOVE_TO_POINT_21, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Move to point Shortcut %d"), 22), - InputAction::MOVE_TO_POINT_22, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Move to point Shortcut %d"), 23), - InputAction::MOVE_TO_POINT_23, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Move to point Shortcut %d"), 24), - InputAction::MOVE_TO_POINT_24, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Move to point Shortcut %d"), 25), - InputAction::MOVE_TO_POINT_25, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Move to point Shortcut %d"), 26), - InputAction::MOVE_TO_POINT_26, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Move to point Shortcut %d"), 27), - InputAction::MOVE_TO_POINT_27, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Move to point Shortcut %d"), 28), - InputAction::MOVE_TO_POINT_28, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Move to point Shortcut %d"), 29), - InputAction::MOVE_TO_POINT_29, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Move to point Shortcut %d"), 30), - InputAction::MOVE_TO_POINT_30, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Move to point Shortcut %d"), 31), - InputAction::MOVE_TO_POINT_31, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Move to point Shortcut %d"), 32), - InputAction::MOVE_TO_POINT_32, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Move to point Shortcut %d"), 33), - InputAction::MOVE_TO_POINT_33, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Move to point Shortcut %d"), 34), - InputAction::MOVE_TO_POINT_34, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Move to point Shortcut %d"), 35), - InputAction::MOVE_TO_POINT_35, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Move to point Shortcut %d"), 36), - InputAction::MOVE_TO_POINT_36, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Move to point Shortcut %d"), 37), - InputAction::MOVE_TO_POINT_37, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Move to point Shortcut %d"), 38), - InputAction::MOVE_TO_POINT_38, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Move to point Shortcut %d"), 39), - InputAction::MOVE_TO_POINT_39, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Move to point Shortcut %d"), 40), - InputAction::MOVE_TO_POINT_40, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Move to point Shortcut %d"), 41), - InputAction::MOVE_TO_POINT_41, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Move to point Shortcut %d"), 42), - InputAction::MOVE_TO_POINT_42, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Move to point Shortcut %d"), 43), - InputAction::MOVE_TO_POINT_43, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Move to point Shortcut %d"), 44), - InputAction::MOVE_TO_POINT_44, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Move to point Shortcut %d"), 45), - InputAction::MOVE_TO_POINT_45, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Move to point Shortcut %d"), 46), - InputAction::MOVE_TO_POINT_46, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Move to point Shortcut %d"), 47), - InputAction::MOVE_TO_POINT_47, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Move to point Shortcut %d"), 48), - InputAction::MOVE_TO_POINT_48, - "", - }, - { - "", - InputAction::NO_VALUE, - "" - } -}; diff --git a/src/input/pages/move.h b/src/input/pages/move.h deleted file mode 100644 index 33ec08c2b..000000000 --- a/src/input/pages/move.h +++ /dev/null @@ -1,31 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2007 Joshua Langley <joshlangley@optusnet.com.au> - * Copyright (C) 2009 The Mana World Development Team - * Copyright (C) 2009-2010 The Mana Developers - * Copyright (C) 2011-2017 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 INPUT_PAGES_MOVE_H -#define INPUT_PAGES_MOVE_H - -#include "gui/setupactiondata.h" - -extern SetupActionData setupActionDataMove[]; - -#endif // INPUT_PAGES_MOVE_H diff --git a/src/input/pages/other.cpp b/src/input/pages/other.cpp deleted file mode 100644 index 88677c576..000000000 --- a/src/input/pages/other.cpp +++ /dev/null @@ -1,465 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2007 Joshua Langley <joshlangley@optusnet.com.au> - * Copyright (C) 2009 The Mana World Development Team - * Copyright (C) 2009-2010 The Mana Developers - * Copyright (C) 2011-2017 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 "gui/setupactiondata.h" - -#include "utils/gettext.h" - -#include "debug.h" - -SetupActionData setupActionDataOther[] = -{ - { - // TRANSLATORS: input action name - N_("Input ignore"), - InputAction::NO_VALUE, - "", - }, - { - // TRANSLATORS: input action name - N_("Ignore input 1"), - InputAction::IGNORE_INPUT_1, - "", - }, - { - // TRANSLATORS: input action name - N_("Ignore input 2"), - InputAction::IGNORE_INPUT_2, - "", - }, - { - // TRANSLATORS: input action name - N_("Direction keys"), - InputAction::NO_VALUE, - "", - }, - { - // TRANSLATORS: input action name - N_("Player direct up"), - InputAction::DIRECT_UP, - "", - }, - { - // TRANSLATORS: input action name - N_("Player direct down"), - InputAction::DIRECT_DOWN, - "", - }, - { - // TRANSLATORS: input action name - N_("Player direct left"), - InputAction::DIRECT_LEFT, - "", - }, - { - // TRANSLATORS: input action name - N_("Player direct right"), - InputAction::DIRECT_RIGHT, - "", - }, - { - // TRANSLATORS: input action name - N_("Pet direct up"), - InputAction::PET_DIRECT_UP, - "", - }, - { - // TRANSLATORS: input action name - N_("Pet direct down"), - InputAction::PET_DIRECT_DOWN, - "", - }, - { - // TRANSLATORS: input action name - N_("Pet direct left"), - InputAction::PET_DIRECT_LEFT, - "", - }, - { - // TRANSLATORS: input action name - N_("Pet direct right"), - InputAction::PET_DIRECT_RIGHT, - "", - }, - { - // TRANSLATORS: input action name - N_("Other"), - InputAction::NO_VALUE, - "", - }, - { - // TRANSLATORS: input action name - N_("Crazy moves"), - InputAction::CRAZY_MOVES, - "", - }, - { - // TRANSLATORS: input action name - N_("Change Crazy Move mode"), - InputAction::CHANGE_CRAZY_MOVES_TYPE, - "", - }, - { - // TRANSLATORS: input action name - N_("Quick Drop N Items from 0 slot"), - InputAction::QUICK_DROP, - "", - }, - { - // TRANSLATORS: input action name - N_("Quick Drop N Items"), - InputAction::QUICK_DROPN, - "", - }, - { - // TRANSLATORS: input action name - N_("Switch Quick Drop Counter"), - InputAction::SWITCH_QUICK_DROP, - "", - }, - { - // TRANSLATORS: input action name - N_("Quick heal target or self"), - InputAction::MAGIC_INMA1, - "", - }, - { - // TRANSLATORS: input action name - N_("Heal the most injured player"), - InputAction::HEAL_MOST_DAMAGED, - "", - }, - { - // TRANSLATORS: input action name - N_("Use #itenplz spell"), - InputAction::MAGIC_ITENPLZ, - "", - }, - { - // TRANSLATORS: input action name - N_("Use magic attack"), - InputAction::MAGIC_ATTACK, - "", - }, - { - // TRANSLATORS: input action name - N_("Switch magic attack"), - InputAction::SWITCH_MAGIC_ATTACK, - "", - }, - { - // TRANSLATORS: input action name - N_("Switch pvp attack"), - InputAction::SWITCH_PVP_ATTACK, - "", - }, - { - // TRANSLATORS: input action name - N_("Change move type"), - InputAction::INVERT_DIRECTION, - "", - }, - { - // TRANSLATORS: input action name - N_("Change Attack Weapon Type"), - InputAction::CHANGE_ATTACK_WEAPON_TYPE, - "", - }, - { - // TRANSLATORS: input action name - N_("Change Attack Type"), - InputAction::CHANGE_ATTACK_TYPE, - "", - }, - { - // TRANSLATORS: input action name - N_("Change Follow mode"), - InputAction::CHANGE_FOLLOW_MODE, - "", - }, - { - // TRANSLATORS: input action name - N_("Change Imitation mode"), - InputAction::CHANGE_IMITATION_MODE, - "", - }, - { - // TRANSLATORS: input action name - N_("Disable / Enable Game modifier keys"), - InputAction::DISABLE_GAME_MODIFIERS, - "", - }, - { - // TRANSLATORS: input action name - N_("On / Off audio"), - InputAction::CHANGE_AUDIO, - "", - }, - { - // TRANSLATORS: input action name - N_("Enable / Disable away mode"), - InputAction::AWAY, - "", - }, - { - // TRANSLATORS: input action name - N_("Emulate right click from keyboard"), - InputAction::RIGHT_CLICK, - "", - }, - { - // TRANSLATORS: input action name - N_("Toggle camera mode"), - InputAction::CAMERA, - "", - }, - { - // TRANSLATORS: input action name - N_("Toggle ipc mode"), - InputAction::IPC_TOGGLE, - "", - }, - { - // TRANSLATORS: input action name - N_("Show information about position in chat"), - InputAction::WHERE, - "", - }, - { - // TRANSLATORS: input action name - N_("Show online players number in chat"), - InputAction::WHO, - "", - }, - { - // TRANSLATORS: input action name - N_("Show onscreen keyboard"), - InputAction::SHOW_KEYBOARD, - "", - }, - { - // TRANSLATORS: input action name - N_("Clean cached graphics"), - InputAction::CLEAN_GRAPHICS, - "", - }, - { - // TRANSLATORS: input action name - N_("Clean cached fonts"), - InputAction::CLEAN_FONTS, - "", - }, - { - // TRANSLATORS: input action name - N_("Print visible players in chat"), - InputAction::PRESENT, - "", - }, - { - // TRANSLATORS: input action name - N_("Print all visible beings in chat"), - InputAction::PRINT_ALL, - "", - }, - { - // TRANSLATORS: input action name - N_("Load shop items list from disk"), - InputAction::PRICE_LOAD, - "", - }, - { - // TRANSLATORS: input action name - N_("Save shop items list to disk"), - InputAction::PRICE_SAVE, - "", - }, - { - // TRANSLATORS: input action name - N_("Print debug cache info"), - InputAction::CACHE_INFO, - "", - }, - { - // TRANSLATORS: input action name - N_("Undress selected player"), - InputAction::UNDRESS, - "", - }, - { - // TRANSLATORS: input action name - N_("Quick disconnect from server"), - InputAction::DISCONNECT, - "", - }, - { - // TRANSLATORS: input action name - N_("Disable debug particle"), - InputAction::TEST_PARTICLE, - "", - }, - { - // TRANSLATORS: input action name - N_("Create items (for gms)"), - InputAction::CREATE_ITEMS, - "", - }, - { - // TRANSLATORS: input action name - N_("Print configured directories in chat"), - InputAction::DIRS, - "", - }, - { - // TRANSLATORS: input action name - N_("Print client uptime in chat"), - InputAction::UPTIME, - "", - }, - { - // TRANSLATORS: input action name - N_("Dump debug information"), - InputAction::DUMP, - "", - }, - { - // TRANSLATORS: input action name - N_("Crash client"), - InputAction::ERROR, - "", - }, - { - // TRANSLATORS: input action name - N_("Dump graphics info into chat"), - InputAction::DUMP_GRAPHICS, - "", - }, - { - // TRANSLATORS: input action name - N_("Dump tests info into chat"), - InputAction::DUMP_TESTS, - "", - }, - { - // TRANSLATORS: input action name - N_("Print OpenGL version in chat"), - InputAction::DUMP_GL, - "", - }, - { - // TRANSLATORS: input action name - N_("Print enabled mods in chat"), - InputAction::DUMP_MODS, - "", - }, - { - // TRANSLATORS: input action name - N_("Dump environments into log"), - InputAction::DUMP_ENVIRONMENT, - "", - }, - { - // TRANSLATORS: input action name - N_("Dump OpenGL state into log"), - InputAction::DUMP_OGL, - "", - }, -#if defined USE_OPENGL && defined DEBUG_SDLFONT - { - // TRANSLATORS: input action name - N_("Test SDL font speed"), - InputAction::TEST_SDL_FONT, - "", - }, -#endif // defined USE_OPENGL && defined DEBUG_SDLFONT - { - // TRANSLATORS: input action name - N_("Upload main config"), - InputAction::UPLOAD_CONFIG, - "", - }, - { - // TRANSLATORS: input action name - N_("Upload server config"), - InputAction::UPLOAD_SERVER_CONFIG, - "", - }, - { - // TRANSLATORS: input action name - N_("Upload log file"), - InputAction::UPLOAD_LOG, - "", - }, - { - // TRANSLATORS: input action name - N_("Fire your mercenary"), - InputAction::MERCENARY_FIRE, - "", - }, - { - // TRANSLATORS: input action name - N_("Pet ai start"), - InputAction::PET_AI_START, - "", - }, - { - // TRANSLATORS: input action name - N_("Pet ai stop"), - InputAction::PET_AI_STOP, - "", - }, - { - // TRANSLATORS: input action name - N_("Feed homunculus"), - InputAction::HOMUNCULUS_FEED, - "", - }, - { - // TRANSLATORS: input action name - N_("Feed pet"), - InputAction::PET_FEED, - "", - }, - { - // TRANSLATORS: input action name - N_("Drop pet's loot"), - InputAction::PET_DROP_LOOT, - "", - }, - { - // TRANSLATORS: input action name - N_("Return pet to egg"), - InputAction::PET_RETURN_TO_EGG, - "", - }, - { - // TRANSLATORS: input action name - N_("Unequip pet"), - InputAction::PET_UNEQUIP, - "", - }, - { - "", - InputAction::NO_VALUE, - "" - } -}; diff --git a/src/input/pages/other.h b/src/input/pages/other.h deleted file mode 100644 index 86b024f9f..000000000 --- a/src/input/pages/other.h +++ /dev/null @@ -1,31 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2007 Joshua Langley <joshlangley@optusnet.com.au> - * Copyright (C) 2009 The Mana World Development Team - * Copyright (C) 2009-2010 The Mana Developers - * Copyright (C) 2011-2017 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 INPUT_PAGES_OTHER_H -#define INPUT_PAGES_OTHER_H - -#include "gui/setupactiondata.h" - -extern SetupActionData setupActionDataOther[]; - -#endif // INPUT_PAGES_OTHER_H diff --git a/src/input/pages/outfits.cpp b/src/input/pages/outfits.cpp deleted file mode 100644 index 0b9beabd3..000000000 --- a/src/input/pages/outfits.cpp +++ /dev/null @@ -1,374 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2007 Joshua Langley <joshlangley@optusnet.com.au> - * Copyright (C) 2009 The Mana World Development Team - * Copyright (C) 2009-2010 The Mana Developers - * Copyright (C) 2011-2017 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 "gui/setupactiondata.h" - -#include "utils/gettext.h" -#include "utils/stringutils.h" - -#include "debug.h" - -SetupActionData setupActionDataOutfits[] = -{ - { - // TRANSLATORS: input action name - N_("Outfits keys"), - InputAction::NO_VALUE, - "" - }, - { - // TRANSLATORS: input action name - N_("Wear outfit"), - InputAction::WEAR_OUTFIT, - "", - }, - { - // TRANSLATORS: input action name - N_("Clear outfit"), - InputAction::CLEAR_OUTFIT, - "", - }, - { - // TRANSLATORS: input action name - N_("Copy Outfit to other outfit"), - InputAction::COPY_OUTFIT, - "", - }, - { - // TRANSLATORS: input action name - N_("Copy outfit to chat"), - InputAction::COPY_OUTFIT_TO_CHAT, - "", - }, - { - // TRANSLATORS: input action name - N_("Copy equipped to outfit"), - InputAction::COPY_EQUIPED_OUTFIT, - "", - }, - { - // TRANSLATORS: input action name - N_("Show hat in chat"), - InputAction::HAT, - "", - }, - { - // TRANSLATORS: input action name - N_("Outfits shortcuts"), - InputAction::NO_VALUE, - "" - }, - { - // TRANSLATORS: input action name - strprintf(N_("Outfit Shortcut %d"), 1), - InputAction::OUTFIT_1, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Outfit Shortcut %d"), 2), - InputAction::OUTFIT_2, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Outfit Shortcut %d"), 3), - InputAction::OUTFIT_3, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Outfit Shortcut %d"), 4), - InputAction::OUTFIT_4, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Outfit Shortcut %d"), 5), - InputAction::OUTFIT_5, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Outfit Shortcut %d"), 6), - InputAction::OUTFIT_6, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Outfit Shortcut %d"), 7), - InputAction::OUTFIT_7, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Outfit Shortcut %d"), 8), - InputAction::OUTFIT_8, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Outfit Shortcut %d"), 9), - InputAction::OUTFIT_9, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Outfit Shortcut %d"), 10), - InputAction::OUTFIT_10, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Outfit Shortcut %d"), 11), - InputAction::OUTFIT_11, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Outfit Shortcut %d"), 12), - InputAction::OUTFIT_12, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Outfit Shortcut %d"), 13), - InputAction::OUTFIT_13, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Outfit Shortcut %d"), 14), - InputAction::OUTFIT_14, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Outfit Shortcut %d"), 15), - InputAction::OUTFIT_15, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Outfit Shortcut %d"), 16), - InputAction::OUTFIT_16, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Outfit Shortcut %d"), 17), - InputAction::OUTFIT_17, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Outfit Shortcut %d"), 18), - InputAction::OUTFIT_18, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Outfit Shortcut %d"), 19), - InputAction::OUTFIT_19, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Outfit Shortcut %d"), 20), - InputAction::OUTFIT_20, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Outfit Shortcut %d"), 21), - InputAction::OUTFIT_21, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Outfit Shortcut %d"), 22), - InputAction::OUTFIT_22, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Outfit Shortcut %d"), 23), - InputAction::OUTFIT_23, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Outfit Shortcut %d"), 24), - InputAction::OUTFIT_24, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Outfit Shortcut %d"), 25), - InputAction::OUTFIT_25, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Outfit Shortcut %d"), 26), - InputAction::OUTFIT_26, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Outfit Shortcut %d"), 27), - InputAction::OUTFIT_27, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Outfit Shortcut %d"), 28), - InputAction::OUTFIT_28, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Outfit Shortcut %d"), 29), - InputAction::OUTFIT_29, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Outfit Shortcut %d"), 30), - InputAction::OUTFIT_30, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Outfit Shortcut %d"), 31), - InputAction::OUTFIT_31, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Outfit Shortcut %d"), 32), - InputAction::OUTFIT_32, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Outfit Shortcut %d"), 33), - InputAction::OUTFIT_33, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Outfit Shortcut %d"), 34), - InputAction::OUTFIT_34, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Outfit Shortcut %d"), 35), - InputAction::OUTFIT_35, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Outfit Shortcut %d"), 36), - InputAction::OUTFIT_36, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Outfit Shortcut %d"), 37), - InputAction::OUTFIT_37, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Outfit Shortcut %d"), 38), - InputAction::OUTFIT_38, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Outfit Shortcut %d"), 39), - InputAction::OUTFIT_39, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Outfit Shortcut %d"), 40), - InputAction::OUTFIT_40, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Outfit Shortcut %d"), 41), - InputAction::OUTFIT_41, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Outfit Shortcut %d"), 42), - InputAction::OUTFIT_42, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Outfit Shortcut %d"), 43), - InputAction::OUTFIT_43, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Outfit Shortcut %d"), 44), - InputAction::OUTFIT_44, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Outfit Shortcut %d"), 45), - InputAction::OUTFIT_45, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Outfit Shortcut %d"), 46), - InputAction::OUTFIT_46, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Outfit Shortcut %d"), 47), - InputAction::OUTFIT_47, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Outfit Shortcut %d"), 48), - InputAction::OUTFIT_48, - "", - }, - { - "", - InputAction::NO_VALUE, - "" - } -}; diff --git a/src/input/pages/outfits.h b/src/input/pages/outfits.h deleted file mode 100644 index 5bc1cf4a9..000000000 --- a/src/input/pages/outfits.h +++ /dev/null @@ -1,31 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2007 Joshua Langley <joshlangley@optusnet.com.au> - * Copyright (C) 2009 The Mana World Development Team - * Copyright (C) 2009-2010 The Mana Developers - * Copyright (C) 2011-2017 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 INPUT_PAGES_OUTFITS_H -#define INPUT_PAGES_OUTFITS_H - -#include "gui/setupactiondata.h" - -extern SetupActionData setupActionDataOutfits[]; - -#endif // INPUT_PAGES_OUTFITS_H diff --git a/src/input/pages/shortcuts.cpp b/src/input/pages/shortcuts.cpp deleted file mode 100644 index e4c57dbff..000000000 --- a/src/input/pages/shortcuts.cpp +++ /dev/null @@ -1,176 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2007 Joshua Langley <joshlangley@optusnet.com.au> - * Copyright (C) 2009 The Mana World Development Team - * Copyright (C) 2009-2010 The Mana Developers - * Copyright (C) 2011-2017 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 "gui/setupactiondata.h" - -#include "utils/gettext.h" -#include "utils/stringutils.h" - -#include "debug.h" - -SetupActionData setupActionDataShortcuts[] = -{ - { - // TRANSLATORS: input action name - N_("Shortcuts modifiers keys"), - InputAction::NO_VALUE, - "" - }, - { - // TRANSLATORS: input action name - N_("Item Shortcuts Key"), - InputAction::SHORTCUTS_KEY, - "", - }, - { - // TRANSLATORS: input action name - N_("Shortcuts keys"), - InputAction::NO_VALUE, - "" - }, - { - // TRANSLATORS: input action name - strprintf(N_("Item Shortcut %d"), 1), - InputAction::SHORTCUT_1, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Item Shortcut %d"), 2), - InputAction::SHORTCUT_2, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Item Shortcut %d"), 3), - InputAction::SHORTCUT_3, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Item Shortcut %d"), 4), - InputAction::SHORTCUT_4, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Item Shortcut %d"), 5), - InputAction::SHORTCUT_5, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Item Shortcut %d"), 6), - InputAction::SHORTCUT_6, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Item Shortcut %d"), 7), - InputAction::SHORTCUT_7, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Item Shortcut %d"), 8), - InputAction::SHORTCUT_8, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Item Shortcut %d"), 9), - InputAction::SHORTCUT_9, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Item Shortcut %d"), 10), - InputAction::SHORTCUT_10, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Item Shortcut %d"), 11), - InputAction::SHORTCUT_11, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Item Shortcut %d"), 12), - InputAction::SHORTCUT_12, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Item Shortcut %d"), 13), - InputAction::SHORTCUT_13, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Item Shortcut %d"), 14), - InputAction::SHORTCUT_14, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Item Shortcut %d"), 15), - InputAction::SHORTCUT_15, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Item Shortcut %d"), 16), - InputAction::SHORTCUT_16, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Item Shortcut %d"), 17), - InputAction::SHORTCUT_17, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Item Shortcut %d"), 18), - InputAction::SHORTCUT_18, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Item Shortcut %d"), 19), - InputAction::SHORTCUT_19, - "", - }, - { - // TRANSLATORS: input action name - strprintf(N_("Item Shortcut %d"), 20), - InputAction::SHORTCUT_20, - "", - }, - { - "", - InputAction::NO_VALUE, - "" - } -}; diff --git a/src/input/pages/shortcuts.h b/src/input/pages/shortcuts.h deleted file mode 100644 index 56e0db05f..000000000 --- a/src/input/pages/shortcuts.h +++ /dev/null @@ -1,31 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2007 Joshua Langley <joshlangley@optusnet.com.au> - * Copyright (C) 2009 The Mana World Development Team - * Copyright (C) 2009-2010 The Mana Developers - * Copyright (C) 2011-2017 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 INPUT_PAGES_SHORTCUTS_H -#define INPUT_PAGES_SHORTCUTS_H - -#include "gui/setupactiondata.h" - -extern SetupActionData setupActionDataShortcuts[]; - -#endif // INPUT_PAGES_SHORTCUTS_H diff --git a/src/input/pages/windows.cpp b/src/input/pages/windows.cpp deleted file mode 100644 index ca232f914..000000000 --- a/src/input/pages/windows.cpp +++ /dev/null @@ -1,271 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2007 Joshua Langley <joshlangley@optusnet.com.au> - * Copyright (C) 2009 The Mana World Development Team - * Copyright (C) 2009-2010 The Mana Developers - * Copyright (C) 2011-2017 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 "gui/setupactiondata.h" - -#include "utils/gettext.h" - -#include "debug.h" - -SetupActionData setupActionDataWindows[] = -{ - { - // TRANSLATORS: input action label - N_("Windows"), - InputAction::NO_VALUE, - "", - }, - { - // TRANSLATORS: input action name - N_("Show Windows Menu"), - InputAction::SHOW_WINDOWS, - "", - }, - { - // TRANSLATORS: input action name - N_("Hide Windows"), - InputAction::HIDE_WINDOWS, - "", - }, - { - // TRANSLATORS: input action name - N_("About Window"), - InputAction::WINDOW_ABOUT, - "", - }, - { - // TRANSLATORS: input action name - N_("Bank Window"), - InputAction::WINDOW_BANK, - "", - }, - { - // TRANSLATORS: input action name - N_("Help Window"), - InputAction::WINDOW_HELP, - "", - }, - { - // TRANSLATORS: input action name - N_("Server Info Window"), - InputAction::WINDOW_SERVER_INFO, - "", - }, - { - // TRANSLATORS: input action name - N_("Status Window"), - InputAction::WINDOW_STATUS, - "", - }, - { - // TRANSLATORS: input action name - N_("Inventory Window"), - InputAction::WINDOW_INVENTORY, - "", - }, - { - // TRANSLATORS: input action name - N_("Equipment Window"), - InputAction::WINDOW_EQUIPMENT, - "", - }, - { - // TRANSLATORS: input action name - N_("Skill Window"), - InputAction::WINDOW_SKILL, - "", - }, - { - // TRANSLATORS: input action name - N_("Minimap Window"), - InputAction::WINDOW_MINIMAP, - "", - }, - { - // TRANSLATORS: input action name - N_("Chat Window"), - InputAction::WINDOW_CHAT, - "", - }, - { - // TRANSLATORS: input action name - N_("Item Shortcut Window"), - InputAction::WINDOW_SHORTCUT, - "", - }, - { - // TRANSLATORS: input action name - N_("Setup Window"), - InputAction::WINDOW_SETUP, - "", - }, - { - // TRANSLATORS: input action name - N_("Debug Window"), - InputAction::WINDOW_DEBUG, - "", - }, - { - // TRANSLATORS: input action name - N_("Social Window"), - InputAction::WINDOW_SOCIAL, - "", - }, - { - // TRANSLATORS: input action name - N_("Emote Shortcut Window"), - InputAction::WINDOW_EMOTE_SHORTCUT, - "", - }, - { - // TRANSLATORS: input action name - N_("Outfits Window"), - InputAction::WINDOW_OUTFIT, - "", - }, - { - // TRANSLATORS: input action name - N_("Shop Window"), - InputAction::WINDOW_SHOP, - "", - }, - { - // TRANSLATORS: input action name - N_("Quick drop Window"), - InputAction::WINDOW_DROP, - "", - }, - { - // TRANSLATORS: input action name - N_("Kill Stats Window"), - InputAction::WINDOW_KILLS, - "", - }, - { - // TRANSLATORS: input action name - N_("Commands Window"), - InputAction::WINDOW_SPELLS, - "", - }, - { - // TRANSLATORS: input action name - N_("Who Is Online Window"), - InputAction::WINDOW_ONLINE, - "", - }, - { - // TRANSLATORS: input action name - N_("Did you know Window"), - InputAction::WINDOW_DIDYOUKNOW, - "", - }, - { - // TRANSLATORS: input action name - N_("Quests Window"), - InputAction::WINDOW_QUESTS, - "", - }, - { - // TRANSLATORS: input action name - N_("Updates Window"), - InputAction::WINDOW_UPDATER, - "", - }, - { - // TRANSLATORS: input action name - N_("Cart window"), - InputAction::WINDOW_CART, - "", - }, - { - // TRANSLATORS: input action name - N_("Quick settings window"), - InputAction::WINDOW_QUICK_SETTINGS, - "", - }, - { - // TRANSLATORS: input action label - N_("Tabs"), - InputAction::NO_VALUE, - "", - }, - { - // TRANSLATORS: input action name - N_("Previous Social Tab"), - InputAction::PREV_SOCIAL_TAB, - "", - }, - { - // TRANSLATORS: input action name - N_("Next Social Tab"), - InputAction::NEXT_SOCIAL_TAB, - "", - }, - { - // TRANSLATORS: input action name - N_("Previous Shortcuts tab"), - InputAction::PREV_SHORTCUTS_TAB, - "", - }, - { - // TRANSLATORS: input action name - N_("Next Shortcuts tab"), - InputAction::NEXT_SHORTCUTS_TAB, - "", - }, - { - // TRANSLATORS: input action name - N_("Previous Commands tab"), - InputAction::PREV_COMMANDS_TAB, - "", - }, - { - // TRANSLATORS: input action name - N_("Next Commands tab"), - InputAction::NEXT_COMMANDS_TAB, - "", - }, - { - // TRANSLATORS: input action name - N_("Previous inventory tab"), - InputAction::PREV_INV_TAB, - "", - }, - { - // TRANSLATORS: input action name - N_("Next inventory tab"), - InputAction::NEXT_INV_TAB, - "", - }, - { - // TRANSLATORS: input action name - N_("Clear drops window"), - InputAction::DROP_CLEAR, - "", - }, - { - "", - InputAction::NO_VALUE, - "" - } -}; diff --git a/src/input/pages/windows.h b/src/input/pages/windows.h deleted file mode 100644 index 388a9b84d..000000000 --- a/src/input/pages/windows.h +++ /dev/null @@ -1,31 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2007 Joshua Langley <joshlangley@optusnet.com.au> - * Copyright (C) 2009 The Mana World Development Team - * Copyright (C) 2009-2010 The Mana Developers - * Copyright (C) 2011-2017 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 INPUT_PAGES_WINDOWS_H -#define INPUT_PAGES_WINDOWS_H - -#include "gui/setupactiondata.h" - -extern SetupActionData setupActionDataWindows[]; - -#endif // INPUT_PAGES_WINDOWS_H |