From 5d18dc358b7f890f837e63ba717cfa9f2ac9e0af Mon Sep 17 00:00:00 2001 From: dannydark Date: Sun, 30 Dec 2012 12:22:13 +0000 Subject: [PATCH] Fixed compile issues on windows With latest upstream L-Systems treegen. --- src/treegen.cpp | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/src/treegen.cpp b/src/treegen.cpp index 3354f97a2..54cee0fef 100644 --- a/src/treegen.cpp +++ b/src/treegen.cpp @@ -17,8 +17,10 @@ with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#include +#include "irr_v3d.h" #include +#include "util/numeric.h" +#include "util/mathconstants.h" #include "noise.h" #include "map.h" #include "environment.h" @@ -281,7 +283,7 @@ void make_ltree(ManualMapVoxelManipulator &vmanip, v3s16 p0, INodeDefManager *nd for(x=-size; x