summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/tutorial.cc
diff options
context:
space:
mode:
authorharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2007-05-11 14:24:01 +0000
committerharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2007-05-11 14:24:01 +0000
commit005372e15f4b5f69be47cdf5328899c195f54584 (patch)
tree65e9d16e49fba5b88b9e05cdfa85660ebc1f02c9 /crawl-ref/source/tutorial.cc
parent7b4192f994e7c8ec7d47ad5834c59d560ea56e90 (diff)
downloadcrawl-ref-005372e15f4b5f69be47cdf5328899c195f54584.tar.gz
crawl-ref-005372e15f4b5f69be47cdf5328899c195f54584.zip
Implemented Nemelex's 'sneak peek' ability.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1453 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/tutorial.cc')
-rw-r--r--crawl-ref/source/tutorial.cc15
1 files changed, 7 insertions, 8 deletions
diff --git a/crawl-ref/source/tutorial.cc b/crawl-ref/source/tutorial.cc
index b338cbf380..4c6310ae92 100644
--- a/crawl-ref/source/tutorial.cc
+++ b/crawl-ref/source/tutorial.cc
@@ -463,12 +463,12 @@ static formatted_string tutorial_message_intro()
static void tutorial_movement_info()
{
- std::string text;
- text = "To move your character, use the numpad; try Numlock both on and off. "
- "If your system has no number pad, or if you are familiar with the vi "
- "keys, movement is also possible with <w>hjklyubn<magenta>. A basic "
- "command list can be found under <w>?<magenta>, and the most important "
- "commands will be explained to you as it becomes necessary. ";
+ std::string text =
+ "To move your character, use the numpad; try Numlock both on and off. "
+ "If your system has no number pad, or if you are familiar with the vi "
+ "keys, movement is also possible with <w>hjklyubn<magenta>. A basic "
+ "command list can be found under <w>?<magenta>, and the most "
+ "important commands will be explained to you as it becomes necessary.";
mesclr();
print_formatted_paragraph(text, get_tutorial_cols(), MSGCH_TUTORIAL);
}
@@ -615,8 +615,7 @@ void tutorial_death_screen()
mpr( "See you next game!", MSGCH_TUTORIAL);
- for ( long i = 0; i < TUT_EVENTS_NUM; ++i )
- Options.tutorial_events[i] = 0;
+ Options.tutorial_events.init(false);
}
// if a character survives until Xp 5, the tutorial is declared finished