diff options
author | red-001 <red-001@outlook.ie> | 2018-01-20 13:09:58 +0000 |
---|---|---|
committer | Loïc Blot <nerzhul@users.noreply.github.com> | 2018-01-20 14:09:58 +0100 |
commit | 9649e4721467dab348011633c814a63a184bd018 (patch) | |
tree | b5c381d8b597406aa21889a1c40c2689adaa39a9 /src/script/common/c_content.h | |
parent | d45e5da8ca808e552123bcd94e76b0b435a6ea79 (diff) | |
download | minetest-9649e4721467dab348011633c814a63a184bd018.tar.xz |
[CSM] Add basic HUD manipulation. (#6067)
* [CSM] Add basic HUD manipulation.
Workaround for on_connect not working right now.
Diffstat (limited to 'src/script/common/c_content.h')
-rw-r--r-- | src/script/common/c_content.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/script/common/c_content.h b/src/script/common/c_content.h index 80a96e327..d5c375a8f 100644 --- a/src/script/common/c_content.h +++ b/src/script/common/c_content.h @@ -39,6 +39,7 @@ extern "C" { #include "itemgroup.h" #include "itemdef.h" #include "c_types.h" +#include "hud.h" namespace Json { class Value; } @@ -181,4 +182,10 @@ void push_pointed_thing (lua_State *L, const PointedThing & void push_objectRef (lua_State *L, const u16 id); +void read_hud_element (lua_State *L, HudElement *elem); + +void push_hud_element (lua_State *L, HudElement *elem); + +HudElementStat read_hud_change (lua_State *L, HudElement *elem, void **value); + extern struct EnumString es_TileAnimationType[]; |