ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/ext/map-scheduler.ext
(Generate patch)

Comparing deliantra/server/ext/map-scheduler.ext (file contents):
Revision 1.27 by root, Fri Jan 26 20:59:57 2007 UTC vs.
Revision 1.28 by root, Mon Jan 29 17:57:22 2007 UTC

20 my $files = Coro::AIO::aio_readdir cf::localdir . "/" . cf::tmpdir; 20 my $files = Coro::AIO::aio_readdir cf::localdir . "/" . cf::tmpdir;
21 21
22 for my $map (@$files) { 22 for my $map (@$files) {
23 utf8::decode $map; 23 utf8::decode $map;
24 next if $map =~ /\.(?:pst|meta)$/; 24 next if $map =~ /\.(?:pst|meta)$/;
25 $map =~ s/∕/\//g;
26 $map =~ s/\.map$//;
27 cf::map::find $map; 25 cf::map::find $map;
28 $cf::WAIT_FOR_TICK_ONE->wait; 26 $cf::WAIT_FOR_TICK_ONE->wait;
29 } 27 }
30 28
31 #TODO: should also preload random maps... 29 #TODO: should also preload random maps...

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines