]> git.lizzy.rs Git - dragonfireclient.git/blobdiff - src/script/cpp_api/s_entity.h
Cleanup various headers to reduce compilation times (#6255)
[dragonfireclient.git] / src / script / cpp_api / s_entity.h
index 8df9d7f0014e8f422a5949dafc97806eb4f86536..07b06edff5c1eae36ad8c5075317f5977adbd3f8 100644 (file)
@@ -38,9 +38,10 @@ class ScriptApiEntity
        void luaentity_GetProperties(u16 id,
                        ObjectProperties *prop);
        void luaentity_Step(u16 id, float dtime);
-       void luaentity_Punch(u16 id,
+       bool luaentity_Punch(u16 id,
                        ServerActiveObject *puncher, float time_from_last_punch,
-                       const ToolCapabilities *toolcap, v3f dir);
+                       const ToolCapabilities *toolcap, v3f dir, s16 damage);
+       bool luaentity_on_death(u16 id, ServerActiveObject *killer);
        void luaentity_Rightclick(u16 id,
                        ServerActiveObject *clicker);
 };