* Add Pig

This commit is contained in:
iProgramInCpp
2023-12-06 21:58:28 +02:00
parent 805087d36a
commit 3443349df0
19 changed files with 364 additions and 63 deletions

View File

@@ -41,6 +41,27 @@ enum eEntityRenderType
RENDER_FALLING_TILE = 50,
};
enum eEntityType
{
TYPE_UNSAVED,
TYPE_CHICKEN = 10,
TYPE_COW,
TYPE_PIG,
TYPE_SHEEP,
TYPE_ZOMBIE = 32,
TYPE_ITEM = 64,
};
enum eCreatureBaseType
{
BASE_NONE,
BASE_MONSTER,
BASE_ANIMAL,
};
struct EntityPos
{
Vec3 m_pos;
@@ -150,6 +171,8 @@ public:
virtual void burn(int);
virtual void lavaHurt();
virtual int queryEntityRenderer();
virtual int getCreatureBaseType();
virtual int getEntityTypeId();
virtual bool isLocalPlayer();