summaryrefslogtreecommitdiffstats
path: root/AnvilStats/Utils.h
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-09-29 15:33:45 +0200
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-09-29 15:33:45 +0200
commitcead22a206617207d8f757b57e064eea39d0b2f2 (patch)
tree0260f222fbd1c2f89201653ead9735318c8a552e /AnvilStats/Utils.h
parentAnvilStats: Fixed biome format string (diff)
downloadcuberite-cead22a206617207d8f757b57e064eea39d0b2f2.tar
cuberite-cead22a206617207d8f757b57e064eea39d0b2f2.tar.gz
cuberite-cead22a206617207d8f757b57e064eea39d0b2f2.tar.bz2
cuberite-cead22a206617207d8f757b57e064eea39d0b2f2.tar.lz
cuberite-cead22a206617207d8f757b57e064eea39d0b2f2.tar.xz
cuberite-cead22a206617207d8f757b57e064eea39d0b2f2.tar.zst
cuberite-cead22a206617207d8f757b57e064eea39d0b2f2.zip
Diffstat (limited to '')
-rw-r--r--AnvilStats/Utils.h46
1 files changed, 46 insertions, 0 deletions
diff --git a/AnvilStats/Utils.h b/AnvilStats/Utils.h
index c22a9ab58..095abc99e 100644
--- a/AnvilStats/Utils.h
+++ b/AnvilStats/Utils.h
@@ -7,8 +7,54 @@
+#pragma once
+
+
+
+
+
+enum eEntityType
+{
+ entBat,
+ entBlaze,
+ entCaveSpider,
+ entChicken,
+ entCow,
+ entCreeper,
+ entEnderDragon,
+ entEnderman,
+ entGhast,
+ entGiant,
+ entLavaSlime,
+ entMushroomCow,
+ entOzelot,
+ entPig,
+ entPigZombie,
+ entSheep,
+ entSilverfish,
+ entSkeleton,
+ entSlime,
+ entSnowMan,
+ entSpider,
+ entSquid,
+ entVillager,
+ entVillagerGolem,
+ entWitch,
+ entWitherBoss,
+ entWolf,
+ entZombie,
+ entUnknown,
+ entMax = entUnknown,
+} ;
+
+
+
+
+
extern const char * GetBiomeString(unsigned char a_Biome);
extern const char * GetBlockTypeString(unsigned char a_BlockType);
+extern eEntityType GetEntityType(const AString & a_EntityTypeString);
+extern const char * GetEntityTypeString(eEntityType a_EntityType);
extern int GetNumCores(void);