… | |
… | |
804 | |
804 | |
805 | $table->add_at (0, $row, new CFPlus::UI::Label valign => 0, align => 1, text => "Map Smoothing"); |
805 | $table->add_at (0, $row, new CFPlus::UI::Label valign => 0, align => 1, text => "Map Smoothing"); |
806 | $table->add_at (1, $row++, new CFPlus::UI::CheckBox |
806 | $table->add_at (1, $row++, new CFPlus::UI::CheckBox |
807 | state => $CFG->{map_smoothing}, |
807 | state => $CFG->{map_smoothing}, |
808 | tooltip => "<b>Map Smoothing</b> tries to make tile borders less square. " |
808 | tooltip => "<b>Map Smoothing</b> tries to make tile borders less square. " |
809 | . "This increases load on the graphics subsystem and works only with 2.x servers. " |
809 | . "This increases load on the graphics subsystem and works only with TRT servers. " |
810 | . "Changes take effect at next connection only.", |
810 | . "Changes take effect at next connection only.", |
811 | on_changed => sub { my ($self, $value) = @_; $CFG->{map_smoothing} = $value; 0 } |
811 | on_changed => sub { my ($self, $value) = @_; $CFG->{map_smoothing} = $value; 0 } |
812 | ); |
812 | ); |
813 | |
813 | |
814 | $table->add_at (0, $row, new CFPlus::UI::Label valign => 0, align => 1, text => "Fog of War"); |
814 | $table->add_at (0, $row, new CFPlus::UI::Label valign => 0, align => 1, text => "Fog of War"); |