summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/skills2.cc
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2008-06-19 21:53:43 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2008-06-19 21:53:43 +0000
commit82d1156545140d12af47d0267466e34017684e0e (patch)
treedf44f62da6a2000143dbf80221bbb3de9dd3235e /crawl-ref/source/skills2.cc
parent920b471045d3ef04952de3c127fd9d4c3688f1ac (diff)
downloadcrawl-ref-82d1156545140d12af47d0267466e34017684e0e.tar.gz
crawl-ref-82d1156545140d12af47d0267466e34017684e0e.zip
Update tutorial information for the 'm' and 'a' screens.
Space allowing, differentiate between hydras with different numbers of heads in the monster list. (This is probably only interesting in the Swamp.) git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5993 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/skills2.cc')
-rw-r--r--crawl-ref/source/skills2.cc18
1 files changed, 15 insertions, 3 deletions
diff --git a/crawl-ref/source/skills2.cc b/crawl-ref/source/skills2.cc
index 93212f0d52..ae1225ae75 100644
--- a/crawl-ref/source/skills2.cc
+++ b/crawl-ref/source/skills2.cc
@@ -1826,9 +1826,18 @@ static void _display_skill_table(bool show_aptitudes, bool show_description)
if (Options.tutorial_left)
{
- cgotoxy(1, bottom_line-5);
- // Doesn't mention the toggle between progress/aptitudes.
- print_tut_skills_info();
+ if (show_description)
+ {
+ cgotoxy(1, bottom_line-2);
+ // Doesn't mention the toggle between progress/aptitudes.
+ print_tut_skills_description_info();
+ }
+ else
+ {
+ cgotoxy(1, bottom_line-5);
+ // Doesn't mention the toggle between progress/aptitudes.
+ print_tut_skills_info();
+ }
}
else
{
@@ -1838,6 +1847,7 @@ static void _display_skill_table(bool show_aptitudes, bool show_description)
if (show_description)
{
+ // We need the extra spaces to override the alternative sentence.
cprintf("Press the letter of a skill to read its description. "
" ");
}
@@ -1890,6 +1900,8 @@ void show_skills()
{
// Show skill description.
show_description = !show_description;
+ if (Options.tutorial_left)
+ clrscr();
continue;
}