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

Comparing deliantra/server/ext/item-worldmap.ext (file contents):
Revision 1.17 by root, Mon Oct 1 00:55:50 2007 UTC vs.
Revision 1.18 by root, Wed Nov 14 08:09:46 2007 UTC

106 }, 106 },
107; 107;
108 108
109cf::async_ext { 109cf::async_ext {
110 $Coro::current->{desc} = "worldmap updater"; 110 $Coro::current->{desc} = "worldmap updater";
111 my $schedule_interval = Coro::Event->timer (after => 1, data => cf::WF_AUTOCANCEL);
112 111
113 while () { 112 while () {
114 $schedule_interval->interval ($WORLDMAP_UPDATE_INTERVAL); 113 Coro::EV::timer_once $WORLDMAP_UPDATE_INTERVAL;
115 $schedule_interval->next;
116 114
117 cf::get_slot 0.01, -50, "worldmap update"; 115 cf::get_slot 0.01, -50, "worldmap update";
118 116
119 ++$GENCOUNT; 117 ++$GENCOUNT;
120 118

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines