From 1eca9ecf7d42efde5eec13caeb6e9ad5080ebb35 Mon Sep 17 00:00:00 2001 From: paramat Date: Tue, 4 Apr 2017 06:37:21 +0100 Subject: Mapgen: Remove '#include treegen.h' from non-mgv6 mapgens Only mgv6 uses the tree functions from treegen.cpp. --- src/mapgen_flat.cpp | 1 - src/mapgen_fractal.cpp | 1 - src/mapgen_v5.cpp | 1 - src/mapgen_v7.cpp | 1 - src/mapgen_valleys.cpp | 1 - 5 files changed, 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" -- cgit v1.2.3