luaconsole.cpp has been removed. Ascii driver is still sending text via stdin, but it is now ignored. So in ascii mode, commands are currently not interpreted.
This commit is contained in:
@@ -164,10 +164,6 @@ SharedChannel DrivenEngine::get_stdio_channel() {
|
||||
return stdio_channel_;
|
||||
}
|
||||
|
||||
void DrivenEngine::set_console_prompt(const eng::string &prompt) {
|
||||
console_prompt_ = prompt;
|
||||
}
|
||||
|
||||
void DrivenEngine::set_visible_world_and_actor(World *w, int64_t id) {
|
||||
visible_world_ = w;
|
||||
visible_actor_id_ = id;
|
||||
@@ -369,11 +365,6 @@ bool DrivenEngine::drv_get_outgoing_empty(uint32_t chid) const {
|
||||
return (v.size() == 0);
|
||||
}
|
||||
|
||||
void DrivenEngine::drv_get_console_prompt(uint32_t *len, const char **data) const {
|
||||
*len = console_prompt_.size();
|
||||
*data = console_prompt_.c_str();
|
||||
}
|
||||
|
||||
double DrivenEngine::drv_get_clock() const {
|
||||
return clock_;
|
||||
}
|
||||
@@ -529,10 +520,6 @@ static bool drv_get_outgoing_empty(EngineWrapper *w, uint32_t chid) {
|
||||
return w->engine->drv_get_outgoing_empty(chid);
|
||||
}
|
||||
|
||||
static void drv_get_console_prompt(EngineWrapper *w, uint32_t *len, const char **data) {
|
||||
return w->engine->drv_get_console_prompt(len, data);
|
||||
}
|
||||
|
||||
static double drv_get_clock(EngineWrapper *w) {
|
||||
return w->engine->drv_get_clock();
|
||||
}
|
||||
@@ -916,7 +903,6 @@ static void init_engine_wrapper_helper(EngineWrapper *w) {
|
||||
w->get_channel_released = drv_get_channel_released;
|
||||
w->get_outgoing = drv_get_outgoing;
|
||||
w->get_outgoing_empty = drv_get_outgoing_empty;
|
||||
w->get_console_prompt = drv_get_console_prompt;
|
||||
w->get_clock = drv_get_clock;
|
||||
w->get_have_prints = drv_get_have_prints;
|
||||
w->get_rescan_lua_source = drv_get_rescan_lua_source;
|
||||
|
||||
Reference in New Issue
Block a user