ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/lib/cf.pm
(Generate patch)

Comparing deliantra/server/lib/cf.pm (file contents):
Revision 1.21 by root, Sun Jul 16 17:51:40 2006 UTC vs.
Revision 1.22 by root, Wed Jul 19 08:50:42 2006 UTC

347 for grep %$_, $ob, $ob->inv; 347 for grep %$_, $ob, $ob->inv;
348 348
349 unlink "$path.cfperl";#d##TODO#remove 349 unlink "$path.cfperl";#d##TODO#remove
350}; 350};
351 351
352#############################################################################
353# core extensions - in perl
354
355# rough implementation of a future "reply" method that works
356# with dialog boxes.
357sub cf::object::player::reply($$;$) {
358 my ($self, $msg, $flags) = @_;
359
360 $flags = cf::NDI_WHITE unless @_ >= 3;
361
362 $self->message ($msg, $flags);
363}
364
365#############################################################################
366# initialisation
367
352register "<global>", __PACKAGE__; 368register "<global>", __PACKAGE__;
353 369
354unshift @INC, maps_directory "perl"; 370unshift @INC, maps_directory "perl";
355 371
356load_extensions; 372load_extensions;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines