… | |
… | |
344 | if (!spaces) |
344 | if (!spaces) |
345 | do_load_sync (); |
345 | do_load_sync (); |
346 | } |
346 | } |
347 | |
347 | |
348 | static maptile *find_sync (const char *path, maptile *original = 0);//PERL |
348 | static maptile *find_sync (const char *path, maptile *original = 0);//PERL |
349 | static void emergency_save ();//PERL |
|
|
350 | |
349 | |
351 | mapspace const &at (uint32 x, uint32 y) const { return spaces [x * height + y]; } |
350 | mapspace const &at (uint32 x, uint32 y) const { return spaces [x * height + y]; } |
352 | mapspace &at (uint32 x, uint32 y) { return spaces [x * height + y]; } |
351 | mapspace &at (uint32 x, uint32 y) { return spaces [x * height + y]; } |
353 | }; |
352 | }; |
354 | |
353 | |