summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/branch.cc
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2011-10-26 17:00:51 +0200
committerAdam Borowski <kilobyte@angband.pl>2011-11-04 18:49:50 +0100
commit702a7dc49db8e15043646b3898b544e76874c649 (patch)
treedc74360ae1f8ceab12b4030287cdf619aad3645f /crawl-ref/source/branch.cc
parentacbc1dae1491c9d986fd81acb70a91ba8785bf4d (diff)
downloadcrawl-ref-702a7dc49db8e15043646b3898b544e76874c649.tar.gz
crawl-ref-702a7dc49db8e15043646b3898b544e76874c649.zip
Purge away attempts to retain save compat for level_type changes.
Diffstat (limited to 'crawl-ref/source/branch.cc')
-rw-r--r--crawl-ref/source/branch.cc23
1 files changed, 0 insertions, 23 deletions
diff --git a/crawl-ref/source/branch.cc b/crawl-ref/source/branch.cc
index b1a9d7f0ee..99dea92117 100644
--- a/crawl-ref/source/branch.cc
+++ b/crawl-ref/source/branch.cc
@@ -92,29 +92,6 @@ bool branch_has_monsters(branch_type branch)
return branches[branch].mons_rarity_function != mons_null_rare;
}
-#if TAG_MAJOR_VERSION == 32
-static const char *old_level_type_names[] =
-{
- "D", "Lab", "Abyss", "Pan", "Port"
-};
-
-const char *old_level_area_type_name(int old_level_type)
-{
- if (old_level_type >= 0 && old_level_type < NUM_LEVEL_AREA_TYPES)
- return old_level_type_names[old_level_type];
- return ("");
-}
-
-old_level_area_type str_to_old_level_area_type(const std::string &s)
-{
- for (int i = 0; i < NUM_LEVEL_AREA_TYPES; ++i)
- if (s == old_level_type_names[i])
- return (static_cast<old_level_area_type>(i));
-
- return (OLD_LEVEL_DUNGEON);
-}
-#endif
-
branch_type get_branch_at(const coord_def& pos)
{
return level_id::current().get_next_level_id(pos).branch;