mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-07 12:01:50 +00:00
ui: more xml support + hud.close function
This commit is contained in:
parent
e58624d3e8
commit
d8b3920d65
5 changed files with 50 additions and 2 deletions
|
|
@ -7,12 +7,14 @@ extern int l_hud_open_inventory(lua_State* L);
|
|||
extern int l_hud_close_inventory(lua_State* L);
|
||||
extern int l_hud_open_block(lua_State* L);
|
||||
extern int l_hud_open_permanent(lua_State* L);
|
||||
extern int l_hud_close(lua_State* L);
|
||||
|
||||
static const luaL_Reg hudlib [] = {
|
||||
{"open_inventory", l_hud_open_inventory},
|
||||
{"close_inventory", l_hud_close_inventory},
|
||||
{"open_block", l_hud_open_block},
|
||||
{"open_permanent", l_hud_open_permanent},
|
||||
{"close", l_hud_close},
|
||||
{NULL, NULL}
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue