diff options
author | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2006-12-01 15:20:32 +0000 |
---|---|---|
committer | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2006-12-01 15:20:32 +0000 |
commit | 5c65cedddfd6f3d893c7eaec03f3c8519e266d45 (patch) | |
tree | a329dac4fc6be65f3ef947fc22c5af4f3e1e8284 /crawl-ref/source/externs.h | |
parent | 7cc367c09ed4fa3239ef8cb300cc1ef21fe129ce (diff) | |
download | crawl-ref-5c65cedddfd6f3d893c7eaec03f3c8519e266d45.tar.gz crawl-ref-5c65cedddfd6f3d893c7eaec03f3c8519e266d45.zip |
[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
Diffstat (limited to 'crawl-ref/source/externs.h')
-rw-r--r-- | crawl-ref/source/externs.h | 7 |
1 files changed, 6 insertions, 1 deletions
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_mapping> sound_mappings; std::vector<colour_mapping> 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; }; |