mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-21 18:11:11 +00:00
Add Settings interface for Lua
This commit is contained in:
parent
10a38a3005
commit
d820a6bfd8
9 changed files with 331 additions and 0 deletions
|
@ -35,6 +35,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
|||
#include "lua_api/l_server.h"
|
||||
#include "lua_api/l_util.h"
|
||||
#include "lua_api/l_vmanip.h"
|
||||
#include "lua_api/l_settings.h"
|
||||
|
||||
extern "C" {
|
||||
#include "lualib.h"
|
||||
|
@ -96,4 +97,5 @@ void GameScripting::InitializeModApi(lua_State *L, int top)
|
|||
NodeMetaRef::Register(L);
|
||||
NodeTimerRef::Register(L);
|
||||
ObjectRef::Register(L);
|
||||
LuaSettings::Register(L);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue