diff options
author | PilzAdam <pilzadam@minetest.net> | 2013-09-03 19:51:40 +0200 |
---|---|---|
committer | PilzAdam <pilzadam@minetest.net> | 2013-09-05 00:21:16 +0200 |
commit | 7860097eda449f0bb99971a037967bd338441133 (patch) | |
tree | bcc66bcb45cb8753f2d82c22973c9fc867774cfa /src/script/lua_api/l_object.h | |
parent | 5b518ed2feff28c9bf21ad940c1b211b72d71bd1 (diff) | |
download | minetest-7860097eda449f0bb99971a037967bd338441133.tar.gz minetest-7860097eda449f0bb99971a037967bd338441133.tar.bz2 minetest-7860097eda449f0bb99971a037967bd338441133.zip |
Use player:set_hotbar_image() instead of hardcoded hotbar.png
Diffstat (limited to 'src/script/lua_api/l_object.h')
-rw-r--r-- | src/script/lua_api/l_object.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/script/lua_api/l_object.h b/src/script/lua_api/l_object.h index b6f5cd06f..8fd6c8e71 100644 --- a/src/script/lua_api/l_object.h +++ b/src/script/lua_api/l_object.h @@ -215,6 +215,12 @@ private: // hud_set_hotbar_itemcount(self, hotbar_itemcount) static int l_hud_set_hotbar_itemcount(lua_State *L); + // hud_set_hotbar_image(self, name) + static int l_hud_set_hotbar_image(lua_State *L); + + // hud_set_hotbar_selected_image(self, name) + static int l_hud_set_hotbar_selected_image(lua_State *L); + public: ObjectRef(ServerActiveObject *object); |