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/cItem.h | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'source/cItem.h') diff --git a/source/cItem.h b/source/cItem.h index a0832ef03..4311cc3f0 100644 --- a/source/cItem.h +++ b/source/cItem.h @@ -8,6 +8,10 @@ namespace Json class Value; }; + + + + class cItem //tolua_export { //tolua_export public: @@ -94,4 +98,10 @@ public: char m_ItemCount; //tolua_export short m_ItemHealth; //tolua_export -}; //tolua_export \ No newline at end of file +}; //tolua_export + +typedef std::vector cItems; + + + + -- cgit v1.2.3