Remove the /menu and /choose commands from text console

This commit is contained in:
2024-08-09 12:44:58 -04:00
parent 0e43ca6568
commit a048d8eabc
4 changed files with 0 additions and 49 deletions

View File

@@ -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();
}