summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/dgn-layouts.cc
diff options
context:
space:
mode:
authorVsevolod Kozlov <zaba@wybt.net>2011-06-25 17:06:33 +0400
committerVsevolod Kozlov <zaba@wybt.net>2011-06-25 17:06:33 +0400
commitcb5f06740d250d4daa45bbe036ebf81b7b30d77b (patch)
tree64ac487b5627a838310ec6d15bcf2f72a4698896 /crawl-ref/source/dgn-layouts.cc
parentd0be972f8a2acb9bb991e7119f6dfdaa5c652f05 (diff)
downloadcrawl-ref-cb5f06740d250d4daa45bbe036ebf81b7b30d77b.tar.gz
crawl-ref-cb5f06740d250d4daa45bbe036ebf81b7b30d77b.zip
Rename plan_4 to chaotic_city, other layout functions to dgn_build_*_level.
Diffstat (limited to 'crawl-ref/source/dgn-layouts.cc')
-rw-r--r--crawl-ref/source/dgn-layouts.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/crawl-ref/source/dgn-layouts.cc b/crawl-ref/source/dgn-layouts.cc
index 830234c0b6..a1ab693f37 100644
--- a/crawl-ref/source/dgn-layouts.cc
+++ b/crawl-ref/source/dgn-layouts.cc
@@ -42,7 +42,7 @@ static bool _may_overwrite_pos(coord_def c);
static void _build_river(dungeon_feature_type river_type);
static void _build_lake(dungeon_feature_type lake_type);
-void builder_basic(int level_number)
+void dgn_build_basic_level(int level_number)
{
env.level_build_method += " basic";
env.level_layout_types.insert("basic");
@@ -131,7 +131,7 @@ void builder_basic(int level_number)
_builder_extras(level_number);
}
-void bigger_room(void)
+void dgn_build_bigger_room_level(void)
{
env.level_build_method += " bigger_room";
env.level_layout_types.insert("open");
@@ -159,9 +159,9 @@ void bigger_room(void)
}
// A more chaotic version of city level.
-void plan_4(dungeon_feature_type force_wall)
+void dgn_build_chaotic_city_level(dungeon_feature_type force_wall)
{
- env.level_build_method += make_stringf(" plan_4 [%d]", (int) force_wall);
+ env.level_build_method += make_stringf(" chaotic_city [%d]", (int) force_wall);
env.level_layout_types.insert("city");
int number_boxes = 5000;
@@ -235,7 +235,7 @@ void plan_4(dungeon_feature_type force_wall)
}
}
-void build_rooms(int nrooms)
+void dgn_build_rooms_level(int nrooms)
{
env.level_build_method += " build_rooms";
env.level_layout_types.insert("rooms");