summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/initfile.cc
diff options
context:
space:
mode:
authorzelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573>2009-01-01 02:31:13 +0000
committerzelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573>2009-01-01 02:31:13 +0000
commitc24cfde50a08a4ac472466508cab62ba1ace74ca (patch)
tree2a8f13a5b690ce24d8f8901ea005ae1fd60b2ab6 /crawl-ref/source/initfile.cc
parent3f0a535a9d963438d6a4b0bde64ac06ddc247216 (diff)
downloadcrawl-ref-c24cfde50a08a4ac472466508cab62ba1ace74ca.tar.gz
crawl-ref-c24cfde50a08a4ac472466508cab62ba1ace74ca.zip
Added arena game options:
* arena_dump_msgs, which if true will dump all mpr()'d messages into arena.result * arena_dump_msgs_all, which will cause arena_dump_msgs to dump all messages, not just ones considered "dump worthy" * arena_list_eq, which if true will cause all items the monsters came equipped with to be dumped to arena.result Also, made arena_delay option settable, so you can do "arena_delay = 0" to make the simulation zip by. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8071 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/initfile.cc')
-rw-r--r--crawl-ref/source/initfile.cc7
1 files changed, 7 insertions, 0 deletions
diff --git a/crawl-ref/source/initfile.cc b/crawl-ref/source/initfile.cc
index 7cfcbe5c3e..e58c5318e1 100644
--- a/crawl-ref/source/initfile.cc
+++ b/crawl-ref/source/initfile.cc
@@ -711,6 +711,9 @@ void game_options::reset_options()
travel_stair_cost = 500;
arena_delay = 600;
+ arena_dump_msgs = false;
+ arena_dump_msgs_all = false;
+ arena_list_eq = false;
// Sort only pickup menus by default.
sort_menus.clear();
@@ -3067,6 +3070,10 @@ void game_options::read_option_line(const std::string &str, bool runscript)
else
constants.insert(field);
}
+ else INT_OPTION(arena_delay, 1, INT_MAX);
+ else BOOL_OPTION(arena_dump_msgs);
+ else BOOL_OPTION(arena_dump_msgs_all);
+ else BOOL_OPTION(arena_list_eq);
// Catch-all else, copies option into map
else if (runscript)