Changed how userdata is handled
This commit is contained in:
@@ -125,14 +125,15 @@ public:
|
||||
//
|
||||
// Eventually we'll add another parameter for gui-state.
|
||||
//
|
||||
void invoke_plan(int64_t actor_id, int64_t place_id, const std::string &action);
|
||||
void invoke_plan(int64_t actor_id, int64_t place_id, const std::string &action, const GuiResult &gres);
|
||||
|
||||
// fetch
|
||||
//
|
||||
// Given a lua state, fetch the world model associated with
|
||||
// that lua state.
|
||||
//
|
||||
static World *fetch(lua_State *L);
|
||||
static void store_global_pointer(lua_State *L, World *w);
|
||||
static World *fetch_global_pointer(lua_State *L);
|
||||
|
||||
// Snapshot and rollback - temporary.
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user