Overhaul tangible_make to get rid of LuaOldStack
This commit is contained in:
@@ -129,11 +129,12 @@ public:
|
||||
|
||||
// Make a tangible.
|
||||
//
|
||||
// You must provide a valid previously-unused ID. If pushdb is true, pushes
|
||||
// the tangible's database onto the lua stack. Otherwise, leaves the lua
|
||||
// stack untouched.
|
||||
// You must provide a valid previously-unused ID. Otherwise, leaves the lua
|
||||
// stack untouched. Returns a pointer to the C++ part of the tangible, and
|
||||
// optionally stores the Lua part in a stack slot.
|
||||
//
|
||||
Tangible *tangible_make(lua_State *L, int64_t id, const eng::string &plane, bool pushdb);
|
||||
Tangible *tangible_make(const LuaCoreStack &LS0, LuaSlot tan, int64_t id, const eng::string &plane);
|
||||
Tangible *tangible_make(int64_t id, const eng::string &plane);
|
||||
|
||||
// Get a pointer to the specified tangible.
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user