From 501b8fe743c56ad07c5fd8bdd4bfffa13fcb3c4d Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Mon, 5 Mar 2012 01:30:55 +0200 Subject: Damage groups WIP --- src/clientobject.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/clientobject.h') diff --git a/src/clientobject.h b/src/clientobject.h index 2e1b850c7..946858404 100644 --- a/src/clientobject.h +++ b/src/clientobject.h @@ -38,6 +38,8 @@ Some planning class ClientEnvironment; class ITextureSource; class IGameDef; +class LocalPlayer; +struct ItemStack; class ClientActiveObject : public ActiveObject { @@ -75,7 +77,8 @@ public: ClientEnvironment *env); // If returns true, punch will not be sent to the server - virtual bool directReportPunch(const std::string &toolname, v3f dir) + virtual bool directReportPunch(v3f dir, const ItemStack *punchitem=NULL, + float time_from_last_punch=1000000) { return false; } protected: -- cgit v1.2.3