From 99b051c4e4650638e0f902304a649c2ab55c3040 Mon Sep 17 00:00:00 2001 From: j-p-e-g Date: Tue, 14 Aug 2007 21:46:31 +0000 Subject: Improved tutorial with extensive information on items as well as a few features. A bit of a clean-up and a few additions. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2001 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/describe.cc | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'crawl-ref/source/describe.cc') diff --git a/crawl-ref/source/describe.cc b/crawl-ref/source/describe.cc index 8d081759a9..d1d2401f9d 100644 --- a/crawl-ref/source/describe.cc +++ b/crawl-ref/source/describe.cc @@ -50,6 +50,7 @@ #include "spl-book.h" #include "stuff.h" #include "spl-util.h" +#include "tutorial.h" // ======================================================================== @@ -3310,6 +3311,13 @@ void describe_feature_wide(int x, int y) clrscr(); print_description(desc); + + if (Options.tutorial_left) + { + gotoxy(1, wherey() + 2); + tutorial_describe_feature(grd[x][y]); + } + if ( getch() == 0 ) getch(); } @@ -3378,6 +3386,12 @@ void describe_item( item_def &item ) break; } + if (Options.tutorial_left) + { + gotoxy(1, wherey() + 2); + tutorial_describe_item(item); + } + gotoxy(1, wherey() + 2); formatted_string::parse_string("Do you wish to inscribe this item? ").display(); -- cgit v1.2.3-54-g00ecf