summaryrefslogtreecommitdiffstats
path: root/AnvilStats/AnvilStats.cpp
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-09-29 21:01:05 +0200
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-09-29 21:01:05 +0200
commit6eee04b1f98584afbbff4941aa311f43ff7cdece (patch)
treeef3909794bb1d7de225091384474cef76387f8e1 /AnvilStats/AnvilStats.cpp
parentFixed axe crafting (cannot use asterisk) (diff)
downloadcuberite-6eee04b1f98584afbbff4941aa311f43ff7cdece.tar
cuberite-6eee04b1f98584afbbff4941aa311f43ff7cdece.tar.gz
cuberite-6eee04b1f98584afbbff4941aa311f43ff7cdece.tar.bz2
cuberite-6eee04b1f98584afbbff4941aa311f43ff7cdece.tar.lz
cuberite-6eee04b1f98584afbbff4941aa311f43ff7cdece.tar.xz
cuberite-6eee04b1f98584afbbff4941aa311f43ff7cdece.tar.zst
cuberite-6eee04b1f98584afbbff4941aa311f43ff7cdece.zip
Diffstat (limited to '')
-rw-r--r--AnvilStats/AnvilStats.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/AnvilStats/AnvilStats.cpp b/AnvilStats/AnvilStats.cpp
index 1682f76f0..7a7c34f98 100644
--- a/AnvilStats/AnvilStats.cpp
+++ b/AnvilStats/AnvilStats.cpp
@@ -4,8 +4,9 @@
// Implements the main app entrypoint
#include "Globals.h"
-#include "Statistics.h"
#include "Processor.h"
+#include "Statistics.h"
+#include "BiomeMap.h"
@@ -16,6 +17,9 @@ int main(int argc, char * argv[])
if (argc < 2)
{
LOG("Usage: %s <method number> [<world folder>]", argv[0]);
+ LOG("Available methods:");
+ LOG(" 0 - statistics");
+ LOG(" 1 - biome map");
LOG("\nNo method number present, aborting.");
return -1;
}
@@ -34,6 +38,7 @@ int main(int argc, char * argv[])
switch (atol(argv[1]))
{
case 0: Factory = new cStatisticsFactory; break;
+ case 1: Factory = new cBiomeMapFactory; break;
default:
{
LOG("Unknown method \"%s\", aborting.", argv[1]);