From 5c65cedddfd6f3d893c7eaec03f3c8519e266d45 Mon Sep 17 00:00:00 2001 From: dshaligram Date: Fri, 1 Dec 2006 15:20:32 +0000 Subject: [1597293] Preliminary greedy-explore, parked on Ctrl-I. We can (re)move it if necessary. Stash-tracking is no longer #ifdef conditionalised. I'm not aware of anybody who compiles without it. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@538 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/externs.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'crawl-ref/source/externs.h') diff --git a/crawl-ref/source/externs.h b/crawl-ref/source/externs.h index a1cb6da756..01806f710d 100644 --- a/crawl-ref/source/externs.h +++ b/crawl-ref/source/externs.h @@ -309,6 +309,8 @@ public: // Returns true if we're currently resting. bool is_rest() const; + bool is_explore() const; + // Clears run state. void clear(); @@ -845,6 +847,8 @@ public: int explore_stop; // Stop exploring if a previously unseen // item comes into view + int explore_stop_prompt; + std::vector sound_mappings; std::vector menu_colour_mappings; @@ -942,8 +946,9 @@ private: void set_activity_interrupt(const std::string &activity_name, const std::string &interrupt_names, bool append_interrupts); - void add_dump_fields(const std::string &text); + void new_dump_fields(const std::string &text, bool add = true); void do_kill_map(const std::string &from, const std::string &to); + int read_explore_stop_conditions(const std::string &) const; static const std::string interrupt_prefix; }; -- cgit v1.2.3-54-g00ecf