Lots of work on documenting class LuaStack
This commit is contained in:
@@ -62,7 +62,7 @@ World::World(WorldType wt) {
|
||||
LS.settabletype(globtab, LUA_TT_GLOBALENV);
|
||||
|
||||
// Store the world type in the registry.
|
||||
LS.rawset(LuaRegistry, "worldtype", wt);
|
||||
LS.set_world_type(wt);
|
||||
|
||||
// Create the globaldb in the registry.
|
||||
LS.rawset(LuaRegistry, "globaldb", LuaNewTable);
|
||||
@@ -141,7 +141,7 @@ Tangible *World::tangible_get(const LuaCoreStack &LS, LuaSlot tab, bool allowdel
|
||||
}
|
||||
|
||||
Tangible *World::tangible_make(const LuaCoreStack &LS0, LuaSlot database, int64_t id) {
|
||||
assert(LS0.validpositiveint64(id));
|
||||
assert(LS0.validpositiveinteger(id));
|
||||
LuaVar metatab;
|
||||
LuaExtStack LS(LS0.state(), metatab);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user