--- deliantra/Deliantra-Client/DC/Protocol.pm 2006/08/13 15:14:17 1.73 +++ deliantra/Deliantra-Client/DC/Protocol.pm 2006/08/14 14:35:31 1.78 @@ -35,7 +35,8 @@ map ["$cmd$_", $text], sort { (length $a) <=> (length $b) } @args - } CFPlus::Pod::find command_help => "*"; + } sort { $a->{par} <=> $b->{par} } + CFPlus::Pod::find command => "*"; $self->{map_widget}->add_command (@$_) for @cmd_help; @@ -58,6 +59,7 @@ sub logprint { my ($self, @a) = @_; + return; $self->{log_fh} ||= do { my $path = "$Crossfire::VARDIR/log.$self->{host}"; @@ -260,7 +262,6 @@ my @TOOLTIP_LVL = (tooltip => "Level. The level of the skill.$TOOLTIP_ALL", can_events => 1, can_hover => 1); my @TOOLTIP_EXP = (tooltip => "Experience. The experience points you have in this skill.$TOOLTIP_ALL", can_events => 1, can_hover => 1); - my @TOOLTIP_NAME = (tooltip => "Name. The name of the skill.$TOOLTIP_ALL", can_events => 1, can_hover => 1); my ($x, $y) = (0, 1); for ( @@ -296,7 +297,8 @@ text => "0", align => 1, font => $::FONT_FIXED, fg => [1, 1, 0], on_button_down => $spell_cb, @TOOLTIP_EXP); $sktbl->add ($x * 3 + 1, $y, $self->{stat_widget_lvl}{$idx} = new CFPlus::UI::Label text => "0", align => 1, font => $::FONT_FIXED, fg => [0, 1, 0], padding_x => 4, on_button_down => $spell_cb, @TOOLTIP_LVL); - $sktbl->add ($x * 3 + 2, $y, new CFPlus::UI::Label text => $name, on_button_down => $spell_cb, @TOOLTIP_NAME); + $sktbl->add ($x * 3 + 2, $y, new CFPlus::UI::Label text => $name, on_button_down => $spell_cb, + can_events => 1, can_hover => 1, tooltip => (CFPlus::Pod::section_label skill_description => $name) . $TOOLTIP_ALL); $x++ and ($x, $y) = (0, $y + 1); } @@ -931,7 +933,7 @@ package CFPlus::NPCDialog; -our @ISA = 'CFPlus::UI::FancyFrame'; +our @ISA = 'CFPlus::UI::Toplevel'; sub new { my $class = shift; @@ -1045,7 +1047,7 @@ $self->send ($kw); }; - chr 0xfffc + "\x{fffc}" }giex; $self->{textview}->add_paragraph ({ markup => $text, widget => \@link });