Remove the /menu and /choose commands from text console
This commit is contained in:
@@ -74,15 +74,6 @@ public:
|
||||
stdostream() << "Unknown command: " << name << std::endl;
|
||||
}
|
||||
|
||||
virtual void do_choose_command(int64_t n) override {
|
||||
eng::string action = gui_.get_action(n);
|
||||
if (action == "") {
|
||||
stdostream() << "Invalid menu item #" << std::endl;
|
||||
return;
|
||||
}
|
||||
master_->invoke(Invocation(Invocation::KIND_CHOOSE, admin_id_, gui_.place(), action));
|
||||
}
|
||||
|
||||
virtual void do_view_command() override {
|
||||
stdostream() << master_->tangibles_near_debug_string(admin_id_, 1000);
|
||||
}
|
||||
@@ -91,11 +82,6 @@ public:
|
||||
do_unknown_command("moveto");
|
||||
}
|
||||
|
||||
virtual void do_menu_command(int64_t tanid) override {
|
||||
master_->update_gui(admin_id_, (tanid == 0) ? admin_id_ : tanid, &gui_);
|
||||
stdostream() << gui_.menu_debug_string();
|
||||
}
|
||||
|
||||
virtual void do_quit_command() override {
|
||||
stop_driver();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user