summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/describe.cc
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2007-08-14 21:46:31 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2007-08-14 21:46:31 +0000
commit99b051c4e4650638e0f902304a649c2ab55c3040 (patch)
tree195ccc2a6505c951024c9a615a46642b60c9b488 /crawl-ref/source/describe.cc
parente458eb5067931bf6d03772f5b110540c6f42443f (diff)
downloadcrawl-ref-99b051c4e4650638e0f902304a649c2ab55c3040.tar.gz
crawl-ref-99b051c4e4650638e0f902304a649c2ab55c3040.zip
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
Diffstat (limited to 'crawl-ref/source/describe.cc')
-rw-r--r--crawl-ref/source/describe.cc14
1 files changed, 14 insertions, 0 deletions
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("<cyan>Do you wish to inscribe this item? ").display();