summaryrefslogtreecommitdiffstats
path: root/AnvilStats/AnvilStats.cpp
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-02-25 20:06:37 +0100
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-02-25 20:06:37 +0100
commit24d3d5dac40562f22a43eb9934c90165ace92a35 (patch)
tree43f641312f850d0123f0d86a6a685f4e5ac6ffc9 /AnvilStats/AnvilStats.cpp
parentMoved the Speed member into cEntity class instead of its descendants. (diff)
downloadcuberite-24d3d5dac40562f22a43eb9934c90165ace92a35.tar
cuberite-24d3d5dac40562f22a43eb9934c90165ace92a35.tar.gz
cuberite-24d3d5dac40562f22a43eb9934c90165ace92a35.tar.bz2
cuberite-24d3d5dac40562f22a43eb9934c90165ace92a35.tar.lz
cuberite-24d3d5dac40562f22a43eb9934c90165ace92a35.tar.xz
cuberite-24d3d5dac40562f22a43eb9934c90165ace92a35.tar.zst
cuberite-24d3d5dac40562f22a43eb9934c90165ace92a35.zip
Diffstat (limited to 'AnvilStats/AnvilStats.cpp')
-rw-r--r--AnvilStats/AnvilStats.cpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/AnvilStats/AnvilStats.cpp b/AnvilStats/AnvilStats.cpp
index a72548a5d..ef4d33ca5 100644
--- a/AnvilStats/AnvilStats.cpp
+++ b/AnvilStats/AnvilStats.cpp
@@ -8,6 +8,7 @@
#include "Statistics.h"
#include "BiomeMap.h"
#include "HeightMap.h"
+#include "ChunkExtract.h"
@@ -22,6 +23,7 @@ int main(int argc, char * argv[])
LOG(" 0 - statistics");
LOG(" 1 - biome map");
LOG(" 2 - height map");
+ LOG(" 3 - extract chunks");
LOG("\nNo method number present, aborting.");
return -1;
}
@@ -39,9 +41,10 @@ int main(int argc, char * argv[])
cCallbackFactory * Factory = NULL;
switch (atol(argv[1]))
{
- case 0: Factory = new cStatisticsFactory; break;
- case 1: Factory = new cBiomeMapFactory; break;
- case 2: Factory = new cHeightMapFactory; break;
+ case 0: Factory = new cStatisticsFactory; break;
+ case 1: Factory = new cBiomeMapFactory; break;
+ case 2: Factory = new cHeightMapFactory; break;
+ case 3: Factory = new cChunkExtractFactory(WorldFolder); break;
default:
{
LOG("Unknown method \"%s\", aborting.", argv[1]);