… | |
… | |
204 | update (); |
204 | update (); |
205 | return items_; |
205 | return items_; |
206 | } |
206 | } |
207 | |
207 | |
208 | // return the item volume on this mapspace in cm³ |
208 | // return the item volume on this mapspace in cm³ |
209 | MTH uint64 volume () |
209 | MTH volume_t volume () |
210 | { |
210 | { |
211 | update (); |
211 | update (); |
212 | return volume_ * 1024; |
212 | return volume_ * 1024; |
213 | } |
213 | } |
214 | |
214 | |
… | |
… | |
320 | shstr ACC (RW, msg); /* Message map creator may have left */ |
320 | shstr ACC (RW, msg); /* Message map creator may have left */ |
321 | shstr ACC (RW, maplore); /* Map lore information */ |
321 | shstr ACC (RW, maplore); /* Map lore information */ |
322 | shstr ACC (RW, tile_path[TILE_NUM]); /* path to adjoining maps */ |
322 | shstr ACC (RW, tile_path[TILE_NUM]); /* path to adjoining maps */ |
323 | maptile *ACC (RW, tile_map[TILE_NUM]); /* Next map, linked list */ |
323 | maptile *ACC (RW, tile_map[TILE_NUM]); /* Next map, linked list */ |
324 | shstr ACC (RW, path); /* Filename of the map */ |
324 | shstr ACC (RW, path); /* Filename of the map */ |
325 | uint64 ACC (RW, max_volume); // maximum volume for all items on a mapspace |
325 | volume_t ACC (RW, max_volume); // maximum volume for all items on a mapspace |
326 | int ACC (RW, max_items); // maximum number of items on a mapspace |
326 | int ACC (RW, max_items); // maximum number of items on a mapspace |
327 | |
327 | |
328 | //-GPL |
328 | //-GPL |
329 | |
329 | |
330 | physics_queue pq[PHYSICS_QUEUES]; |
330 | physics_queue pq[PHYSICS_QUEUES]; |