summaryrefslogtreecommitdiff
path: root/src/input/pages/other.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-08-22 23:18:34 +0300
committerAndrei Karas <akaras@inbox.ru>2014-08-22 23:18:34 +0300
commitde4b5860924bc3b9267edcce6cf2417cd30f8eb1 (patch)
tree3d43cfe28b37cdbfbf05c9b51bd855a699cec231 /src/input/pages/other.cpp
parenta8a7d6dcfc39c3c6c2faa23de21d0a5fc9332818 (diff)
downloadmanaplus-de4b5860924bc3b9267edcce6cf2417cd30f8eb1.tar.gz
manaplus-de4b5860924bc3b9267edcce6cf2417cd30f8eb1.tar.bz2
manaplus-de4b5860924bc3b9267edcce6cf2417cd30f8eb1.tar.xz
manaplus-de4b5860924bc3b9267edcce6cf2417cd30f8eb1.zip
Move options for other input settings page into separate file.
Diffstat (limited to 'src/input/pages/other.cpp')
-rw-r--r--src/input/pages/other.cpp203
1 files changed, 203 insertions, 0 deletions
diff --git a/src/input/pages/other.cpp b/src/input/pages/other.cpp
new file mode 100644
index 000000000..65ee2af90
--- /dev/null
+++ b/src/input/pages/other.cpp
@@ -0,0 +1,203 @@
+/*
+ * 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-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 "gui/setupactiondata.h"
+
+#include "input/inputaction.h"
+#include "input/inputactiondata.h"
+
+#include "utils/gettext.h"
+#include "utils/stringutils.h"
+
+#include "debug.h"
+
+SetupActionData setupActionDataOther[] =
+{
+ {
+ // 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_("Direct Up"),
+ InputAction::DIRECT_UP,
+ "",
+ },
+ {
+ // TRANSLATORS: input action name
+ N_("Direct Down"),
+ InputAction::DIRECT_DOWN,
+ "",
+ },
+ {
+ // TRANSLATORS: input action name
+ N_("Direct Left"),
+ InputAction::DIRECT_LEFT,
+ "",
+ },
+ {
+ // TRANSLATORS: input action name
+ N_("Direct Right"),
+ InputAction::DIRECT_RIGHT,
+ "",
+ },
+ {
+ // 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_("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_("Show onscreen keyboard"),
+ InputAction::SHOW_KEYBOARD,
+ "",
+ },
+ {
+ "",
+ InputAction::NO_VALUE,
+ ""
+ }
+};