From 1cca9b13b3d320ff767cfc552413265b2ef6e0d6 Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Wed, 6 Jun 2012 20:18:50 +0000 Subject: Item-dropping code rewritten and centralized - now there's only one place to modify if we want to split or merge same-item drops: cWorld:SpawnItemPickups(). Also, mined blocks can now drop more items, and they recognize if they're being mined by the correct tool. git-svn-id: http://mc-server.googlecode.com/svn/trunk@561 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/cSheep.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'source/cSheep.h') diff --git a/source/cSheep.h b/source/cSheep.h index 170ea93fc..9faa25592 100644 --- a/source/cSheep.h +++ b/source/cSheep.h @@ -7,8 +7,11 @@ class cSheep : public cPassiveMonster public: cSheep(); ~cSheep(); + + bool m_IsSheared; + NIBBLETYPE m_WoolColor; // Uses E_META_WOOL_ constants for colors - virtual bool IsA( const char* a_EntityType ); + virtual bool IsA(const char * a_EntityType); - virtual void KilledBy( cEntity* a_Killer ); + virtual void KilledBy(cEntity * a_Killer); }; -- cgit v1.2.3