diff options
Diffstat (limited to 'src/scriptapi.h')
-rw-r--r-- | src/scriptapi.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/scriptapi.h b/src/scriptapi.h index df8ae344e..aa2d9d4c7 100644 --- a/src/scriptapi.h +++ b/src/scriptapi.h @@ -33,6 +33,7 @@ struct LuaEntityProperties; struct ItemStack; struct PointedThing; //class IGameDef; +struct ToolCapabilities; void scriptapi_export(lua_State *L, Server *server); bool scriptapi_loadmod(lua_State *L, const std::string &scriptpath, @@ -82,7 +83,8 @@ void scriptapi_luaentity_get_properties(lua_State *L, u16 id, LuaEntityProperties *prop); void scriptapi_luaentity_step(lua_State *L, u16 id, float dtime); void scriptapi_luaentity_punch(lua_State *L, u16 id, - ServerActiveObject *puncher, float time_from_last_punch); + ServerActiveObject *puncher, float time_from_last_punch, + const ToolCapabilities *toolcap, v3f dir); void scriptapi_luaentity_rightclick(lua_State *L, u16 id, ServerActiveObject *clicker); |