diff options
author | Neil Moore <neil@s-z.org> | 2014-03-19 02:41:07 -0400 |
---|---|---|
committer | Neil Moore <neil@s-z.org> | 2014-03-19 02:41:07 -0400 |
commit | f421e69a4b27aebbc629b5f5ebbd8fe66e2a03f5 (patch) | |
tree | be888a90eeb6335ef5c58340c59d679abc49d9b6 /crawl-ref/source/invent.h | |
parent | 13ce0bc76763faa5cf2c6167519e5c1040743480 (diff) | |
download | crawl-ref-f421e69a4b27aebbc629b5f5ebbd8fe66e2a03f5.tar.gz crawl-ref-f421e69a4b27aebbc629b5f5ebbd8fe66e2a03f5.zip |
Show inventory weights only for pickup/drop by default.
Add a third, default, value for show_inventory_weights, to enable
weights for pick-up and drop menus only.
Ctrl-W continues to toggle weight display in the current menu, but is
no longer persistent from one menu to the next.
Diffstat (limited to 'crawl-ref/source/invent.h')
-rw-r--r-- | crawl-ref/source/invent.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/invent.h b/crawl-ref/source/invent.h index 0b94ef406b..20a3302f48 100644 --- a/crawl-ref/source/invent.h +++ b/crawl-ref/source/invent.h @@ -114,6 +114,8 @@ public: virtual bool get_tiles(vector<tile_def>& tiles) const; #endif + bool show_weight; + private: void add_class_hotkeys(const item_def &i); }; |