summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/externs.h
diff options
context:
space:
mode:
authorSteve Melenchuk <smelenchuk@gmail.com>2014-05-11 18:41:57 -0600
committerSteve Melenchuk <smelenchuk@gmail.com>2014-05-11 18:47:32 -0600
commit0fb9ce809de201a9b98bcab123a90a3d44ddef56 (patch)
tree0cc6eb544da7ff3b285137a1e248d64501afb6ef /crawl-ref/source/externs.h
parent8dfefae69642d95eb191729af4910d69ac9c357d (diff)
downloadcrawl-ref-0fb9ce809de201a9b98bcab123a90a3d44ddef56.tar.gz
crawl-ref-0fb9ce809de201a9b98bcab123a90a3d44ddef56.zip
Refactor / remove some less important / unnecessary Gozag code.
In particular, the potion and shop lists don't need to be generated in advance of using the ability altogether; they only last as long as the ability menu is present (thus they're still stored, as if you get a HUP in the middle of it we want to present the same choices). Since shop prices no longer depend on the generated shops, item generation for the shops is left to the shops. (If we want to preserve their item quality, we'll need a level_number paramter in shop specs, but I doubt players will notice the difference at all.) RIP item_def::to_spec; you will not be missed.
Diffstat (limited to 'crawl-ref/source/externs.h')
-rw-r--r--crawl-ref/source/externs.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/crawl-ref/source/externs.h b/crawl-ref/source/externs.h
index 6652efff47..d37d7e0ff0 100644
--- a/crawl-ref/source/externs.h
+++ b/crawl-ref/source/externs.h
@@ -589,9 +589,6 @@ public:
// Returns true if this item causes autoexplore to visit it.
bool is_greedy_sacrificeable() const;
- // Returns an item_spec for a non-artefact item.
- string to_spec() const;
-
private:
string name_aux(description_level_type desc, bool terse, bool ident,
bool with_inscription, iflags_t ignore_flags) const;