--- deliantra/Deliantra-Client/DC/Protocol.pm 2007/04/06 19:17:25 1.98 +++ deliantra/Deliantra-Client/DC/Protocol.pm 2007/04/10 09:39:48 1.99 @@ -19,7 +19,12 @@ sub new { my $class = shift; - my $self = $class->SUPER::new (@_, setup_req => { extmap => 1 }); + my $self = $class->SUPER::new (@_, + setup_req => { + extmap => 1, + smoothing => 1, + }, + ); $self->{map_widget}->clr_commands; @@ -587,6 +592,12 @@ $self->set_texture ($face->{id} => delete $face->{image}); } +sub smooth_update { + my ($self, $facenum, $face) = @_; + + $self->{map}->set_smooth ($facenum, $face->{smoothface}, $face->{smoothlevel}); +} + sub set_texture { my ($self, $id, $data) = @_;