voxelcore/src/logic/scripting/lua/libhud.h
2024-02-17 02:57:42 +03:00

19 lines
577 B
C

#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);
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}
};
#endif // LOGIC_SCRIPTING_API_LIBHUD_H_