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.38 by root, Wed Dec 27 09:28:01 2006 UTC vs.
Revision 1.39 by root, Wed Dec 27 13:13:47 2006 UTC

293 MTH void allocate (); 293 MTH void allocate ();
294 MTH int size () const { return width * height; } 294 MTH int size () const { return width * height; }
295 295
296 MTH object *insert (object *op, int x, int y, object *originator = 0, int flags = 0); 296 MTH object *insert (object *op, int x, int y, object *originator = 0, int flags = 0);
297 297
298 MTH void link ();
299 MTH void unlink ();
300
298 mapspace const &at (uint32 x, uint32 y) const { return spaces [x * height + y]; } 301 mapspace const &at (uint32 x, uint32 y) const { return spaces [x * height + y]; }
299 mapspace &at (uint32 x, uint32 y) { return spaces [x * height + y]; } 302 mapspace &at (uint32 x, uint32 y) { return spaces [x * height + y]; }
300}; 303};
301 304
302#define for_all_maps(var) for (maptile *var = first_map; var; var = var->next) 305#define for_all_maps(var) for (maptile *var = first_map; var; var = var->next)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines