summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/state.h
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2011-07-11 15:02:23 +0200
committerAdam Borowski <kilobyte@angband.pl>2011-07-12 00:32:22 +0200
commit82cb2a995b33f27d7ee692c01b0c10b48e24616e (patch)
tree5041db95383d95a992a3ea32a5057cc4df6da3d1 /crawl-ref/source/state.h
parent917a65255999b0aef5d317d6bd4a17e6a59b9eea (diff)
downloadcrawl-ref-82cb2a995b33f27d7ee692c01b0c10b48e24616e.tar.gz
crawl-ref-82cb2a995b33f27d7ee692c01b0c10b48e24616e.zip
A dlua function debug.disable() to turn off some parts of Crawl.
Currently implemented: * spawns * mon_act * mon_regen * player_regen * hunger
Diffstat (limited to 'crawl-ref/source/state.h')
-rw-r--r--crawl-ref/source/state.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/state.h b/crawl-ref/source/state.h
index 937cd23092..49b5105a41 100644
--- a/crawl-ref/source/state.h
+++ b/crawl-ref/source/state.h
@@ -103,6 +103,8 @@ struct game_state
// Any changes to macros that need to be changed?
bool unsaved_macros;
+ FixedBitArray<NUM_DISABLEMENTS> disables;
+
// Version of the last character save.
int minorVersion;