1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

made it to work with my windows compiler

This commit is contained in:
Perttu Ahola 2011-02-08 10:11:26 +02:00
parent dd9e82f5bc
commit 15f27a1937
3 changed files with 24 additions and 6 deletions

View file

@ -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
*/