… | |
… | |
270 | MTH void clear_header (); |
270 | MTH void clear_header (); |
271 | MTH void clear_links_to (maptile *m); |
271 | MTH void clear_links_to (maptile *m); |
272 | |
272 | |
273 | MTH struct region *region (int x, int y) const; |
273 | MTH struct region *region (int x, int y) const; |
274 | |
274 | |
275 | // loas the header pseudo-object |
275 | // load the header pseudo-object |
276 | bool _load_header (object_thawer &thawer); |
276 | bool _load_header (object_thawer &thawer); |
277 | MTH bool _load_header (const char *path); |
277 | MTH bool _load_header (object_thawer *thawer) { return _load_header (*thawer); } |
278 | |
278 | |
279 | // load objects into the map |
279 | // load objects into the map |
280 | bool _load_objects (object_thawer &thawer); |
280 | bool _load_objects (object_thawer &thawer); |
281 | MTH bool _load_objects (const char *path, bool skip_header = true); |
281 | MTH bool _load_objects (object_thawer *thawer) { return _load_objects (*thawer); } |
282 | |
282 | |
283 | // save objects into the given file (uses IO_ flags) |
283 | // save objects into the given file (uses IO_ flags) |
284 | bool _save_objects (object_freezer &freezer, int flags); |
284 | bool _save_objects (object_freezer &freezer, int flags); |
285 | MTH bool _save_objects (const char *path, int flags); |
285 | MTH bool _save_objects (const char *path, int flags); |
286 | |
286 | |