diff options
author | Perttu Ahola <celeron55@gmail.com> | 2012-03-05 01:30:55 +0200 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2012-03-10 11:28:13 +0200 |
commit | 501b8fe743c56ad07c5fd8bdd4bfffa13fcb3c4d (patch) | |
tree | 77400d94bc48a74cb34d6934e4f3d09ef1a49881 /src/clientobject.h | |
parent | e9cdb938fe44282e09fb88628a6e86e5e7279c69 (diff) | |
download | minetest-501b8fe743c56ad07c5fd8bdd4bfffa13fcb3c4d.tar.gz minetest-501b8fe743c56ad07c5fd8bdd4bfffa13fcb3c4d.tar.bz2 minetest-501b8fe743c56ad07c5fd8bdd4bfffa13fcb3c4d.zip |
Damage groups WIP
Diffstat (limited to 'src/clientobject.h')
-rw-r--r-- | src/clientobject.h | 5 |
1 files changed, 4 insertions, 1 deletions
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: |