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

@@ -145,15 +145,6 @@ public:
stdostream() << "Unknown command: " << name << std::endl;
}
virtual void do_choose_command(int64_t index) override {
eng::string action = gui_.get_action(index);
if (action == "") {
stdostream() << "Invalid menu item #" << index << std::endl;
return;
}
send_invocation(Invocation(Invocation::KIND_CHOOSE, actor_id_, gui_.place(), action));
}
virtual void do_view_command() override {
stdostream() << world_->tangibles_near_debug_string(actor_id_, 1000);
}
@@ -162,12 +153,6 @@ public:
do_unknown_command("moveto");
}
virtual void do_menu_command(int64_t tanid) override {
world_to_asynchronous();
world_->update_gui(actor_id_, (tanid==0) ? actor_id_ : tanid, &gui_);
stdostream() << gui_.menu_debug_string();
}
virtual void do_quit_command() override {
abandon_server();
stop_driver();