mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
Voxel changed from 16 bit to 32 bit + new lua functions
This commit is contained in:
parent
460b08a006
commit
06f66ffd71
10 changed files with 229 additions and 36 deletions
|
|
@ -53,8 +53,14 @@ void scripting::initialize(EnginePaths* paths) {
|
|||
if (L == nullptr) {
|
||||
throw std::runtime_error("could not to initialize Lua");
|
||||
}
|
||||
|
||||
// Allowed standard libraries
|
||||
luaopen_base(L);
|
||||
luaopen_math(L);
|
||||
luaopen_string(L);
|
||||
luaopen_table(L);
|
||||
|
||||
// io-manipulations will be implemented via api functions
|
||||
|
||||
std::cout << LUA_VERSION << std::endl;
|
||||
# ifdef LUAJIT_VERSION
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue