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

Comparing deliantra/Deliantra-Client/DC/Protocol.pm (file contents):
Revision 1.88 by root, Sun Nov 19 20:31:29 2006 UTC vs.
Revision 1.89 by elmex, Mon Dec 4 15:17:14 2006 UTC

893 . "map attributes $yesno[$self->{setup}{extmap} > 0]\n" 893 . "map attributes $yesno[$self->{setup}{extmap} > 0]\n"
894 . "cfplus support $yesno[$self->{cfplus_ext} > 0]" 894 . "cfplus support $yesno[$self->{cfplus_ext} > 0]"
895 . ($self->{cfplus_ext} > 0 ? ", version $self->{cfplus_ext}" : "") ."\n" 895 . ($self->{cfplus_ext} > 0 ? ", version $self->{cfplus_ext}" : "") ."\n"
896 . "map size $self->{mapw}×$self->{maph}\n" 896 . "map size $self->{mapw}×$self->{maph}\n"
897 ); 897 );
898
899 ::setup_build_button ($self->{editor_support}->{builder_ui});
898} 900}
899 901
900sub logged_in { 902sub logged_in {
901 my ($self) = @_; 903 my ($self) = @_;
902 904
919 $self->update_server_info; 921 $self->update_server_info;
920 922
921 $self->send_command ("output-sync $::CFG->{output_sync}"); 923 $self->send_command ("output-sync $::CFG->{output_sync}");
922 $self->send_command ("output-count $::CFG->{output_count}"); 924 $self->send_command ("output-count $::CFG->{output_count}");
923 $self->send_command ("pickup $::CFG->{pickup}"); 925 $self->send_command ("pickup $::CFG->{pickup}");
926}
927
928sub buildat {
929 my ($self, $builditem, $x, $y) = @_;
930
931 if ($self->{cfplus_ext}) {
932 $self->send_ext_msg (builder_build => dx => $x, dy => $y, (ref ($builditem) eq 'HASH') ? %$builditem : (item => $builditem));
933 }
924} 934}
925 935
926sub lookat { 936sub lookat {
927 my ($self, $x, $y) = @_; 937 my ($self, $x, $y) = @_;
928 938

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines