diff options
author | Perttu Ahola <celeron55@gmail.com> | 2012-03-04 21:08:03 +0200 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2012-03-10 11:28:13 +0200 |
commit | e9cdb938fe44282e09fb88628a6e86e5e7279c69 (patch) | |
tree | d4c017082a8de4e9fc008d8b402b2efb0f6abc48 /src/scriptapi.h | |
parent | f1cb91cd931bed056bdbe37938d141e2ea068b89 (diff) | |
download | minetest-e9cdb938fe44282e09fb88628a6e86e5e7279c69.tar.xz |
Entity damage system WIP; Remove C++ mobs
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); |