From 341258b95e2dde491b2b8aef794e5fd6ac3156ee Mon Sep 17 00:00:00 2001 From: j-p-e-g Date: Wed, 18 Jun 2008 20:21:53 +0000 Subject: Add the framework for descriptions for abilities to be read from the ability menu (a!) Currently only contains descriptions for Zin, TSO and "Renounce Religion". Also, now I'm worried that players might accidentally press '?' instead of '!' and then apply an ability when they only wanted to read its description. (Of course, with some of them you can opt out, e.g. because they need targeting, but for others it's a real problem.) There must be a good solution around somewhere. Abilities are not (yet) searchable in the database. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5958 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/abl-show.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'crawl-ref/source/abl-show.h') diff --git a/crawl-ref/source/abl-show.h b/crawl-ref/source/abl-show.h index 387d7b7749..c7207ee688 100644 --- a/crawl-ref/source/abl-show.h +++ b/crawl-ref/source/abl-show.h @@ -70,7 +70,8 @@ const struct ability_def & get_ability_def( ability_type abil ); const char* ability_name(ability_type ability); const std::string make_cost_description( ability_type ability ); std::vector get_ability_names(); -int choose_ability_menu(const std::vector& talents); +int choose_ability_menu(const std::vector& talents, + bool describe = false); // last updated 12may2000 {dlb} /* *********************************************************************** -- cgit v1.2.3-54-g00ecf