summaryrefslogtreecommitdiff
path: root/src/script
diff options
context:
space:
mode:
authorkwolekr <kwolekr@minetest.net>2014-11-01 13:16:23 -0400
committerkwolekr <kwolekr@minetest.net>2014-11-01 13:16:23 -0400
commit9e811a92e7846b958e4bc84aeb30bad8b51e8e1d (patch)
tree6b7b69e0364355881253395a192241932aebb952 /src/script
parentdb25f753375a97c71609ec4e2a3f7f6983904a54 (diff)
downloadminetest-9e811a92e7846b958e4bc84aeb30bad8b51e8e1d.tar.gz
minetest-9e811a92e7846b958e4bc84aeb30bad8b51e8e1d.tar.bz2
minetest-9e811a92e7846b958e4bc84aeb30bad8b51e8e1d.zip
Split up mapgen.cpp
Diffstat (limited to 'src/script')
-rw-r--r--src/script/common/c_content.cpp3
-rw-r--r--src/script/lua_api/l_mapgen.cpp6
2 files changed, 7 insertions, 2 deletions
diff --git a/src/script/common/c_content.cpp b/src/script/common/c_content.cpp
index 58d8c473e..88bbedec5 100644
--- a/src/script/common/c_content.cpp
+++ b/src/script/common/c_content.cpp
@@ -31,7 +31,8 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include "tool.h"
#include "serverobject.h"
#include "porting.h"
-#include "mapgen.h"
+#include "mg_schematic.h"
+#include "noise.h"
#include "json/json.h"
struct EnumString es_TileAnimationType[] =
diff --git a/src/script/lua_api/l_mapgen.cpp b/src/script/lua_api/l_mapgen.cpp
index fdbeafb31..2ed9fadf9 100644
--- a/src/script/lua_api/l_mapgen.cpp
+++ b/src/script/lua_api/l_mapgen.cpp
@@ -25,8 +25,12 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include "util/serialize.h"
#include "server.h"
#include "environment.h"
-#include "biome.h"
+#include "mg_biome.h"
#include "emerge.h"
+#include "mg_biome.h"
+#include "mg_ore.h"
+#include "mg_decoration.h"
+#include "mg_schematic.h"
#include "mapgen_v7.h"
#include "main.h"
#include "log.h"