summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/command.cc
diff options
context:
space:
mode:
authorChris Campbell <chriscampbell89@gmail.com>2013-12-09 12:41:17 +0000
committerChris Campbell <chriscampbell89@gmail.com>2013-12-10 15:37:22 +0000
commit9ff65a6a82d6c134e5ba0459042672e51d0cf3b5 (patch)
tree28aea7cf8bd59c2c5dafe4d877586c8fc901444f /crawl-ref/source/command.cc
parent8fe954617de510e6e1666c5bf5f024c737d2ca4c (diff)
downloadcrawl-ref-9ff65a6a82d6c134e5ba0459042672e51d0cf3b5.tar.gz
crawl-ref-9ff65a6a82d6c134e5ba0459042672e51d0cf3b5.zip
Fix spelling of "targeting" (#7837)
See Mantis for discussion.
Diffstat (limited to 'crawl-ref/source/command.cc')
-rw-r--r--crawl-ref/source/command.cc26
1 files changed, 13 insertions, 13 deletions
diff --git a/crawl-ref/source/command.cc b/crawl-ref/source/command.cc
index 0549a3259e..38fa185fbe 100644
--- a/crawl-ref/source/command.cc
+++ b/crawl-ref/source/command.cc
@@ -604,7 +604,7 @@ static bool _cmdhelp_textfilter(const string &tag)
return false;
}
-static const char *targetting_help_1 =
+static const char *targeting_help_1 =
"<h>Examine surroundings ('<w>x</w><h>' in main):\n"
"<w>Esc</w> : cancel (also <w>Space</w>, <w>x</w>)\n"
"<w>Dir.</w>: move cursor in that direction\n"
@@ -622,13 +622,13 @@ static const char *targetting_help_1 =
"<w>r</w> : move cursor to you\n"
"<w>e</w> : create/remove travel exclusion\n"
#ifndef USE_TILE_LOCAL
- "<w>Ctrl-L</w> : targetting via monster list\n"
+ "<w>Ctrl-L</w> : targeting via monster list\n"
#endif
"<w>Ctrl-P</w> : repeat prompt\n"
;
#ifdef WIZARD
-static const char *targetting_help_wiz =
- "<h>Wizard targetting commands:</h>\n"
+static const char *targeting_help_wiz =
+ "<h>Wizard targeting commands:</h>\n"
"<w>Ctrl-C</w> : cycle through beam paths\n"
"<w>D</w>: get debugging information about the monster\n"
"<w>o</w>: give item to monster\n"
@@ -648,8 +648,8 @@ static const char *targetting_help_wiz =
;
#endif
-static const char *targetting_help_2 =
- "<h>Targetting (zap wands, cast spells, etc.):\n"
+static const char *targeting_help_2 =
+ "<h>Targeting (zap wands, cast spells, etc.):\n"
"Most keys from examine surroundings work.\n"
"Some keys fire at the target. By default,\n"
"range is respected and beams don't stop.\n"
@@ -1902,7 +1902,7 @@ static int _show_keyhelp_menu(const vector<formatted_string> &lines,
"<w>F</w>. Monsters\n"
"<w>G</w>. Items\n"
"<w>H</w>. Spellcasting\n"
- "<w>I</w>. Targetting\n"
+ "<w>I</w>. Targeting\n"
"<w>J</w>. Religion\n"
"<w>K</w>. Mutations\n"
"<w>L</w>. Licence, Contact, History\n"
@@ -1992,18 +1992,18 @@ void show_known_menu_help()
_show_specific_help(getHelpString("known-menu"));
}
-void show_targetting_help()
+void show_targeting_help()
{
column_composer cols(2, 40);
// Page size is number of lines - one line for --more-- prompt.
cols.set_pagesize(get_number_of_lines() - 1);
- cols.add_formatted(0, targetting_help_1, true, true);
+ cols.add_formatted(0, targeting_help_1, true, true);
#ifdef WIZARD
if (you.wizard)
- cols.add_formatted(0, targetting_help_wiz, true, true);
+ cols.add_formatted(0, targeting_help_wiz, true, true);
#endif
- cols.add_formatted(1, targetting_help_2, true, true);
+ cols.add_formatted(1, targeting_help_2, true, true);
_show_keyhelp_menu(cols.formatted_lines(), false, Options.easy_exit_menu);
}
void show_interlevel_travel_branch_help()
@@ -2377,7 +2377,7 @@ static void _add_formatted_keyhelp(column_composer &cols)
string text =
"Many commands have context sensitive "
"help, among them <w>%</w>, <w>%</w>, <w>%</w> (or any "
- "form of targetting), <w>%</w>, and <w>%</w>.\n"
+ "form of targeting), <w>%</w>, and <w>%</w>.\n"
"You can read descriptions of your "
"current spells (<w>%</w>), skills (<w>%?</w>) and "
"abilities (<w>%!</w>).";
@@ -2537,7 +2537,7 @@ static void _add_formatted_hints_help(column_composer &cols)
cols.add_formatted(
1,
- "\n<h>Targetting\n"
+ "\n<h>Targeting\n"
"<w>Enter</w> or <w>.</w> or <w>Del</w> : confirm target\n"
"<w>+</w> and <w>-</w> : cycle between targets\n"
"<w>f</w> or <w>p</w> : shoot at previous target\n"