tangible.start is functional

This commit is contained in:
2022-05-16 14:21:09 -04:00
parent 9cf04a7741
commit cbb074011d
2 changed files with 126 additions and 0 deletions

View File

@@ -299,6 +299,9 @@ private:
//
static void store_global_pointer(lua_State *L, World *w);
// Start a thread on the specified tangible.
void tangible_start(Tangible *actor, Tangible *place, LuaStack &LS, LuaSlot func, int argpos, int nargs);
// Invoke a plan.
//
void invoke_plan(int64_t actor_id, int64_t place_id, const eng::string &action, const InvocationData &data);
@@ -543,6 +546,7 @@ private:
friend int lfn_tangible_nopredict(lua_State *L);
friend int lfn_tangible_near(lua_State *L);
friend int lfn_tangible_scan(lua_State *L);
friend int lfn_tangible_start(lua_State *L);
friend int lfn_math_random(lua_State *L);
friend int lfn_math_randomstate(lua_State *L);
friend int lfn_wait(lua_State *L);