summaryrefslogtreecommitdiffstats
path: root/source/cMonster.h
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-06-06 22:18:50 +0200
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-06-06 22:18:50 +0200
commit1cca9b13b3d320ff767cfc552413265b2ef6e0d6 (patch)
treec1227f3f4141dbf2f85767a65cb9d2102a9d4010 /source/cMonster.h
parentBlockIDs, ItemIDs and Metas updated, courtesy of Taugeshtu (diff)
downloadcuberite-1cca9b13b3d320ff767cfc552413265b2ef6e0d6.tar
cuberite-1cca9b13b3d320ff767cfc552413265b2ef6e0d6.tar.gz
cuberite-1cca9b13b3d320ff767cfc552413265b2ef6e0d6.tar.bz2
cuberite-1cca9b13b3d320ff767cfc552413265b2ef6e0d6.tar.lz
cuberite-1cca9b13b3d320ff767cfc552413265b2ef6e0d6.tar.xz
cuberite-1cca9b13b3d320ff767cfc552413265b2ef6e0d6.tar.zst
cuberite-1cca9b13b3d320ff767cfc552413265b2ef6e0d6.zip
Diffstat (limited to 'source/cMonster.h')
-rw-r--r--source/cMonster.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/source/cMonster.h b/source/cMonster.h
index 4a292d193..b1e237d80 100644
--- a/source/cMonster.h
+++ b/source/cMonster.h
@@ -5,6 +5,8 @@
#include "Defines.h"
#include "cWorld.h"
#include "BlockID.h"
+#include "cItem.h"
+#include "BlockID.h"
@@ -91,7 +93,9 @@ protected:
float m_AttackRange;
float m_AttackInterval;
- void DropItem(ENUM_ITEM_ID a_Item, unsigned int a_Count);
- void RandomDropItem(ENUM_ITEM_ID a_Item, unsigned int a_Min, unsigned int a_Max);
-
+ void AddRandomDropItem(cItems & a_Drops, unsigned int a_Min, unsigned int a_Max, ENUM_ITEM_ID a_Item, short a_ItemHealth = 0);
}; //tolua_export
+
+
+
+