summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/state.h
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/state.h')
-rw-r--r--crawl-ref/source/state.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/crawl-ref/source/state.h b/crawl-ref/source/state.h
index 74376b3b24..a1bf485298 100644
--- a/crawl-ref/source/state.h
+++ b/crawl-ref/source/state.h
@@ -91,6 +91,9 @@ struct game_state
bool level_annotation_shown;
+ // Range beyond which view should be darkend, -1 == disabled.
+ int darken_range;
+
protected:
void reset_cmd_repeat();
void reset_cmd_again();