8f18510dec
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1658 0a769ca7-a7f5-676a-18bf-c427514a06d6
62 lines
853 B
C
62 lines
853 B
C
|
|
// Utils.h
|
|
|
|
// Interfaces to utility functions
|
|
|
|
|
|
|
|
|
|
|
|
#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);
|
|
|
|
|
|
|