aboutsummaryrefslogtreecommitdiff
path: root/src/mapgen_indev.cpp
diff options
context:
space:
mode:
authorkwolekr <kwolekr@minetest.net>2013-03-24 01:43:38 -0400
committerkwolekr <kwolekr@minetest.net>2013-03-24 13:23:33 -0400
commit57cbb8bfd8daaa1b8b1aa876723ff6355d21f7fc (patch)
tree99b6ce58417103e4271aae2db63cce9c3d85db1d /src/mapgen_indev.cpp
parentf70378f7f57f293a2a0afcf35aec8ee67180a6c0 (diff)
downloadminetest-57cbb8bfd8daaa1b8b1aa876723ff6355d21f7fc.tar.gz
minetest-57cbb8bfd8daaa1b8b1aa876723ff6355d21f7fc.tar.bz2
minetest-57cbb8bfd8daaa1b8b1aa876723ff6355d21f7fc.zip
Add Ore infrastructure and l_register_ore()
Diffstat (limited to 'src/mapgen_indev.cpp')
-rw-r--r--src/mapgen_indev.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mapgen_indev.cpp b/src/mapgen_indev.cpp
index 6956fc63f..5d455827a 100644
--- a/src/mapgen_indev.cpp
+++ b/src/mapgen_indev.cpp
@@ -80,7 +80,9 @@ void NoiseIndev::transformNoiseMapFarScale(float xx, float yy, float zz) {
}
}
-MapgenIndev::MapgenIndev(int mapgenid, MapgenIndevParams *params) : MapgenV6(mapgenid, params) {
+MapgenIndev::MapgenIndev(int mapgenid, MapgenIndevParams *params, EmergeManager *emerge)
+ : MapgenV6(mapgenid, params, emerge)
+{
noiseindev_terrain_base = new NoiseIndev(params->npindev_terrain_base, seed, csize.X, csize.Z);
noiseindev_terrain_higher = new NoiseIndev(params->npindev_terrain_higher, seed, csize.X, csize.Z);
noiseindev_steepness = new NoiseIndev(params->npindev_steepness, seed, csize.X, csize.Z);