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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/state.h b/crawl-ref/source/state.h
index 387b0e8b33..ffb9f56429 100644
--- a/crawl-ref/source/state.h
+++ b/crawl-ref/source/state.h
@@ -50,8 +50,10 @@ struct game_state
// suspended.
bool test; // Set if we want to run self-tests and exit.
+ bool script; // Set if we want to run a Lua script and exit.
bool build_db; // Set if we want to rebuild the db and exit.
std::vector<std::string> tests_selected; // Tests to be run.
+ std::vector<std::string> script_args; // Arguments to scripts.
bool unicode_ok; // Is unicode support available?