summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/state.h
diff options
context:
space:
mode:
authorMichael Gagno <evilmike@gmail.com>2012-03-07 17:16:22 -0800
committerMichael Gagno <evilmike@gmail.com>2012-03-07 17:23:45 -0800
commitff9fb87a6f8b8d9b918d9bd96f3266299cdd212c (patch)
tree65c0d2f9f50c9d74d0b26c561f4a8caabb68d28e /crawl-ref/source/state.h
parentd79679de2d885717e7bbade44237acfd1be188fe (diff)
downloadcrawl-ref-ff9fb87a6f8b8d9b918d9bd96f3266299cdd212c.tar.gz
crawl-ref-ff9fb87a6f8b8d9b918d9bd96f3266299cdd212c.zip
New ctrl+V command to show monster HP, and other HP colouring improvements. (nfogravity)
https://crawl.develz.org/mantis/view.php?id=5376 Pressing ctrl+v in console will colour all monsters based on their HP. This can be useful when fighting large groups. This mode deactivates itself the next turn, or you can toggle it off manually by pressing ctrl+v again. Zombies and skeletons are given lightgrey colouring, since you can't determine their HP. There is also a new option, enemy_hp_colour, which lets you define custom colours (applies to the ctrl+v display and the regular monster list). The old ctrl+v command (show equipped weapons) has been removed.
Diffstat (limited to 'crawl-ref/source/state.h')
-rw-r--r--crawl-ref/source/state.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/state.h b/crawl-ref/source/state.h
index f1a129dc54..c5939ae37d 100644
--- a/crawl-ref/source/state.h
+++ b/crawl-ref/source/state.h
@@ -90,6 +90,7 @@ struct game_state
std::vector<std::string> startup_errors;
bool level_annotation_shown;
+ bool viewport_monster_hp;
#ifndef USE_TILE_LOCAL
// Are we currently targetting using the mlist?