1
0

AnvilStats: Added module for counting water and lava springs.

git-svn-id: http://mc-server.googlecode.com/svn/trunk@1267 0a769ca7-a7f5-676a-18bf-c427514a06d6
This commit is contained in:
madmaxoft@gmail.com
2013-03-12 11:25:19 +00:00
parent d2573b84dd
commit cf3f09e9c1
5 changed files with 393 additions and 1 deletions

View File

@@ -9,6 +9,7 @@
#include "BiomeMap.h"
#include "HeightMap.h"
#include "ChunkExtract.h"
#include "SpringStats.h"
@@ -24,6 +25,7 @@ int main(int argc, char * argv[])
LOG(" 1 - biome map");
LOG(" 2 - height map");
LOG(" 3 - extract chunks");
LOG(" 4 - count lava- and water- springs");
LOG("\nNo method number present, aborting.");
return -1;
}
@@ -45,6 +47,7 @@ int main(int argc, char * argv[])
case 1: Factory = new cBiomeMapFactory; break;
case 2: Factory = new cHeightMapFactory; break;
case 3: Factory = new cChunkExtractFactory(WorldFolder); break;
case 4: Factory = new cSpringStatsFactory; break;
default:
{
LOG("Unknown method \"%s\", aborting.", argv[1]);