aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorparamat <mat.gregory@virginmedia.com>2017-04-04 06:37:21 +0100
committerparamat <mat.gregory@virginmedia.com>2017-04-05 07:30:00 +0100
commit1eca9ecf7d42efde5eec13caeb6e9ad5080ebb35 (patch)
treebc88169c8e070db43577e39bf27b8e325cd55856 /src
parentb8a4c95971bff050f6fad8ce740c3be949a321a6 (diff)
downloadminetest-1eca9ecf7d42efde5eec13caeb6e9ad5080ebb35.tar.gz
minetest-1eca9ecf7d42efde5eec13caeb6e9ad5080ebb35.tar.bz2
minetest-1eca9ecf7d42efde5eec13caeb6e9ad5080ebb35.zip
Mapgen: Remove '#include treegen.h' from non-mgv6 mapgens
Only mgv6 uses the tree functions from treegen.cpp.
Diffstat (limited to 'src')
-rw-r--r--src/mapgen_flat.cpp1
-rw-r--r--src/mapgen_fractal.cpp1
-rw-r--r--src/mapgen_v5.cpp1
-rw-r--r--src/mapgen_v7.cpp1
-rw-r--r--src/mapgen_valleys.cpp1
5 files changed, 0 insertions, 5 deletions
diff --git a/src/mapgen_flat.cpp b/src/mapgen_flat.cpp
index cc120b580..3c6a112e2 100644
--- a/src/mapgen_flat.cpp
+++ b/src/mapgen_flat.cpp
@@ -33,7 +33,6 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include "emerge.h"
#include "dungeongen.h"
#include "cavegen.h"
-#include "treegen.h"
#include "mg_biome.h"
#include "mg_ore.h"
#include "mg_decoration.h"
diff --git a/src/mapgen_fractal.cpp b/src/mapgen_fractal.cpp
index a6ed18ae7..d48d38b65 100644
--- a/src/mapgen_fractal.cpp
+++ b/src/mapgen_fractal.cpp
@@ -33,7 +33,6 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include "emerge.h"
#include "dungeongen.h"
#include "cavegen.h"
-#include "treegen.h"
#include "mg_biome.h"
#include "mg_ore.h"
#include "mg_decoration.h"
diff --git a/src/mapgen_v5.cpp b/src/mapgen_v5.cpp
index b983026e6..c7079d229 100644
--- a/src/mapgen_v5.cpp
+++ b/src/mapgen_v5.cpp
@@ -33,7 +33,6 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include "emerge.h"
#include "dungeongen.h"
#include "cavegen.h"
-#include "treegen.h"
#include "mg_biome.h"
#include "mg_ore.h"
#include "mg_decoration.h"
diff --git a/src/mapgen_v7.cpp b/src/mapgen_v7.cpp
index 760299fd6..c9b6b48e0 100644
--- a/src/mapgen_v7.cpp
+++ b/src/mapgen_v7.cpp
@@ -33,7 +33,6 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include "emerge.h"
#include "dungeongen.h"
#include "cavegen.h"
-#include "treegen.h"
#include "mg_biome.h"
#include "mg_ore.h"
#include "mg_decoration.h"
diff --git a/src/mapgen_valleys.cpp b/src/mapgen_valleys.cpp
index af29eb3bd..32a32eb88 100644
--- a/src/mapgen_valleys.cpp
+++ b/src/mapgen_valleys.cpp
@@ -37,7 +37,6 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include "settings.h" // For g_settings
#include "emerge.h"
#include "dungeongen.h"
-#include "treegen.h"
#include "mg_biome.h"
#include "mg_ore.h"
#include "mg_decoration.h"