--- deliantra/server/include/map.h 2007/02/07 23:50:01 1.66 +++ deliantra/server/include/map.h 2007/02/17 23:32:11 1.69 @@ -186,6 +186,7 @@ static region *default_region (); static region *find (const char *name); static region *find_fuzzy (const char *name); + static region *read (object_thawer &f); }; typedef object_vector regionvec; @@ -356,9 +357,10 @@ void make_map_floor (char **layout, char *floorstyle, random_map_params *RP); bool generate_random_map (random_map_params *RP); - static maptile *find_sync (const char *path, maptile *original = 0);//PERL - // async prefetch static maptile *find_async (const char *path, maptile *original = 0);//PERL + static maptile *find_sync (const char *path, maptile *original = 0);//PERL + static maptile *find_style_sync (const char *dir, const char *file = 0);//PERL + MTH object *pick_random_object () const; mapspace const &at (uint32 x, uint32 y) const { return spaces [x * height + y]; } mapspace &at (uint32 x, uint32 y) { return spaces [x * height + y]; }