diff options
author | Adam Borowski <kilobyte@angband.pl> | 2013-04-03 15:13:40 +0200 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2013-04-05 14:15:34 +0200 |
commit | 857a0d21f004e28819f0ecf89e95d4ec61a8fa8b (patch) | |
tree | efc4ba1b13b023601faa8728c8db1e1984e2499d /crawl-ref/source/arena.cc | |
parent | dce8086b04b24215e0cbf24f8b8f32b0f7ca971b (diff) | |
download | crawl-ref-857a0d21f004e28819f0ecf89e95d4ec61a8fa8b.tar.gz crawl-ref-857a0d21f004e28819f0ecf89e95d4ec61a8fa8b.zip |
Purge unused code for the arena.
(Committing separately, in case something was supposed to serve some purpose.)
Diffstat (limited to 'crawl-ref/source/arena.cc')
-rw-r--r-- | crawl-ref/source/arena.cc | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/crawl-ref/source/arena.cc b/crawl-ref/source/arena.cc index e34245a8f9..23e0ff1c73 100644 --- a/crawl-ref/source/arena.cc +++ b/crawl-ref/source/arena.cc @@ -132,7 +132,6 @@ namespace arena static uint32_t cycle_random_pos = 0; static FILE *file = NULL; - static int message_pos = 0; static level_id place(BRANCH_MAIN_DUNGEON, 20); static void adjust_spells(monster* mons, bool no_summons, bool no_animate) @@ -517,14 +516,6 @@ namespace arena setup_others(); } - // Temporarily reset crawl_state.type to force a --more-- to happen. - static void more() - { - unwind_var<game_type> type(crawl_state.type, GAME_TYPE_NORMAL); - - ::more(); - } - static void count_foes() { int orig_a = faction_a.active_members; @@ -595,31 +586,6 @@ namespace arena return (faction_a.active_members > 0 && faction_b.active_members > 0); } - static void report_foes() - { - for (monster_iterator mons; mons; ++mons) - { - if (mons->type == MONS_SIGMUND) - { - coord_def where; - if (mons->get_foe()) - where = mons->get_foe()->pos(); - mprf("%s (%d,%d) foe: %s (%d,%d)", - mons->name(DESC_PLAIN).c_str(), - mons->pos().x, mons->pos().y, - mons->get_foe()? mons->get_foe()->name(DESC_PLAIN).c_str() - : "(none)", - where.x, where.y); - } - } - } - - static void fixup_foes() - { - for (monster_iterator mons; mons; ++mons) - behaviour_event(*mons, ME_DISTURB, 0, mons->pos()); - } - static void dump_messages() { if (!Options.arena_dump_msgs || file == NULL) |