summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/invent.h
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2012-01-06 08:59:48 +0100
committerAdam Borowski <kilobyte@angband.pl>2012-01-06 09:04:50 +0100
commit23ffd3f80a537986a932a84d07492d444c8137ee (patch)
tree913d0c934ba0f28abfaecb9f904be6492c7d44f0 /crawl-ref/source/invent.h
parent24d0710340481556d1d949b4eca18b3637c63865 (diff)
downloadcrawl-ref-23ffd3f80a537986a932a84d07492d444c8137ee.tar.gz
crawl-ref-23ffd3f80a537986a932a84d07492d444c8137ee.zip
Don't show item prices on DYWYPI.
They don't have any effect on score anymore.
Diffstat (limited to 'crawl-ref/source/invent.h')
-rw-r--r--crawl-ref/source/invent.h13
1 files changed, 1 insertions, 12 deletions
diff --git a/crawl-ref/source/invent.h b/crawl-ref/source/invent.h
index 83d929a45b..09d68171d2 100644
--- a/crawl-ref/source/invent.h
+++ b/crawl-ref/source/invent.h
@@ -75,20 +75,16 @@ private:
invtitle_annotator titlefn;
};
-class InvShowPrices;
class InvEntry : public MenuEntry
{
private:
static bool show_prices;
static bool show_glyph;
static bool show_cursor;
- static void set_show_prices(bool doshow);
mutable std::string basename;
mutable std::string qualname;
- friend class InvShowPrices;
-
public:
const item_def *item;
@@ -124,13 +120,6 @@ private:
void add_class_hotkeys(const item_def &i);
};
-class InvShowPrices
-{
-public:
- InvShowPrices(bool doshow = true);
- ~InvShowPrices();
-};
-
class InvMenu : public Menu
{
public:
@@ -232,7 +221,7 @@ unsigned char invent_select(
Menu::selitem_tfn fn = NULL,
const std::vector<SelItem> *pre_select = NULL);
-void browse_inventory(bool show_price);
+void browse_inventory();
unsigned char get_invent(int invent_type);
bool in_inventory(const item_def &i);