… | |
… | |
355 | } |
355 | } |
356 | |
356 | |
357 | void make_map_floor (char **layout, char *floorstyle, random_map_params *RP); |
357 | void make_map_floor (char **layout, char *floorstyle, random_map_params *RP); |
358 | bool generate_random_map (random_map_params *RP); |
358 | bool generate_random_map (random_map_params *RP); |
359 | |
359 | |
|
|
360 | static maptile *find_async (const char *path, maptile *original = 0);//PERL |
360 | static maptile *find_sync (const char *path, maptile *original = 0);//PERL |
361 | static maptile *find_sync (const char *path, maptile *original = 0);//PERL |
361 | // async prefetch |
362 | static maptile *find_style_sync (const char *dir, const char *file = 0);//PERL |
362 | static maptile *find_async (const char *path, maptile *original = 0);//PERL |
363 | MTH object *pick_random_object () const; |
363 | |
364 | |
364 | mapspace const &at (uint32 x, uint32 y) const { return spaces [x * height + y]; } |
365 | mapspace const &at (uint32 x, uint32 y) const { return spaces [x * height + y]; } |
365 | mapspace &at (uint32 x, uint32 y) { return spaces [x * height + y]; } |
366 | mapspace &at (uint32 x, uint32 y) { return spaces [x * height + y]; } |
366 | }; |
367 | }; |
367 | |
368 | |