Skip to content
Permalink
Browse files

Remove math mapgen

  • Loading branch information...
proller committed Jul 12, 2014
1 parent e69d660 commit 7df83c2c6785a1aef440e7c586b1ee0b3ff06f53
Showing with 1 addition and 444 deletions.
  1. +1 −1 builtin/mainmenu/dlg_create_world.lua
  2. +0 −3 minetest.conf.example
  3. +0 −1 src/CMakeLists.txt
  4. +0 −3 src/defaultsettings.cpp
  5. +0 −2 src/emerge.cpp
  6. +0 −366 src/mapgen_math.cpp
  7. +0 −68 src/mapgen_math.h
@@ -16,7 +16,7 @@
--51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.

local function create_world_formspec(dialogdata)
local mapgens = {"v6", "v7", "indev", "singlenode", "math"}
local mapgens = {"v6", "v7", "indev", "singlenode"}

local current_seed = core.setting_get("fixed_map_seed") or ""
local current_mg = core.setting_get("mg_name")
@@ -441,9 +441,6 @@
# Float islands starts from height, 0 to disable
#mgindev_float_islands = 500

# Math mapgen generator: sphere, mandelbox, mengersponge dont forget to lower water_level = -30000
#mgmath_generator = mandelbox

# Enable/disable IPv6
#enable_ipv6 = true
# Enable/disable running an IPv6 server. An IPv6 server may be restricted
@@ -359,7 +359,6 @@ set(common_SRCS
mapgen_v7.cpp
mapgen_indev.cpp
mapgen_singlenode.cpp
mapgen_math.cpp
treegen.cpp
dungeongen.cpp
cavegen.cpp
@@ -262,9 +262,6 @@ void set_default_settings(Settings *settings)
settings->setDefault("chunksize", "5");
settings->setDefault("mg_flags", "");

settings->setDefault("mgmath_generator", "mandelbox");


// IPv6
settings->setDefault("enable_ipv6", "true");
settings->setDefault("ipv6_server", "false");
@@ -44,7 +44,6 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include "mapgen_v7.h"
#include "mapgen_indev.h"
#include "mapgen_singlenode.h"
#include "mapgen_math.h"


class EmergeThread : public JThread
@@ -86,7 +85,6 @@ EmergeManager::EmergeManager(IGameDef *gamedef) {
registerMapgen("v7", new MapgenFactoryV7());
registerMapgen("indev", new MapgenFactoryIndev());
registerMapgen("singlenode", new MapgenFactorySinglenode());
registerMapgen("math", new MapgenFactoryMath());

this->ndef = gamedef->getNodeDefManager();
this->biomedef = new BiomeDefManager();
Oops, something went wrong.

0 comments on commit 7df83c2

Please sign in to comment.
You can’t perform that action at this time.