From c6b4ee8c9fb597b6f87f4cb756f43d5548ab2d66 Mon Sep 17 00:00:00 2001 From: "lapayo94@gmail.com" Date: Wed, 28 Dec 2011 21:00:35 +0000 Subject: - implemented the fire simulation in native c++ (cFireSimulator) - Changed the Durationsystem for Items. cPlayer::UseEquippedItem calls cItem::DamageItem this function damages the item if it has a duration. (needed the duration also in another place so this saves code ;)) - added some other burning blocks - the mobtypes for the settings.ini which i must have forgotten in the last commit git-svn-id: http://mc-server.googlecode.com/svn/trunk@150 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/cPlayer.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source/cPlayer.h') diff --git a/source/cPlayer.h b/source/cPlayer.h index b0d446434..9f7535d7c 100644 --- a/source/cPlayer.h +++ b/source/cPlayer.h @@ -81,6 +81,8 @@ public: bool LoadFromDisk(); const char* GetLoadedWorldName(); + + void UseEquippedItem(); protected: -- cgit v1.2.3