2012-09-28 16:17:29 -04:00
|
|
|
|
|
|
|
// Utils.h
|
|
|
|
|
|
|
|
// Interfaces to utility functions
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-09-29 09:33:45 -04:00
|
|
|
#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,
|
|
|
|
} ;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-09-28 16:17:29 -04:00
|
|
|
extern const char * GetBiomeString(unsigned char a_Biome);
|
|
|
|
extern const char * GetBlockTypeString(unsigned char a_BlockType);
|
2012-09-29 09:33:45 -04:00
|
|
|
extern eEntityType GetEntityType(const AString & a_EntityTypeString);
|
|
|
|
extern const char * GetEntityTypeString(eEntityType a_EntityType);
|
2012-09-28 16:17:29 -04:00
|
|
|
extern int GetNumCores(void);
|
|
|
|
|
|
|
|
|
|
|
|
|