From c24cfde50a08a4ac472466508cab62ba1ace74ca Mon Sep 17 00:00:00 2001 From: zelgadis Date: Thu, 1 Jan 2009 02:31:13 +0000 Subject: 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 --- crawl-ref/source/initfile.cc | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'crawl-ref/source/initfile.cc') 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) -- cgit v1.2.3-54-g00ecf