From 34cc3ee5d9832be20c635849dc592611c4697f2c Mon Sep 17 00:00:00 2001 From: haranp Date: Sat, 30 Jun 2007 15:17:02 +0000 Subject: The tutorial now uses set_more() to display the ability-menu help (so Menu doesn't need to be aware of the tutorial.) set_more() support with multi-line strings will only work if there are enough free lines; it doesn't (yet) reduce pagesize. Also, it doesn't handle newlines which aren't EOLs. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1700 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/menu.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'crawl-ref/source/menu.h') diff --git a/crawl-ref/source/menu.h b/crawl-ref/source/menu.h index 2607a02702..cfe710efd5 100644 --- a/crawl-ref/source/menu.h +++ b/crawl-ref/source/menu.h @@ -198,7 +198,7 @@ public: unsigned char getkey() const { return lastch; } void reset(); - std::vector show(bool reuse_selections = false, bool tut_abil = false); + std::vector show(bool reuse_selections = false); std::vector selected_entries() const; size_t item_count() const { return items.size(); } @@ -235,7 +235,7 @@ protected: bool alive; protected: - void do_menu(bool tut_abil = false); + void do_menu(); virtual void draw_select_count(int count, bool force = false); virtual void draw_item( int index ) const; virtual void draw_index_item(int index, const MenuEntry *me) const; -- cgit v1.2.3-54-g00ecf