9#include <unordered_set>
21 const std::string &staticdata, u32 dtime_s);
static v2f dir(const v2f &pos_dist)
Definition camera.cpp:191
void luaentity_on_detach_child(u16 id, ServerActiveObject *child)
Definition s_entity.cpp:330
bool luaentity_run_simple_callback(u16 id, ServerActiveObject *sao, const char *field)
Definition s_entity.cpp:282
void luaentity_Rightclick(u16 id, ServerActiveObject *clicker)
Definition s_entity.cpp:320
bool luaentity_Add(u16 id, const char *name)
Definition s_entity.cpp:13
std::unordered_set< std::string > deprecation_warned_init_properties
Stores names of entities that already caused a deprecation warning due to properties being outside of...
Definition s_entity.h:46
void luaentity_on_detach(u16 id, ServerActiveObject *parent)
Definition s_entity.cpp:335
std::string luaentity_GetStaticdata(u16 id)
Definition s_entity.cpp:127
void luaentity_Activate(u16 id, const std::string &staticdata, u32 dtime_s)
Definition s_entity.cpp:58
void luaentity_Deactivate(u16 id, bool removal)
Definition s_entity.cpp:85
bool luaentity_on_death(u16 id, ServerActiveObject *killer)
Definition s_entity.cpp:314
void luaentity_on_attach_child(u16 id, ServerActiveObject *child)
Definition s_entity.cpp:325
bool luaentity_Punch(u16 id, ServerActiveObject *puncher, float time_from_last_punch, const ToolCapabilities *toolcap, v3f dir, s32 damage)
Definition s_entity.cpp:244
void luaentity_GetProperties(u16 id, ServerActiveObject *self, ObjectProperties *prop, const std::string &entity_name)
Definition s_entity.cpp:189
void luaentity_Remove(u16 id)
Definition s_entity.cpp:109
void luaentity_Step(u16 id, float dtime, const collisionMoveResult *moveresult)
Definition s_entity.cpp:210
void logDeprecationForExistingProperties(lua_State *L, int index, const std::string &name)
Definition s_entity.cpp:158
Definition serveractiveobject.h:41
core::vector3df v3f
Definition irr_v3d.h:11
Definition object_properties.h:15
Definition collision.h:44