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

Comparing deliantra/server/include/map.h (file contents):
Revision 1.64 by root, Thu Feb 1 19:15:39 2007 UTC vs.
Revision 1.66 by root, Wed Feb 7 23:50:01 2007 UTC

153 if (op->type == PLAYER) 153 if (op->type == PLAYER)
154 return op; 154 return op;
155 155
156 return 0; 156 return 0;
157 } 157 }
158
159 // return the item volume on this mapspace in cm³
160 uint64 volume () const;
158}; 161};
159 162
160/* 163/*
161 * Each map is in a given region of the game world and links to a region definiton, so 164 * Each map is in a given region of the game world and links to a region definiton, so
162 * they have to appear here in the headers, before the mapdef 165 * they have to appear here in the headers, before the mapdef
272 shstr ACC (RW, msg); /* Message map creator may have left */ 275 shstr ACC (RW, msg); /* Message map creator may have left */
273 shstr ACC (RW, maplore); /* Map lore information */ 276 shstr ACC (RW, maplore); /* Map lore information */
274 shstr ACC (RW, tile_path[4]); /* path to adjoining maps */ 277 shstr ACC (RW, tile_path[4]); /* path to adjoining maps */
275 maptile *ACC (RW, tile_map[4]); /* Next map, linked list */ 278 maptile *ACC (RW, tile_map[4]); /* Next map, linked list */
276 shstr ACC (RW, path); /* Filename of the map */ 279 shstr ACC (RW, path); /* Filename of the map */
280 int ACC (RW, max_nrof); // maximum nrof of any single item on a mapspace
281 uint64 ACC (RW, max_volume); // maximum volume for all items on a mapspace
277 282
278 MTH void activate (); 283 MTH void activate ();
279 MTH void deactivate (); 284 MTH void deactivate ();
280 285
281 // allocates all (empty) mapspace 286 // allocates all (empty) mapspace

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines