From 15f27a19378345c22b07e37ab324581d55ad9c5b Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Tue, 8 Feb 2011 10:11:26 +0200 Subject: made it to work with my windows compiler --- src/main.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/main.cpp') diff --git a/src/main.cpp b/src/main.cpp index 17d481cac..e1d8492fd 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -364,6 +364,7 @@ Doing now (most important at the top): #include "config.h" #include "guiMainMenu.h" #include "mineral.h" +#include "noise.h" IrrlichtWrapper *g_irrlicht; @@ -1545,12 +1546,20 @@ int main(int argc, char *argv[]) /* Run unit tests */ + if((ENABLE_TESTS && cmd_args.getFlag("disable-unittests") == false) || cmd_args.getFlag("enable-unittests") == true) { run_tests(); } + /*for(s16 y=-100; y<100; y++) + for(s16 x=-100; x<100; x++) + { + std::cout<