ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/include/map.h
(Generate patch)

Comparing deliantra/server/include/map.h (file contents):
Revision 1.66 by root, Wed Feb 7 23:50:01 2007 UTC vs.
Revision 1.69 by root, Sat Feb 17 23:32:11 2007 UTC

184 * this should be the one we fall back on as the default */ 184 * this should be the one we fall back on as the default */
185 185
186 static region *default_region (); 186 static region *default_region ();
187 static region *find (const char *name); 187 static region *find (const char *name);
188 static region *find_fuzzy (const char *name); 188 static region *find_fuzzy (const char *name);
189 static region *read (object_thawer &f);
189}; 190};
190 191
191typedef object_vector<region, &region::index> regionvec; 192typedef object_vector<region, &region::index> regionvec;
192 193
193extern regionvec regions; 194extern regionvec regions;
354 } 355 }
355 356
356 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);
357 bool generate_random_map (random_map_params *RP); 358 bool generate_random_map (random_map_params *RP);
358 359
360 static maptile *find_async (const char *path, maptile *original = 0);//PERL
359 static maptile *find_sync (const char *path, maptile *original = 0);//PERL 361 static maptile *find_sync (const char *path, maptile *original = 0);//PERL
360 // async prefetch 362 static maptile *find_style_sync (const char *dir, const char *file = 0);//PERL
361 static maptile *find_async (const char *path, maptile *original = 0);//PERL 363 MTH object *pick_random_object () const;
362 364
363 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]; }
364 mapspace &at (uint32 x, uint32 y) { return spaces [x * height + y]; } 366 mapspace &at (uint32 x, uint32 y) { return spaces [x * height + y]; }
365}; 367};
366 368

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines