mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-09 21:11:50 +00:00
lua content pack environments test
This commit is contained in:
parent
fce77bc896
commit
6fc312b651
11 changed files with 131 additions and 44 deletions
|
|
@ -31,6 +31,12 @@ namespace lua {
|
|||
int pushinteger(luaint x);
|
||||
int pushnumber(luanumber x);
|
||||
int pushstring(const std::string& str);
|
||||
int pushenv(int env);
|
||||
int pushnil();
|
||||
int pushglobals();
|
||||
void pop(int n=1);
|
||||
bool getfield(const std::string& name);
|
||||
void setfield(const std::string& name, int idx=-2);
|
||||
bool toboolean(int index);
|
||||
luaint tointeger(int index);
|
||||
int call(int argc);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue