summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2011-02-08 10:11:26 +0200
committerPerttu Ahola <celeron55@gmail.com>2011-02-08 10:11:26 +0200
commit15f27a19378345c22b07e37ab324581d55ad9c5b (patch)
tree304d8b0568ca6503dcde795fedaf6ad193cc48a8 /src/main.cpp
parentdd9e82f5bc2982abab436afdd68df799c6fdd857 (diff)
downloadminetest-15f27a19378345c22b07e37ab324581d55ad9c5b.tar.gz
minetest-15f27a19378345c22b07e37ab324581d55ad9c5b.tar.bz2
minetest-15f27a19378345c22b07e37ab324581d55ad9c5b.zip
made it to work with my windows compiler
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp9
1 files changed, 9 insertions, 0 deletions
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<<noise2d_gradient((double)x/10,(double)y/10, 32415)<<std::endl;
+ }
+ return 0;*/
+
/*
Some parameters
*/