… | |
… | |
350 | do_load (); |
350 | do_load (); |
351 | |
351 | |
352 | return spaces; |
352 | return spaces; |
353 | } |
353 | } |
354 | |
354 | |
355 | static void emergency_save (); |
355 | static void emergency_save ();//PERL |
356 | |
356 | |
357 | mapspace const &at (uint32 x, uint32 y) const { return spaces [x * height + y]; } |
357 | mapspace const &at (uint32 x, uint32 y) const { return spaces [x * height + y]; } |
358 | mapspace &at (uint32 x, uint32 y) { return spaces [x * height + y]; } |
358 | mapspace &at (uint32 x, uint32 y) { return spaces [x * height + y]; } |
359 | |
359 | |
360 | private: |
360 | private: |