summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mapmark.h
diff options
context:
space:
mode:
authorMatthew Cline <zelgadis@sourceforge.net>2009-10-25 00:23:09 -0700
committerMatthew Cline <zelgadis@sourceforge.net>2009-10-25 00:23:09 -0700
commita0ae32c8f8a04398b4b99880069eb31a26b43eff (patch)
treee619d8de305de18bb7c9fc1ead65ee33a1377f33 /crawl-ref/source/mapmark.h
parent83d7fbfa11973abf823ed07f4c7b39956fc6aa4a (diff)
downloadcrawl-ref-a0ae32c8f8a04398b4b99880069eb31a26b43eff.tar.gz
crawl-ref-a0ae32c8f8a04398b4b99880069eb31a26b43eff.zip
Let markers change the description of any feature
Allow markers to change the short and/or long description of any feature, not just portal vault entrances. The feature_description() and feature_description_long() functions have been removed from the mapmark classes and turned into ordinary properties. Also added the marker property "door_description_suffix", which can be used to alter the short description of (known) doors by appending a string to them.
Diffstat (limited to 'crawl-ref/source/mapmark.h')
-rw-r--r--crawl-ref/source/mapmark.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/crawl-ref/source/mapmark.h b/crawl-ref/source/mapmark.h
index e9560b950e..71a142ce13 100644
--- a/crawl-ref/source/mapmark.h
+++ b/crawl-ref/source/mapmark.h
@@ -39,8 +39,6 @@ public:
virtual void write(writer &) const;
virtual void read(reader &);
virtual std::string debug_describe() const = 0;
- virtual std::string feature_description() const;
- virtual std::string feature_description_long() const;
virtual std::string property(const std::string &pname) const;
static map_marker *read_marker(reader &);
@@ -112,8 +110,6 @@ public:
void read(reader &);
map_marker *clone() const;
std::string debug_describe() const;
- std::string feature_description() const;
- std::string feature_description_long() const;
std::string property(const std::string &pname) const;
bool notify_dgn_event(const dgn_event &e);
@@ -143,7 +139,6 @@ public:
void write(writer &) const;
void read(reader &);
std::string debug_describe() const;
- std::string feature_description() const;
std::string property(const std::string &pname) const;
std::string set_property(const std::string &key, const std::string &val);
map_marker *clone() const;