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

Comparing deliantra/server/ext/map-link.ext (file contents):
Revision 1.12 by root, Wed May 4 07:36:40 2011 UTC vs.
Revision 1.14 by root, Fri Jan 11 15:08:03 2013 UTC

1#! perl # mandatory 1#! perl # mandatory
2 2
3# this is the map type for the {link} map, a singleton 3# this is the map type for the {link} map, a singleton
4# this is the only map in the server that is guaranteed to exit 4# this is the only map in the server that is guaranteed to exist
5# at all times without blocking, and this is ensured by not relying 5# at all times without blocking, and this is ensured by not relying
6# on any external files. 6# on any external files.
7 7
8cf::map->register (qr{^\{link\}}); 8cf::map->register (qr{^\{link\}});
9 9
19 $self->no_reset (1); 19 $self->no_reset (1);
20 20
21 $self->name ("interdimensional nothingness"); 21 $self->name ("interdimensional nothingness");
22 22
23 $self->alloc; 23 $self->alloc;
24 $self->in_memory (cf::MAP_INACTIVE); 24 $self->state (cf::MAP_INACTIVE);
25 25
26 # provide a floor 26 # provide a floor
27 my $floor = cf::object::new "dirtfloor"; 27 my $floor = cf::object::new "dirtfloor";
28 Guard::scope_guard { $floor->destroy }; 28 Guard::scope_guard { $floor->destroy };
29 29

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines