lua: added hud.open_permanent(layoutid)

This commit is contained in:
MihailRis
2024-02-17 02:57:42 +03:00
parent 4e126e25cf
commit e58624d3e8
4 changed files with 52 additions and 4 deletions
+2
View File
@@ -6,11 +6,13 @@
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);
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},
{NULL, NULL}
};