… | |
… | |
500 | $::FLOORBOX->add (1, $row, $_->{desc_widget}); |
500 | $::FLOORBOX->add (1, $row, $_->{desc_widget}); |
501 | |
501 | |
502 | $row++; |
502 | $row++; |
503 | } else { |
503 | } else { |
504 | $::FLOORBOX->add (1, $row, new CFClient::UI::Button |
504 | $::FLOORBOX->add (1, $row, new CFClient::UI::Button |
505 | text => "More...", |
505 | text => "More...", |
506 | on_activate => sub { $::INV_WINDOW->toggle_visibility }, |
506 | on_activate => sub { $::INV_WINDOW->toggle_visibility }, |
507 | ); |
507 | ); |
508 | last; |
508 | last; |
509 | } |
509 | } |
510 | } |
510 | } |
… | |
… | |
639 | $self->send_command ("pickup $::CFG->{pickup}"); |
639 | $self->send_command ("pickup $::CFG->{pickup}"); |
640 | |
640 | |
641 | my @yesno = ("<span foreground='red'>no</span>", "<span foreground='green'>yes</span>"); |
641 | my @yesno = ("<span foreground='red'>no</span>", "<span foreground='green'>yes</span>"); |
642 | |
642 | |
643 | $::SERVER_INFO->set_markup ( |
643 | $::SERVER_INFO->set_markup ( |
644 | "server name:port <tt>$self->{host}:$self->{port}</tt>\n" |
644 | "server <tt>$self->{host}:$self->{port}</tt>\n" |
645 | . "protocol version <tt>$self->{version}</tt>\n" |
645 | . "protocol version <tt>$self->{version}</tt>\n" |
646 | . "mapinfo support $yesno[$self->{setup}{mapinfocmd} > 0]\n" |
646 | . "minimap support $yesno[$self->{setup}{mapinfocmd} > 0]\n" |
647 | . "extcmd support $yesno[$self->{setup}{extcmd} > 0]\n" |
647 | . "extended command support $yesno[$self->{setup}{extcmd} > 0]\n" |
648 | . "cfplus support $yesno[$self->{cfplus_ext} > 0]\n" |
648 | . "cfplus support $yesno[$self->{cfplus_ext} > 0]\n" |
|
|
649 | . "map size $self->{mapw}×$self->{maph}\n" |
649 | ); |
650 | ); |
650 | } |
651 | } |
651 | |
652 | |
652 | 1; |
653 | 1; |