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.67 by root, Thu Feb 15 21:07:49 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 *load (object_thawer &f); 189 static region *read (object_thawer &f);
190}; 190};
191 191
192typedef object_vector<region, &region::index> regionvec; 192typedef object_vector<region, &region::index> regionvec;
193 193
194extern regionvec regions; 194extern regionvec regions;
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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines