aboutsummaryrefslogtreecommitdiff
path: root/src/irr_v2d.h
diff options
context:
space:
mode:
authorRealBadAngel <mk@realbadangel.pl>2013-04-11 03:36:38 +0200
committerkwolekr <kwolekr@minetest.net>2013-04-10 22:33:59 -0400
commite7f5cdf9d4cbe17a2a42015e072a791659b3886b (patch)
treef94bd685c3cc4e5ccd89893e5387dae17df9e998 /src/irr_v2d.h
parentdda2071cc083db2770044db85174a8629a7598b7 (diff)
Bugfixes to get_craft_recipe and get_all_craft_recipes.
Improvements to get_all_craft_recipes (see api doc)
Diffstat (limited to 'src/irr_v2d.h')
0 files changed, 0 insertions, 0 deletions
"hl ppc">#pragma once #include "cpp_api/s_base.h" #include "irr_v3d.h" struct ObjectProperties; struct ToolCapabilities; struct collisionMoveResult; class ScriptApiEntity : virtual public ScriptApiBase { public: bool luaentity_Add(u16 id, const char *name); void luaentity_Activate(u16 id, const std::string &staticdata, u32 dtime_s); void luaentity_Remove(u16 id); std::string luaentity_GetStaticdata(u16 id); void luaentity_GetProperties(u16 id, ServerActiveObject *self, ObjectProperties *prop); void luaentity_Step(u16 id, float dtime, const collisionMoveResult *moveresult); bool luaentity_Punch(u16 id, ServerActiveObject *puncher, float time_from_last_punch, const ToolCapabilities *toolcap, v3f dir, s16 damage); bool luaentity_on_death(u16 id, ServerActiveObject *killer); void luaentity_Rightclick(u16 id, ServerActiveObject *clicker); void luaentity_on_attach_child(u16 id, ServerActiveObject *child); void luaentity_on_detach_child(u16 id, ServerActiveObject *child); void luaentity_on_detach(u16 id, ServerActiveObject *parent); private: bool luaentity_run_simple_callback(u16 id, ServerActiveObject *sao, const char *field); };