mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
envs
This commit is contained in:
parent
ae83f4d264
commit
06bb45135e
2 changed files with 6 additions and 2 deletions
|
@ -21,6 +21,8 @@
|
||||||
#include "lua_api/l_vmanip.h"
|
#include "lua_api/l_vmanip.h"
|
||||||
#include "lua_api/l_settings.h"
|
#include "lua_api/l_settings.h"
|
||||||
#include "lua_api/l_ipc.h"
|
#include "lua_api/l_ipc.h"
|
||||||
|
#include "lua_api/l_rotation.h"
|
||||||
|
#include "lua_api/l_matrix4.h"
|
||||||
|
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#include <lualib.h>
|
#include <lualib.h>
|
||||||
|
@ -65,6 +67,8 @@ void EmergeScripting::InitializeModApi(lua_State *L, int top)
|
||||||
LuaPseudoRandom::Register(L);
|
LuaPseudoRandom::Register(L);
|
||||||
LuaPcgRandom::Register(L);
|
LuaPcgRandom::Register(L);
|
||||||
LuaSecureRandom::Register(L);
|
LuaSecureRandom::Register(L);
|
||||||
|
LuaRotation::Register(L);
|
||||||
|
LuaMatrix4::Register(L);
|
||||||
LuaVoxelManip::Register(L);
|
LuaVoxelManip::Register(L);
|
||||||
LuaSettings::Register(L);
|
LuaSettings::Register(L);
|
||||||
|
|
||||||
|
|
|
@ -140,11 +140,11 @@ void ServerScripting::InitializeModApi(lua_State *L, int top)
|
||||||
LuaValueNoiseMap::Register(L);
|
LuaValueNoiseMap::Register(L);
|
||||||
LuaPseudoRandom::Register(L);
|
LuaPseudoRandom::Register(L);
|
||||||
LuaPcgRandom::Register(L);
|
LuaPcgRandom::Register(L);
|
||||||
LuaRaycast::Register(L);
|
|
||||||
LuaSecureRandom::Register(L);
|
LuaSecureRandom::Register(L);
|
||||||
LuaVoxelManip::Register(L);
|
|
||||||
LuaRotation::Register(L);
|
LuaRotation::Register(L);
|
||||||
LuaMatrix4::Register(L);
|
LuaMatrix4::Register(L);
|
||||||
|
LuaRaycast::Register(L);
|
||||||
|
LuaVoxelManip::Register(L);
|
||||||
NodeMetaRef::Register(L);
|
NodeMetaRef::Register(L);
|
||||||
NodeTimerRef::Register(L);
|
NodeTimerRef::Register(L);
|
||||||
ObjectRef::Register(L);
|
ObjectRef::Register(L);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue