aboutsummaryrefslogtreecommitdiff
path: root/src/script/cpp_api/s_entity.h
Commit message (Expand)AuthorAge
* Expose collision information to LuaEntity on_stepsfan52020-04-27
* Move the clamping of hp/breath when their maximums change to read_object_prop...Beha2019-07-30
* Allow damage for attached objects, add attach/detach callbacks (#6786)SmallJoker2018-04-30
* C++ modernize: Pragma once (#6264)Loïc Blot2017-08-17
* Add LuaEntity on_death callback (#6177)Loïc Blot2017-07-27
* Make entity on_punch have same signature and behaviour as player on_punchsapier2017-01-28
* Fix class/struct forward declaration inconsistencies (good on ya, MSVC)Kahrl2013-06-06
* Move scriptapi to separate folder (by sapier)sapier2013-05-25
>}, {HUD_STAT_TEXT, "text"}, {HUD_STAT_NUMBER, "number"}, {HUD_STAT_ITEM, "item"}, {HUD_STAT_DIR, "direction"}, {HUD_STAT_ALIGN, "alignment"}, {HUD_STAT_OFFSET, "offset"}, {HUD_STAT_WORLD_POS, "world_pos"}, {0, NULL}, }; const struct EnumString es_HudBuiltinElement[] = { {HUD_FLAG_HOTBAR_VISIBLE, "hotbar"}, {HUD_FLAG_HEALTHBAR_VISIBLE, "healthbar"}, {HUD_FLAG_CROSSHAIR_VISIBLE, "crosshair"}, {HUD_FLAG_WIELDITEM_VISIBLE, "wielditem"}, {HUD_FLAG_BREATHBAR_VISIBLE, "breathbar"}, {HUD_FLAG_MINIMAP_VISIBLE, "minimap"}, {0, NULL}, };