From e2e74507bbc5ce16bad61bedc0bd881acdbea280 Mon Sep 17 00:00:00 2001 From: j-p-e-g Date: Mon, 16 Jun 2008 13:51:20 +0000 Subject: Implemented a modified version of FR 1994116: change inscription interface. Instead of "Do you wish to inscribe this item? (y/n)" directly print "Add what to inscription? (You may also (a)utoinscribe or (c)lear it.)" (a) and (c) only where applicable, of course. This has two benefits: No extra prompt needed to inscribe anything, and I've finally managed to merge both the { prompt and inscribing from viewing into the same function. Escape or pressing Enter on an empty inscription string (or one only consisting of spaces) will return without changing anything. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5879 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/tutorial.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crawl-ref/source/tutorial.h') diff --git a/crawl-ref/source/tutorial.h b/crawl-ref/source/tutorial.h index a9646570e2..e0d94d2b0a 100644 --- a/crawl-ref/source/tutorial.h +++ b/crawl-ref/source/tutorial.h @@ -48,7 +48,7 @@ void print_tut_skills_info(void); // Additional information for tutorial players. void tutorial_describe_item(const item_def &item); -void tutorial_inscription_info(bool autoinscribe); +void tutorial_inscription_info(bool autoinscribe, std::string prompt); bool tutorial_pos_interesting(int x, int y); void tutorial_describe_pos(int x, int y); bool tutorial_feat_interesting(dungeon_feature_type feat); -- cgit v1.2.3-54-g00ecf