… | |
… | |
298 | shstr ACC (RW, msg); /* Message map creator may have left */ |
298 | shstr ACC (RW, msg); /* Message map creator may have left */ |
299 | shstr ACC (RW, maplore); /* Map lore information */ |
299 | shstr ACC (RW, maplore); /* Map lore information */ |
300 | shstr ACC (RW, tile_path[4]); /* path to adjoining maps */ |
300 | shstr ACC (RW, tile_path[4]); /* path to adjoining maps */ |
301 | maptile *ACC (RW, tile_map[4]); /* Next map, linked list */ |
301 | maptile *ACC (RW, tile_map[4]); /* Next map, linked list */ |
302 | shstr ACC (RW, path); /* Filename of the map */ |
302 | shstr ACC (RW, path); /* Filename of the map */ |
303 | int ACC (RW, max_nrof); // maximum nrof of any single item on a mapspace |
|
|
304 | uint64 ACC (RW, max_volume); // maximum volume for all items on a mapspace |
303 | uint64 ACC (RW, max_volume); // maximum volume for all items on a mapspace |
305 | int ACC (RW, max_items); // maximum number of items on a mapspace |
304 | int ACC (RW, max_items); // maximum number of items on a mapspace |
306 | |
305 | |
307 | //-GPL |
306 | //-GPL |
308 | |
307 | |
… | |
… | |
320 | // allocates all (empty) mapspace |
319 | // allocates all (empty) mapspace |
321 | MTH void alloc (); |
320 | MTH void alloc (); |
322 | // deallocates the mapspaces (and destroys all objects) |
321 | // deallocates the mapspaces (and destroys all objects) |
323 | MTH void clear (); |
322 | MTH void clear (); |
324 | |
323 | |
|
|
324 | MTH void post_load (); // update cached values in mapspaces etc. |
325 | MTH void fix_auto_apply (); |
325 | MTH void fix_auto_apply (); |
326 | MTH void do_decay_objects (); |
326 | MTH void do_decay_objects (); |
327 | MTH void update_buttons (); |
327 | MTH void update_buttons (); |
328 | MTH int change_map_light (int change); |
328 | MTH int change_map_light (int change); |
329 | MTH int estimate_difficulty () const; |
329 | MTH int estimate_difficulty () const; |