From 005372e15f4b5f69be47cdf5328899c195f54584 Mon Sep 17 00:00:00 2001 From: haranp Date: Fri, 11 May 2007 14:24:01 +0000 Subject: 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 --- crawl-ref/source/tutorial.cc | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) (limited to 'crawl-ref/source/tutorial.cc') 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 hjklyubn. A basic " - "command list can be found under ?, 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 hjklyubn. A basic " + "command list can be found under ?, 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 -- cgit v1.2.3-54-g00ecf