--- deliantra/server/include/map.h 2007/02/07 02:04:46 1.65 +++ deliantra/server/include/map.h 2007/02/15 21:07:49 1.67 @@ -156,8 +156,8 @@ return 0; } - // return the item volume on this mapspace in kg/m³ - uint64 volume (); + // return the item volume on this mapspace in cm³ + uint64 volume () const; }; /* @@ -186,6 +186,7 @@ static region *default_region (); static region *find (const char *name); static region *find_fuzzy (const char *name); + static region *load (object_thawer &f); }; typedef object_vector regionvec; @@ -277,6 +278,8 @@ shstr ACC (RW, tile_path[4]); /* path to adjoining maps */ maptile *ACC (RW, tile_map[4]); /* Next map, linked list */ shstr ACC (RW, path); /* Filename of the map */ + int ACC (RW, max_nrof); // maximum nrof of any single item on a mapspace + uint64 ACC (RW, max_volume); // maximum volume for all items on a mapspace MTH void activate (); MTH void deactivate ();