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
ESHSNJO7LNU6GCDNEBRZAXZYVJK63CUGSXO5FO2Q6ZVGJGJ5NXOQC IDVXNMJFRENWKNSEHT4TU3XZKY5IDJ6LEPHKEMCIMVQSJFFHGQFAC SDLKLUNFGVKDS55DDJZCBAVIB7NL3RRYPTACAY65SCUQKV6APFSAC X3RDT655FEYO6XEVPIUAPEPJZAFE55KZBH2AZOLK3NGHINMVIGFQC K2CS6TCX2NDVL2ASEHGP4J4K4IJ6FP3ANNKTSIWVG43HPYSBX6ZQC PKXXBHS3LWLPZI2QVRX22MSQ4R2626IXRSNHFFYHXYTLJJQU54LQC RPOZZWKG5GLPHVZZ7ZKMKS64ZMV2LDCQSARBJFJ6FZOTOKCQO7FAC NS3KXJXQSN33UQSOBDK3WXXKA3KY5YOUJL67NBZKGQAJYDYZ2COQC // last updated 31dec2008 {dlb}/* ************************************************************************ called from: arena* *********************************************************************** */std::vector<std::string> get_recent_messages(int &message_pos,bool dumpworthy_only = true,std::vector<int> *channels = NULL);
}std::vector<std::string> get_recent_messages(int &message_pos,bool dumpworthy_only,std::vector<int> *channels){ASSERT(message_pos >= 0 && message_pos < NUM_STORED_MESSAGES);std::vector<int> _channels;if (channels == NULL)channels = &_channels;std::vector<std::string> out;while (message_pos != Next_Message){const message_item &msg = Store_Message[message_pos++];if (message_pos >= NUM_STORED_MESSAGES)message_pos -= NUM_STORED_MESSAGES;if (msg.text.empty())continue;if (dumpworthy_only && !is_channel_dumpworthy(msg.channel))continue;out.push_back(formatted_string::parse_string(msg.text).tostring());channels->push_back( (int) msg.channel );}return (out);
}}void list_eq(int imon){if (!Options.arena_list_eq || file == NULL)return;const monsters* mon = &menv[imon];std::vector<int> items;for (int i = 0; i < NUM_MONSTER_SLOTS; i++)if (mon->inv[i] != NON_ITEM)items.push_back(mon->inv[i]);if (items.size() == 0)return;fprintf(file, "%s:\n", mon->name(DESC_PLAIN, true).c_str());for (unsigned int i = 0; i < items.size(); i++){item_def &item = mitm[items[i]];fprintf(file, " %s\n",item.name(DESC_PLAIN, false, true).c_str());