Mapgen: Remove '#include treegen.h' from non-mgv6 mapgens
authorparamat <mat.gregory@virginmedia.com>
Tue, 4 Apr 2017 05:37:21 +0000 (06:37 +0100)
committerparamat <mat.gregory@virginmedia.com>
Wed, 5 Apr 2017 06:30:00 +0000 (07:30 +0100)
Only mgv6 uses the tree functions from treegen.cpp.

src/mapgen_flat.cpp
src/mapgen_fractal.cpp
src/mapgen_v5.cpp
src/mapgen_v7.cpp
src/mapgen_valleys.cpp

index cc120b58089b05e2f4b5a10d79d3660b244a9784..3c6a112e226261142ef4b215a528871626e49317 100644 (file)
@@ -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"
index a6ed18ae75412adf9d88194099fd73d22b996ee2..d48d38b651f70a22d45dd917372ad569c4082927 100644 (file)
@@ -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"
index b983026e6d47141f63ce8ce8ed95f9d41d2b2785..c7079d2290e8e5f47cd97b33a77f9db5b5c807cd 100644 (file)
@@ -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"
index 760299fd6f0e7f7a86cbd41f25886afdfccbb466..c9b6b48e097d3f8a045374bbf282e67c5a6c03ad 100644 (file)
@@ -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"
index af29eb3bd27e39559236db71b48cf4609553f255..32a32eb88fd16e57819d6afd59e3d415cec66810 100644 (file)
@@ -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"