ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/Deliantra-Client/DC/MapWidget.pm
(Generate patch)

Comparing deliantra/Deliantra-Client/DC/MapWidget.pm (file contents):
Revision 1.117 by root, Fri Aug 10 04:02:13 2007 UTC vs.
Revision 1.118 by elmex, Tue Aug 14 13:25:25 2007 UTC

339 ::toggle_player_page ($::SPELL_PAGE); 339 ::toggle_player_page ($::SPELL_PAGE);
340 } elsif ($sym == CFPlus::SDLK_F5 && !$mod) { 340 } elsif ($sym == CFPlus::SDLK_F5 && !$mod) {
341 ::toggle_player_page ($::INVENTORY_PAGE); 341 ::toggle_player_page ($::INVENTORY_PAGE);
342 } elsif ($sym == CFPlus::SDLK_F9 && !$mod) { 342 } elsif ($sym == CFPlus::SDLK_F9 && !$mod) {
343 $::SETUP_DIALOG->toggle_visibility; 343 $::SETUP_DIALOG->toggle_visibility;
344 } elsif ($uni >= ord "0" && $uni <= ord "9" && $mod & CFPlus::KMOD_ALT) {
345 $::MESSAGE_WINDOW->user_switch_to_page (chr $uni);
344 } elsif (!$::CONN) { 346 } elsif (!$::CONN) {
345 return 0; # bindings further down need a valid connection 347 return 0; # bindings further down need a valid connection
346 348
347 } elsif ($uni == ord ",") { 349 } elsif ($uni == ord ",") {
348 $::CONN->user_send ("take"); 350 $::CONN->user_send ("take");
349 } elsif ($uni == ord " ") { 351 } elsif ($uni == ord " ") {
350 $::CONN->user_send ("apply"); 352 $::CONN->user_send ("apply");
351 } elsif ($uni == 13) { 353 } elsif ($uni == 13) {
352 $::CONN->user_send ("examine"); 354 $::MESSAGE_WINDOW->activate_current;
353 } elsif ($uni == ord ".") { 355 } elsif ($uni == ord ".") {
354 $::CONN->user_send ($self->{completer}{last_command}) 356 $::CONN->user_send ($self->{completer}{last_command})
355 if exists $self->{completer}{last_command}; 357 if exists $self->{completer}{last_command};
356 } elsif (my @macros = CFPlus::Macro::match_event $ev) { 358 } elsif (my @macros = CFPlus::Macro::match_event $ev) {
357 $::CONN->macro_send ($_) for @macros; 359 $::CONN->macro_send ($_) for @macros;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines