summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/state.h
diff options
context:
space:
mode:
authorRaphael Langella <raphael.langella@gmail.com>2011-08-24 08:20:05 +0000
committerRaphael Langella <raphael.langella@gmail.com>2011-08-24 13:43:46 +0200
commit1e9ca8fa8386c7c437eca86a45506573a08ad208 (patch)
tree40dfadae3fd101e2f78f91366536c63f89167c38 /crawl-ref/source/state.h
parent5baea3003c7c7a77e33751ad0ce8e73e9d83f0a6 (diff)
downloadcrawl-ref-1e9ca8fa8386c7c437eca86a45506573a08ad208.tar.gz
crawl-ref-1e9ca8fa8386c7c437eca86a45506573a08ad208.zip
A lua hook to tell if we're currently being prompted for level up stat gain.
For the Zot Bot. https://crawl.develz.org/tavern/viewtopic.php?f=22&t=2333
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 49b5105a41..d58bf068b7 100644
--- a/crawl-ref/source/state.h
+++ b/crawl-ref/source/state.h
@@ -83,6 +83,7 @@ struct game_state
int prev_cmd_repeat_goal;
bool cmd_repeat_started_unsafe;
int lua_calls_no_turn;
+ bool stat_gain_prompt;
std::vector<std::string> startup_errors;