X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=src%2Fscript%2Fcpp_api%2Fs_entity.h;h=173e24c3082e53886c54d847bb3e372371ae98ae;hb=ef979ee2e9b3109e2b5348014e7ae4b3efdd666c;hp=4e2a056bbb4cc10a001c943ca387216dd4549bda;hpb=814ee971f70a8ef1fa4a470bcf385300686e9e70;p=dragonfireclient.git diff --git a/src/script/cpp_api/s_entity.h b/src/script/cpp_api/s_entity.h index 4e2a056bb..173e24c30 100644 --- a/src/script/cpp_api/s_entity.h +++ b/src/script/cpp_api/s_entity.h @@ -17,8 +17,7 @@ with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#ifndef S_ENTITY_H_ -#define S_ENTITY_H_ +#pragma once #include "cpp_api/s_base.h" #include "irr_v3d.h" @@ -41,10 +40,7 @@ class ScriptApiEntity 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); }; - - - -#endif /* S_ENTITY_H_ */