summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/travel.h
diff options
context:
space:
mode:
authordshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-06-17 17:38:36 +0000
committerdshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-06-17 17:38:36 +0000
commit23c5277317de657f8376d1b5f33144948a811a42 (patch)
treede39ce9e4c369e1f42ddf291695d25b1c5c44c55 /crawl-ref/source/travel.h
parenta9a5ce7479fc6358f96aadad9654d35f2a573782 (diff)
downloadcrawl-ref-23c5277317de657f8376d1b5f33144948a811a42.tar.gz
crawl-ref-23c5277317de657f8376d1b5f33144948a811a42.zip
[1738010] Stash-tracker now also tracks traps and other dungeon features.
Changed env.grid to dungeon_feature_type. (The special-level builder still stores map characters directly into env.grid and then translates them to features.) git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1592 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/travel.h')
-rw-r--r--crawl-ref/source/travel.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/travel.h b/crawl-ref/source/travel.h
index 8fad985664..3ed894ecee 100644
--- a/crawl-ref/source/travel.h
+++ b/crawl-ref/source/travel.h
@@ -269,7 +269,7 @@ class explore_discoveries
public:
explore_discoveries();
- void found_feature(const coord_def &pos, int grid);
+ void found_feature(const coord_def &pos, dungeon_feature_type grid);
void found_item(const coord_def &pos, const item_def &item);
// Reports discoveries and prompts the player to stop (if necessary).
@@ -277,7 +277,7 @@ public:
private:
template <class C> void say_any(const C &coll, const char *stub) const;
- std::string cleaned_feature_description(int feature) const;
+ std::string cleaned_feature_description(dungeon_feature_type feature) const;
void add_item(const item_def &item);
private: