summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/describe.h
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2008-06-18 17:36:50 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2008-06-18 17:36:50 +0000
commit50c201eae4fa07d6901dc5632c294660fb1a0745 (patch)
tree01fce245e2693ab4c54ef55d06ffdf89fd035390 /crawl-ref/source/describe.h
parent88b3b611b4a78d557eed9f2266c74bdad2b38cd8 (diff)
downloadcrawl-ref-50c201eae4fa07d6901dc5632c294660fb1a0745.tar.gz
crawl-ref-50c201eae4fa07d6901dc5632c294660fb1a0745.zip
Outsource the tutorial descriptions of skills, and make them searchable
in the database. Apply Zaba's patch to view skills from the skill menu ('m'). The melee, ranged and magic skills currently only have really generic descriptions shamelessly copied from the tutorial. There's a front end function get_skill_description that appends extra information like what types of unarmed attacks the current character is capable of (kicking, clawing, punching, ...) git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5955 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/describe.h')
-rw-r--r--crawl-ref/source/describe.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/crawl-ref/source/describe.h b/crawl-ref/source/describe.h
index a8014d7b95..009b6077eb 100644
--- a/crawl-ref/source/describe.h
+++ b/crawl-ref/source/describe.h
@@ -81,6 +81,10 @@ void describe_spell(spell_type spelled);
* *********************************************************************** */
std::string get_ghost_description(const monsters &mons, bool concise = false);
+std::string get_skill_description(int skill, bool need_title = false);
+
+void describe_skill(int skill);
+
void print_description( const std::string &d );
const char *trap_name(trap_type trap);