block ui test

This commit is contained in:
MihailRis
2024-02-16 14:45:46 +03:00
parent 7e553efdec
commit af7c828d73
17 changed files with 84 additions and 30 deletions
+17
View File
@@ -0,0 +1,17 @@
#ifndef LOGIC_SCRIPTING_API_LIBHUD_H_
#define LOGIC_SCRIPTING_API_LIBHUD_H_
#include <lua.hpp>
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);
static const luaL_Reg hudlib [] = {
{"open_inventory", l_hud_open_inventory},
{"close_inventory", l_hud_close_inventory},
{"open_block", l_hud_open_block},
{NULL, NULL}
};
#endif // LOGIC_SCRIPTING_API_LIBHUD_H_