summaryrefslogtreecommitdiff
path: root/src/input/pages/basic.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-08-22 19:45:54 +0300
committerAndrei Karas <akaras@inbox.ru>2014-08-22 19:45:54 +0300
commitca49d54605d272f43b235c86fe788783cf22537a (patch)
tree0c07d13d5df312adcaace6f95013cbf3f2b33b7b /src/input/pages/basic.cpp
parentddcdc184c2d9828e647a0734615e6e217332ad5e (diff)
downloadmv-ca49d54605d272f43b235c86fe788783cf22537a.tar.gz
mv-ca49d54605d272f43b235c86fe788783cf22537a.tar.bz2
mv-ca49d54605d272f43b235c86fe788783cf22537a.tar.xz
mv-ca49d54605d272f43b235c86fe788783cf22537a.zip
Move options for basic input settings page into separate file.
Diffstat (limited to 'src/input/pages/basic.cpp')
-rw-r--r--src/input/pages/basic.cpp203
1 files changed, 203 insertions, 0 deletions
diff --git a/src/input/pages/basic.cpp b/src/input/pages/basic.cpp
new file mode 100644
index 000000000..302cd495d
--- /dev/null
+++ b/src/input/pages/basic.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 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"),
+ InputAction::TARGET_ATTACK,
+ "",
+ },
+ {
+ // 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_("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::TRADE,
+ "",
+ },
+ {
+ // TRANSLATORS: input action name
+ N_("Open trade window"),
+ InputAction::OPEN_TRADE,
+ "",
+ },
+ {
+ // 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,
+ "",
+ },
+ {
+ "",
+ InputAction::NO_VALUE,
+ ""
+ }
+};